Help with cisco_envmon_temperature

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
marcuscr
Posts: 13
Joined: Thu Nov 17, 2005 8:25 pm

Help with cisco_envmon_temperature

Post by marcuscr »

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.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Help with cisco_envmon_temperature

Post by gandalf »

marcuscr 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.
Please click the wrench next to the graph and post the rrdtool graph statement
Reinhard
marcuscr
Posts: 13
Joined: Thu Nov 17, 2005 8:25 pm

Post by marcuscr »

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
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This graph statement is indeed wrong, it does not include any DEF statement (=reference to a data source). Please try to re-import the templates and post a screenshot of the outcome
Reinhard
marcuscr
Posts: 13
Joined: Thu Nov 17, 2005 8:25 pm

Post by marcuscr »

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.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

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
marcuscr
Posts: 13
Joined: Thu Nov 17, 2005 8:25 pm

Post by marcuscr »

Attached are the screen shots[/img]
Attachments
cacti.doc
(167 KiB) Downloaded 237 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This one is ok. So I need a screenshot of the Data Template showing all data sources and perhaps of the Graph Template Items
Reinhard
marcuscr
Posts: 13
Joined: Thu Nov 17, 2005 8:25 pm

Post by marcuscr »

Thank you very much for your help, I appreciate your time.

I created graphs using the SNMP generic template and am now gettng good data.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest