[rrd-users] part 2

Rommel, Florian Florian.Rommel at quartal.com
Thu Jan 16 15:49:40 MET 2003

sorry, my bad... hit the send button instead of switching windows...

anyway here is the code to generate the graph:

/bin/rrdtool graph $rrd_dir/html/cpu.png \
--title="CPU LOAD [ $date ]"                            \
--lower-limit 1                                         \
--upper-limit 100                                       \
--vertical-label="% Load"                               \
HRULE:30#FB7000:"Try staying below this line if possible" \
HRULE:90#FF0000:"Critical if it stays above this line for more then 30 min." \
DEF:cpu_idle=system-state.rrd:cpuidle:AVERAGE     \
"CDEF:cpuf=100,cpu_idle,-"                              \
AREA:cpuf#000000:"CPU Load"

the whole thing does work when i used to have seperate files for each thing i wanna measure... is there a maximum amount of DS's that can only be?

any help is appreciated.


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