Uploaded image for project: 'Observium'
  1. Observium
  2. OBS-2464

r8892 Appears to Break Uptime Monitoring on Linux Systems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • Professional Edition
    • Poller
    • None
    • SLES 11/12 and RHEL 7

    Description

      Hi,

      r8892 breaks uptime monitoring on Linux servers, as far as we can see. I've just updated to 8893 and received a device rebooted alert for 30+ servers, and for those servers, the reported uptime is wrong. Seems to be newer distros only. Old CentOS boxes aren't affected, but new RHEL and SLES ones are.

      SVN log shows:
      r8892 | mike | 2017-10-12 14:11:41 +0100 (Thu, 12 Oct 2017) | 2 lines

      [MINOR] Prioritizing snmpEngineTime over hrSystemUptime and sysUptime. Clean old geolocation parts.

      This seems to be the wrong thing to do for Linux systems, because only hrSystemUptime seems to report the correct system uptime, as reported by the "uptime" command.

      For example, we've a server that has been up for 15 days, 22 hours.
      $ uptime
      14:43pm up 15 days 22:39, 1 user, load average: 0.02, 0.05, 0.01

      Observium's device page now reports it as Uptime 3h 50m 35s

      snmpwalk shows this:
      DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1300251) 3:36:42.51
      SNMP-FRAMEWORK-MIB::snmpEngineTime.0 = INTEGER: 13357 seconds
      HOST-RESOURCES-MIB::hrSystemUptime.0 = Timeticks: (137807404) 15 days, 22:47:54.04

      Please can this priority be fixed.

      Thanks,

      Steven

      Attachments

        Activity

          People

            landy Mike Stupalov
            stevenr Steven Robson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: