[rrd-users] Re: Monitoring System Load (graphing it)
Alex van den Bogaerdt
alex at ergens.op.het.net
Fri Dec 5 11:28:52 MET 2003
On Fri, Dec 05, 2003 at 10:21:44AM -0000, David Jenkins wrote:
> I have also read "man rrdtutorial" a couple of times but I do obviously
> not understand something fundamental.
> /usr/local/bin/rrdtool create /home/dj/public_html/rrdtool/loadavg.rrd \
> DS:1min:COUNTER:600:U:U \
Counter. You expect something that increases over time and you expect
(current_counter-previous_counter)/(current_time-previous_time) to return
some number.
> $min1 = `/usr/local/bin/snmpget -Ov $ip_address public laLoad.1`;
> #$min5 = `/usr/local/bin/snmpget -Ov $ip_address public laLoad.2`;
> #$min15 = `/usr/local/bin/snmpget -Ov $ip_address public laLoad.3`;
This usually produces a GAUGE. (current_value - previous_value) is
near to zero and can even be negative. Dividing it by (current_time
- previous_time) makes no sense.
I guess this is the part, indeed a fundamental part, you didn't grasp.
I suggest you focus on the differences between COUNTER, DERIVE, ABSOLUTE
and GAUGE before you continue.
HTH
Alex
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list