Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Cisco Environmental Monitoring (Temp, Voltage)
Goto page Previous  1, 2, 3, 4, 5  Next
 
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates
Author Message
fjack



Joined: 09 Nov 2005
Posts: 7
Location: Geneva, SWITZERLAND

PostPosted: Fri Dec 02, 2005 7:43 am    Post subject: Reply with quote

It looks better, thanks !
Back to top
byronm



Joined: 01 Dec 2005
Posts: 3

PostPosted: Sat Dec 03, 2005 3:41 pm    Post subject: Reply with quote

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

PostPosted: Sat Dec 31, 2005 3:57 am    Post subject: Reply with quote

Thank you, works perfectly monitoring several ubr's which have multiple temperature sensors.
Back to top
Buckbeak



Joined: 15 Nov 2005
Posts: 13

PostPosted: Fri Jan 06, 2006 3:30 pm    Post subject: Reply with quote

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

PostPosted: Sat Jan 07, 2006 7:24 am    Post subject: Reply with quote

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

PostPosted: Mon Jan 09, 2006 10:48 am    Post subject: Reply with quote

It makes no difference that it was done from "Create Graphs for this host". See the attached picture. This is a Cisco 3825.


cacti6.gif
 Description:
 Filesize:  13.1 KB
 Viewed:  6745 Time(s)

cacti6.gif


Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12295
Location: Muenster, Germany

PostPosted: Mon Jan 09, 2006 11:55 am    Post subject: Reply with quote

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

PostPosted: Wed Jan 18, 2006 1:45 pm    Post subject: Problem in installing the Cisco environmental monitoring Reply with quote

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

PostPosted: Thu Jan 19, 2006 4:20 am    Post subject: Reply with quote

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

PostPosted: Thu Jan 19, 2006 12:17 pm    Post subject: Reply with quote

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

PostPosted: Fri Jan 20, 2006 12:12 pm    Post subject: Reply with quote

Perhaps http://forums.cacti.net/viewtopic.php?t=7307 helps? And http://forums.cacti.net/viewtopic.php?t=6717 states:
Quote:
That error is usually related to a missing XML resource file for a data query associated with a host template.
Check to make sure that all your Data Queries can load there XML resource files.
Please verify this.
Reinhard
Back to top
kaddie



Joined: 13 Jan 2006
Posts: 14

PostPosted: Fri Jan 20, 2006 12:41 pm    Post subject: Reply with quote

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

PostPosted: Fri Jan 20, 2006 1:25 pm    Post subject: Reply with quote

and what about the hint with lt; and gt; instead of < and > signs?
Reinhard
Back to top
kaddie



Joined: 13 Jan 2006
Posts: 14

PostPosted: Fri Jan 20, 2006 2:09 pm    Post subject: Reply with quote

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

PostPosted: Fri Jan 20, 2006 2:10 pm    Post subject: Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Scripts and Templates All times are GMT - 5 Hours
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 



Powered by phpBB © 2001, 2005 phpBB Group