Help with cisco_envmon_temperature
Moderators: Developers, Moderators
Help with cisco_envmon_temperature
I am having problems with cisco_envmon_temperature. I loaded the xml files. I am able to see them under graph templates and data templates, although neither is avaiable under teh create new graphs screen. RRDTool gives an error: ERROR: parameter '#FFC3C0' does not represent a number in line LINE2:#FFC3C0:Temperature.
Can anyone offer any advice?
Thanks.
Can anyone offer any advice?
Thanks.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Help with cisco_envmon_temperature
Please click the wrench next to the graph and post the rrdtool graph statementmarcuscr wrote:I am having problems with cisco_envmon_temperature. I loaded the xml files. I am able to see them under graph templates and data templates, although neither is avaiable under teh create new graphs screen. RRDTool gives an error: ERROR: parameter '#FFC3C0' does not represent a number in line LINE2:#FFC3C0:Temperature.
Can anyone offer any advice?
Thanks.
Reinhard
I can't get a real graph, but this is the whole output fo the debug mode:
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="(FQDN here) Cisco Temp |query_TempStatusDescr|" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Temperature" \
--slope-mode \
LINE2:#FFC3C0:"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"
RRDTool Says:
ERROR: parameter '#FFC3C0' does not represent a number in line LINE2:#FFC3C0:Temperature
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="(FQDN here) Cisco Temp |query_TempStatusDescr|" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Temperature" \
--slope-mode \
LINE2:#FFC3C0:"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"
RRDTool Says:
ERROR: parameter '#FFC3C0' does not represent a number in line LINE2:#FFC3C0:Temperature
I reloaded the templates and got the following.
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title=""(FQDN Here) Cisco Temp |query_TempStatusDescr|" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Temperature" \
--slope-mode \
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"
RRDTool Says:
ERROR: parameter '#0000FF' does not represent a number in line LINE1:#0000FF:Temperature
One other detail that may be relevant: I am able to see cisco EnvMon temperature under the Graph Templates header, but I am not able to see it from the Graph Templates part of the New Graphs page.
RRDTool Command:
/usr/local/rrdtool/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title=""(FQDN Here) Cisco Temp |query_TempStatusDescr|" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="Temperature" \
--slope-mode \
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"
RRDTool Says:
ERROR: parameter '#0000FF' does not represent a number in line LINE1:#0000FF:Temperature
One other detail that may be relevant: I am able to see cisco EnvMon temperature under the Graph Templates header, but I am not able to see it from the Graph Templates part of the New Graphs page.
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You misunderstood my request. I would need a screenshot from the outcome of the importing action to see, whether all resources were imported. It seems to me, that the Data Template Import may have been broken as not data sources (defined by this template) are shown in the rrdtool graph statement.
Reinhard
Reinhard
Who is online
Users browsing this forum: No registered users and 0 guests