Template:FAQ:Agent 44

From Net-SNMP Wiki
Revision as of 10:36, 23 October 2006 by Dts12 (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Oh no it's not. The defined meaning of 'sysUpTime' is

       "the time ... since the network management
        portion of the system was re-initialized."

In other words, when the snmp agent was started, not when the system itself last booted. This latter information is available in the Host Resources MIB as "host.hrSystem.hrSystemUpTime" Note that even if the full Host Resources is not supported on your system, it's worth configuring in the system portion using

               '--with-mib-modules=host/hr_system'

and recompiling. This particular group is reasonably likely to work, even if some of the other more system-specific groups don't.