Hi All,
Using SNMP I poll a device which gives me a value (1 or 0). I put this value
in a rrd file. Is there a way to create an average percentage of that value?
Here is an example that may clear this up some.
RRD File contains the following data:
1
1
1
1
0
0
1
0
1
0
So now don't want to graph that I want to graph each corresponding point using
an average function so the corresponding values would be:
100
100
100
100
80
66.7
71.4
62.5
66.7
60
I get these values by regular average (calc 5th value: (1 + 1 + 1 + 1 + 0) / 5)
Is there a way to do this by using one DS saving the 1's and 0's and a CDEF to
get the percentage.
Thanks
Glenn MacGregor
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi