lvm wrote:ice wrote:Hi,
I read all problems related to this template but I don't found anybody with my same problem so I decide to post a message.
I'm trying to graph cisco temperature using your template but when I create a graph, RRD Tool say: "ERROR: can't parse '#0000FF:Temperature'"
I don't know how I can solve this problem: I correctly import your template and when I check the related "Data Query" window I read "Successfully located XML file". This seems to me that also the snmp query is in the correct path (cacti/resource/snmp_queries/cisco_envmon_temp.xml).
Someone can help me?
I attach a jpg image with reported error
I'm sorry for my bad english
Thank you
Please goto the graph, select it and click on the wrench next to one of the graphs. Please post the complete rrdtool graph statement
Reinhard
Hi thanks for your support.
I hope I'm posting the output you ask me
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=1140036756 \
--end=1140036751 \
--title="gw1-inroma Cisco Temp |query_TempStatusDescr|" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
COMMENT:"From 2006/02/15 21:52:36 To 2006/02/15 21:52:31\c" \
COMMENT:"\n" \
--vertical-label="Temperature" \
LINE1:#0000FF:"Temperature" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n" \
LINE1:#FF0000:"Threshold" \
GPRINT::LAST:" Current\:%8.2lf %s" \
GPRINT::AVERAGE:"Average\:%8.2lf %s" \
GPRINT::MAX:"Maximum\:%8.2lf %s\n"
(I post also the related print screen)
It seems correct also if I don't find anything related temperature oid. Is that correct?
I would also notice you that I don't have an empty graph.. I have no graph at all.
If you need some other output let me know.
Thanks again.