[rrd-users] weird big spike
Neil
neil-on-rrd at restricted.dyndns.org
Mon Mar 22 19:30:33 MET 2004
Hey guys,
I'm wondering why I am get a huge spike greater than 100 while my machine
doesn't really have load. I am doing a check on my cpu(load1, load5 and
load15). This check returns a value in percent. I "rrdtool fetch" and look
at the data but I didn't see any number greater than 100. I have also
attached the image so you can check. I have also added the commands I used
for the database and graph generation.
# command I used to create the cpuload
rrdtool create cpuload_on_dbsn202.rrd -s 60 \
DS:load1:GAUGE:600:0:U \
DS:load5:GAUGE:600:0:U \
DS:load15:GAUGE:600:0:U \
RRA:AVERAGE:0.5:1:483840 \
RRA:MIN:0.5:1440:1 \
RRA:MAX:0.5:1440:1 \
RRA:MIN:0.5:10080:1 \
RRA:MAX:0.5:10080:1 \
RRA:MIN:0.5:40320:1 \
RRA:MAX:0.5:40320:1 \
RRA:MIN:0.5:483840:1 \
RRA:MAX:0.5:483840:1
# command I use to update the rrd database
/usr/local/bin/rrdtool update /usr/local/nagios/rrd/cpuload_on_dbsn202.rrd
1079976987:2:1:1
#command I use to generate the image
/usr/local/bin/rrdtool graph cpuload.png -s $NOW-86400 -e $NOW -a PNG \
-t "CPU load for dbsn202" -w 495 -h 160 \
-l 0 -u 100 -r --units-exponent 0 \
COMMENT:"CPU Utilization (%)\n" \
DEF:load1var=cpuload_on_dbsn202.rrd:load1:AVERAGE
LINE1:load1var#990099:"1 minute" COMMENT:"\n" \
DEF:load5var=cpuload_on_dbsn202.rrd:load5:AVERAGE
STACK:load5var#cc33ff:"5 minutes" COMMENT:"\n" \
DEF:load15var1=cpuload_on_dbsn202.rrd:load15:AVERAGE
AREA:load15var1#00AAFF:"15 minutes" COMMENT:"\n" \
DEF:load15var=cpuload_on_dbsn202.rrdload15:AVERAGE
LINE1:load15var#000000:""
COMMENT:"\n" \
COMMENT:"$NOW\n"
Is there something wrong with the commands I executed?
Thanks in advance.
Ronneil
-- Attached file removed by Ecartis and put at URL below --
-- Type: image/png
-- Size: 5k (5487 bytes)
-- URL : http://www.ee.ethz.ch/~slist/p/dbsn202_cpu_load_last_day.png
--
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