Ad Widget

Collapse

online or offline

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alpha777
    Junior Member
    • Sep 2007
    • 11

    #1

    online or offline

    Does anyone know which tables in the database contain the information on the devices. Particularly whether the device is online or offline?
    I am customizing a page and need to write a sql statement that can look at whether a device is up or down.
    Any takers!?
    Thanks again.
  • alpha777
    Junior Member
    • Sep 2007
    • 11

    #2
    found it.

    Thanks

    Comment

    • michaelsnijder
      Junior Member
      • Aug 2007
      • 9

      #3
      It would be nice if you posted the solution, the forum is a kinda knowledge database.

      Comment

      • alpha777
        Junior Member
        • Sep 2007
        • 11

        #4
        The table mappings contains the values that indicate device status.
        This table in turn is linked to the hosts table (the status column)

        So select * from hosts where status = 0
        will indicate which devices are up
        .

        Comment

        • michaelsnijder
          Junior Member
          • Aug 2007
          • 9

          #5
          Awesome thanks!

          Comment

          Working...