[mrtg] Uptime script

Jason Ross jross at shutdown.com
Thu Jan 18 22:04:00 MET 2001

I'm having some trouble graphing my uptime.  I'm using a perl script that
grabs the current uptime days.  The script returns just the number of days
of uptime.  Doing an snmpget on the OID returns the correct number.
However, mrtg graphs 'uptime - 1'.  Anybody seen this before?  Here's a
copy of my config (minus IP addresses).

Thanks in advance for any help


Target[xxx.xxx.xxx.xxx_uptime]:. at xxx.xxx.xxx.xxx
Suppress[xxx.xxx.xxx.xxx_uptime]: d
Title[xxx.xxx.xxx.xxx_uptime]: Uptime -- 
PageTop[xxx.xxx.xxx.xxx_uptime]: <h1>Uptime</h1>
MaxBytes[xxx.xxx.xxx.xxx_uptime]: 1000000
YLegend[xxx.xxx.xxx.xxx_uptime]: days
ShortLegend[xxx.xxx.xxx.xxx_uptime]: days
LegendI[xxx.xxx.xxx.xxx_uptime]: &nbsp;Uptime:
Legend1[xxx.xxx.xxx.xxx_uptime]: Uptime, in days

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