Pete Snmp <petes...@yahoo.com> writes:

> Any suggestions on how to compute the sysUpTime on Linux?
> I beleive this is Agent uptime than 'System'.

SNMPv2-MIB::sysUpTime is indeed the uptime of the agent:

  DESCRIPTION   "The time (in hundredths of a second) since the
            network management portion of the system was last
            re-initialized."

If you want the system uptime, then you want this one instead:

HOST-RESOURCES-MIB::hrSystemUptime
hrSystemUptime OBJECT-TYPE
  -- FROM       HOST-RESOURCES-MIB
  SYNTAX        TimeTicks
  MAX-ACCESS    read-only
  STATUS        current
  DESCRIPTION   "The amount of time since this host was last
        initialized.  Note that this is different from
        sysUpTime in the SNMPv2-MIB [RFC1907] because
        sysUpTime is the uptime of the network management
        portion of the system."

-- 
Wes Hardaker
SPARTA, Inc.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to