[mrtg] Re: Script issues...

Dan Tappin dan.tappin at orourke-eng.com
Tue Nov 23 22:48:11 MET 2004

Ok... given that obvious error here is another example:

server:~/bin root# ./uptime.pl

A simple script that spits out an uptime in days.

and my cfg file:

Target[uptime]: `/var/root/bin/uptime.pl`
RouterUptime[uptime]: public at localhost
MaxBytes[uptime]: 1
Title[uptime]: Uptime
PageTop[uptime]: <H1>Uptime</H1>
Unscaled[uptime]: ymwd
ShortLegend[uptime]: Days
YLegend[uptime]: Uptime (Days)
Options[uptime]: growright,gauge,nolegend,nobanner,nopercent

Again flat line 0's

Adding the 'gauge' to the other example worked but this one still does 
not work.  I have even tried deleting my log files and starting from 

Dan T

On Nov 23, 2004, at 2:23 PM, Dan Tappin wrote:

> Yes.. it was something that obvious.
> Thanks for the tip.
> Dan T
>> Options[smb]: gauge
>> otherwise you'll be graphing the difference in successive readings.
>> Steve

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