> 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to