Re: setting floor value for graphs

Steve Shipway <[email protected]>
Newsgroups gmane.network.mrtg.user
Message-ID <7294716191A1E142B80615ED2C633BCA57826C28@uxcn10-2.UoA.auckland.ac.nz>
If you are using MRTG/RRD with the routers2.cgi frontend, then you can use the directive

routers.cgi*LowerLimit[xxxx]: yyyy

to set the graph lower Y-axis range to yyyy for tearget xxxx.  You can also combine this with

routers.cgi*Options[xxxx]: rigid

which will prevent the axis from auto-extending, even if the value extends to less that the set lower limit. Similarly, there is an UpperLimit directive, and of course the MaxBytes value (upperlimit defaults to maxbytes if you have rigid, and to 0.1 if you do not)

Steve

Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
[email protected]<mailto:[email protected]>
Ph: +64 9 373 7599 ext 86487

________________________________
From: [email protected] [[email protected]] on behalf of Kevin Carmical [[email protected]]
Sent: Saturday, 26 January 2013 4:33 a.m.
To: [email protected]
Subject: [mrtg] setting floor value for graphs

Hello all.
I'm using mrtg to monitor our datacenter's temperature with some AVTech temp sensors.
The sensors return data as a four-digit integer, so I've used the Factor option to get the correct temp value for use in the graphs.
I would like to have the graphs show *only* values above 60F; I don't expect our datacenter to suddenly cool itself, so I'm really only interested in the high ends of the scale. Is there a way to have mrtg set a floor value on the graphs so as to raise the minimum from 0? I didn't see an obvious way to do this in the documentation. I'd really like for it to set the graphs to only display from 60F-90F.

Thanks!

K

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.