[mrtg] RouterUptime values?

paul beard paulbeard at mac.com
Sun Feb 3 05:50:56 MET 2002

I can't seem to get this value to work: from what I can tell from 
my reading, the value I get (16 days and change) is the time the 
SNMP process has been running, not exactly what I want.

RouterUptime[_]: public at blue <- this gives me 16+ days

[/usr/local/etc/mrtg]:: snmpget -Ov blue public system.sysUpTime.0
Timeticks: (146038860) 16 days, 21:39:48.60

This line returns errors but it has the value I want to log.
#RouterUptime[_]: host.hrSystem.hrSystemUptime.0:public at blue

[/usr/local/etc/mrtg]:: snmpget -Ov blue public 
Timeticks: (495674594) 57 days, 8:52:25.94

SNMP Error:
no response received
SNMPv1_Session (remote host: "blue" [].161)
                   community: "host.hrSystem.hrSystemUptime.0:public"
                  request ID: 2079621682
                 PDU bufsize: 8000 bytes
                     timeout: 2s
                     retries: 5
                     backoff: 1)
  at /usr/local/lib/perl5/site_perl/5.005/SNMP_util.pm line 450
SNMPGET Problem for sysUptime sysName on 
host.hrSystem.hrSystemUptime.0:public at blue
  at /usr/local/bin/mrtg line 339

Is there a way to get the other value to be used instead?

Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

More information about the mrtg mailing list