[mrtg] Config file help

Steve Shipway s.shipway at auckland.ac.nz
Tue Jan 20 03:13:13 CET 2009


> Output from my external script
> 553
> 0
> 0
> Back-UPS XS 1300

What do these values represent?

> Legend1[XS-1300_Onbatt]: Seconds
> Legend2[XS-1300_Onbatt]:

So, is this a count of the total time spent on battery (ever)?  You want to
see a graph with a constantly increasing line?  In this case, you need to
add the option 'gauge'.

If these numbers represent the autonomy time (IE, how many seconds the UPS
can continue to run on battery) then you'll need 'gauge' as well.

In the absence of the 'gauge' option, MRTG will graph the rate of change of
this value (this is the default behaviour as this is what you'd need if the
counter were a count of total network traffic and you wanted a bandwidth
utilisation graph).  Hence you get zeros as the value does not change.

Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3133 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20090120/b2d55dbe/attachment.bin 


More information about the mrtg mailing list