|
|
| Author |
Message |
fjack
Joined: 09 Nov 2005 Posts: 7 Location: Geneva, SWITZERLAND
|
Posted: Fri Dec 02, 2005 7:43 am Post subject: |
|
|
It looks better, thanks !
|
|
| Back to top |
|
 |
byronm
Joined: 01 Dec 2005 Posts: 3
|
Posted: Sat Dec 03, 2005 3:41 pm Post subject: |
|
|
| lvm wrote: | I'm sorry for that as I did not try this out by myself. So I'll attach both XML queries here
Reinhard |
That worked perfectly! Thanks, and thanks for the templates, great work!
-Byron
|
|
| Back to top |
|
 |
incorrect
Joined: 11 Nov 2005 Posts: 1
|
Posted: Sat Dec 31, 2005 3:57 am Post subject: |
|
|
| Thank you, works perfectly monitoring several ubr's which have multiple temperature sensors.
|
|
| Back to top |
|
 |
Buckbeak
Joined: 15 Nov 2005 Posts: 13
|
Posted: Fri Jan 06, 2006 3:30 pm Post subject: |
|
|
I'm getting mixed results with these templates. In summary:
| Code: |
Cisco 2621 - Temperature returns 1 row, but is always zero.
Voltage returns 0 rows.
Cisco 3825 - Temperature returns 3 rows, but does not graph. Graphs are created from "New Graphs". TempStatusDescr is the same for each row:
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9.9.13.1.3.1.2'
+ Located input field 'TempStatusDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9.9.13.1.3.1.2'
+ Found item [TempStatusDescr='chassis'] index: 1 [from value]
+ Found item [TempStatusDescr='chassis'] index: 2 [from value]
+ Found item [TempStatusDescr='chassis'] index: 3 [from value]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ Created graph: xxxx Router Cisco Temp |query_TempStatusDescr|
+ Created graph: xxxx Router Cisco Temp |query_TempStatusDescr|
+ Created graph: xxxx Router Cisco Temp |query_TempStatusDescr|
Voltages work okay with 3825.
Cisco 7200 - Voltages and temps work okay.
Cisco 6500 - Temperatures work 15 rows, voltages don't work, return 0 rows.
|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Sat Jan 07, 2006 7:24 am Post subject: |
|
|
| Buckbeak wrote: | | Code: | Cisco 2621 - Temperature returns 1 row, but is always zero.
Voltage returns 0 rows.
| Well, the OID table is generic (no device type specific info in there). But this does not mean, that it is implemented by all devices. This depends entirely on Cisco.
| Code: | Cisco 3825 - Temperature returns 3 rows, but does not graph. Graphs are created from "New Graphs". TempStatusDescr is the same for each row:
+ Running data query [10].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9.9.13.1.3.1.2'
+ Located input field 'TempStatusDescr' [walk]
+ Executing SNMP walk for data @ '.1.3.6.1.4.1.9.9.13.1.3.1.2'
+ Found item [TempStatusDescr='chassis'] index: 1 [from value]
+ Found item [TempStatusDescr='chassis'] index: 2 [from value]
+ Found item [TempStatusDescr='chassis'] index: 3 [from value]
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml'
+ Found data query XML file at '/usr/local/share/cacti/resource/snmp_queries/cisco_envmon_temp.xml' | You should always Create Graphs for this Host from that very host. Then you should see the Table (Voltage/Temperature) at the lower end of the page. Select the needed items from there. |
Reinhard
|
|
| Back to top |
|
 |
Buckbeak
Joined: 15 Nov 2005 Posts: 13
|
Posted: Mon Jan 09, 2006 10:48 am Post subject: |
|
|
It makes no difference that it was done from "Create Graphs for this host". See the attached picture. This is a Cisco 3825.
| Description: |
|
| Filesize: |
13.1 KB |
| Viewed: |
6745 Time(s) |

|
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Mon Jan 09, 2006 11:55 am Post subject: |
|
|
Oh, this is a pity. First time I saw index values of all the same values (chassis). So I suppose it would be necessary to introduce a new key.
Reinhard
|
|
| Back to top |
|
 |
lorcs
Joined: 20 Oct 2005 Posts: 14
|
Posted: Wed Jan 18, 2006 1:45 pm Post subject: Problem in installing the Cisco environmental monitoring |
|
|
I got the following error after importing the Cisco environment monitoring on temperature and voltage :
Voltage monitoring
| Quote: | RRDTool Says:
ERROR: invalid rpn expression in: a,1000,/ |
Temperature Monitoring
| Quote: | RRDTool Says:
ERROR: parameter '#EACC00' does not represent a number in line LINE1:#EACC00:Temperature |
What is the problem ?
Ray
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Thu Jan 19, 2006 4:20 am Post subject: |
|
|
Please goto Graphs, select the Graph and click on it. YOu now should see 4 graphs. Click a wrench next to one of them and post the whole rrdtool graph statement.
Ae you running rrdtool 1.2.x and did you customize the rrdtool version setting?
Reinhard
|
|
| Back to top |
|
 |
kaddie
Joined: 13 Jan 2006 Posts: 14
|
Posted: Thu Jan 19, 2006 12:17 pm Post subject: |
|
|
I'm trying to setup envmon at my location and I keep getting errors. They are ...
Warning: reset() [function.reset]: Passed variable is not an array or object in /www/htdocs/cacti/graphs_new.php on line 534
Warning: Variable passed to each() is not an array or object in /www/htdocs/cacti/graphs_new.php on line 535
Data Query [Cisco EnvMon Temperature]
Warning: reset() [function.reset]: Passed variable is not an array or object in /www/htdocs/cacti/graphs_new.php on line 610
Warning: Variable passed to each() is not an array or object in /www/htdocs/cacti/graphs_new.php on line 611
All I did was download the templates. Any help on deciphering these errors is greatly appreciated.
Thank you,
Adam
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
|
| Back to top |
|
 |
kaddie
Joined: 13 Jan 2006 Posts: 14
|
Posted: Fri Jan 20, 2006 12:41 pm Post subject: |
|
|
| Thanks, but all my data queries have successfully located their xml files.
|
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12295 Location: Muenster, Germany
|
Posted: Fri Jan 20, 2006 1:25 pm Post subject: |
|
|
and what about the hint with lt; and gt; instead of < and > signs?
Reinhard
|
|
| Back to top |
|
 |
kaddie
Joined: 13 Jan 2006 Posts: 14
|
Posted: Fri Jan 20, 2006 2:09 pm Post subject: |
|
|
| I am using the < and > signs. From what I've read that is what they are supposed to be. Should I be using lt; and gt;?
|
|
| Back to top |
|
 |
kaddie
Joined: 13 Jan 2006 Posts: 14
|
Posted: Fri Jan 20, 2006 2:10 pm Post subject: |
|
|
| I am using the < and > signs. From what I've read that is what they are supposed to be. Should I be using lt; and gt;?
|
|
| Back to top |
|
 |
|