I keep running into the same problem.
All the templates and graphs that ome with the cacti-distribution (version 0.8.4) work great. But once I start adding my own graphs, things go wrong.
When importing the hp-toner xml (found in http://www.raxnet.net/board/viewtopic.php?t=2771) I get an error in my graph: ERROR: can't parse '#CDCFC4:Maximum Toner Level'
This is what the code looks like
Code: Select all
/usr/local/rrdtool-1.0.45/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--title="lexmark OptraColor 1200 - Toner Level" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
AREA:#CDCFC4:"Maximum Toner Level" \
LINE1:#000000:"Current Toner Level" \
GPRINT::LAST:"mg of toner remaining\:%8.0lf"
Code: Select all
/usr/local/rrdtool-1.0.45/bin/rrdtool graph toner.gif DEF:mytoner=/home/www/htdocs/cacti/rra/lexmark_optracolor_1200_blk_toner_level_133.rrd:blk_toner_level:AVERAGE LINE2:mytoner#FF0000
Now my question is: how do I get it there...
I'm not sure sure if this error is linux-ditro based or not, but I saw the same problem in the Win32 Forum http://www.raxnet.net/board/viewtopic.php?t=2664.
cya,
Yvan