[rrd-users] Max and Min logging.

Larry Low llow at telesphere.com
Wed Dec 31 20:14:31 CET 2008

> At 13:45 +0000 24/12/08, I wrote:
> >I'm just setting up logging for the new UPS at work, and looking at
> >teh SNMP MIB I see that it has entries for "The maximum utility line
> >voltage in 0.1 VAC for last 1 minute." and "The minimum utility line
> >voltage in 0.1 VAC for last 1 minute." as well as plain input
> >voltage. I'm not really interested in logging voltage in small
> >detail, but I would be interested in having max and min.
> >
> >So if I were collecting data once a minute, and only graphing at 5
> >minute resolution, is there an easy way to get the min and max values
> >into the RRD ?
> >
> >The only way I can think of is to set step to 1 (with suitably long
> >heartbeat), and do 3 (or 4 ?) updates in close succession. Ie, do
> >updates for t:act, t+1:min, and t+2:max (where act is current voltage
> >reported, and min/max are the "min/max over last minute" reported by
> >the UPS) to set the actual value for the last 58s, then the min and
> >max for 1s each.
> No ideas ?

Use two additional datasources.

> --
> Simon Hobson
> Visit http://www.magpiesnestpublishing.co.uk/ for books by acclaimed
> author Gladys Hobson. Novels - poetry - short stories - ideal as
> Christmas stocking fillers. Some available as e-books.
> _______________________________________________
> rrd-users mailing list
> rrd-users at lists.oetiker.ch
> https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

More information about the rrd-users mailing list