[rrd-users] weirdness with rrdcgi graphing.

Matthews, Kathy (New) matthek1 at anz.com
Wed Apr 26 03:14:42 MEST 2000


Hi,

I have been happily graphing one system for over a month.  I've expanded my
graphing to 18 systems but some wacky stuff is happening.

In particular, my weekly, monthly and yearly graphs aren't doing it right.
The weekly shows the last 2 days.  The monthly the last 2 days (if that),
and the year is practically non existent.

I gather the stats using ucd-snmp every 5 minutes and update the graph.  I'm
not sure why it works for one of my graphs, but for none of the others,
since I was lazy and I cut and pasted.

Snippet of code that works:
<RRD::GRAPH ../images/testcpuweek.png --title="tlsf00 - CPU Utilisat
ion (weekly average)" --lazy --width=650 --height=300  --start -1w -v "% of
Proc
essor Used"
--imginfo '<IMG SRC="../images/testcpuweek.png">'
  DEF:user=/usr/local/rrdtool/testcpu.rrd:user:AVERAGE
  DEF:system=/usr/local/rrdtool/testcpu.rrd:system:AVERAGE
  DEF:idle=/usr/local/rrdtool/testcpu.rrd:idle:AVERAGE
  LINE2:user#7B68EE:"% User Processes\n"
  LINE2:system#ff0000:"% System Processes\n"
  LINE2:idle#66CDAA:"% Idle">

Snippet of code that doesn't:
<RRD::GRAPH ../images/test2cpuweek.png --title="tlsf01 - CPU Utilisat
ion (weekly average)" --lazy --width=650 --height=300  --start -1w -v "% of
Proc
essor Used"
--imginfo '<IMG SRC="../images/test2cpuweek.png">'
  DEF:user=/usr/local/rrdtool/test2cpu.rrd:user:AVERAGE
  DEF:system=/usr/local/rrdtool/test2cpu.rrd:system:AVERAGE
  DEF:idle=/usr/local/rrdtool/test2cpu.rrd:idle:AVERAGE
  LINE2:user#7B68EE:"% User Processes\n"
  LINE2:system#ff0000:"% System Processes\n"
  LINE2:idle#66CDAA:"% Idle">

They're almost identical. Any ideas would be greatly appreciated.  I am
graphing 18 systems CPU, memory and disk usage.  For some weird reason, only
one of them is showing the correct weekly, monthly and yearly stats.  I've
got no idea why.  All the rrd databases where setup the same (a script was
written that does it).

TIA,

Kathy





--
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



More information about the rrd-users mailing list