Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Network Equipment Environmental Statistics
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Usage: check_env_stats.py [options]
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-H HOSTNAME hostname or IP of device
-C COMMUNITY community read-only string [default=public]
-T TYPE hardware type (cisco,foundry,hp,juniper)
-M MODE type of statistics to gather (temp,fans,power,volt)
-w WARN comma-seperated list of values at which to set warning
-c CRIT comma-seperated list of values at which to set critical
-p include perfmon output
-v enable verbose output
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-H HOSTNAME hostname or IP of device
-C COMMUNITY community read-only string [default=public]
-T TYPE hardware type (cisco,foundry,hp,juniper)
-M MODE type of statistics to gather (temp,fans,power,volt)
-w WARN comma-seperated list of values at which to set warning
-c CRIT comma-seperated list of values at which to set critical
-p include perfmon output
-v enable verbose output
Reviews (2)
bypacketguy, March 5, 2014
Hi there,
Thanks for writing this excellent plugin.
I have a small request to make, can you please make the plugin compatible for use with Cisco 4500 Chassis Switches the current case is that as soon as i run the script i get multiple values dependent on the amount of blades i have in the switch.
Example: ./check_env_stats.py -H opc00sw1 -M temp -T cisco -C netstat -w 1,1,1,1,1,1,1,1,1,1 -c 40,40,40,40,40,40,40,40,40,40
WARNING: air inlet: 23 (W=1), air outlet: 36 (W=1), air inlet: 20 (W=1), air outlet: 26 (W=1), air inlet: 22 (W=1), air outlet: 26 (W=1), air inlet: 22 (W=1), air outlet: 26 (W=1), air inlet: 23 (W=1), air outlet: 27 (W=1)
Works like it should.
But now i have another chassis with only 8 blades.
Example: ./check_env_stats.py -H opa00sw1 -M temp -T cisco -C netstat -w 1,1,1,1,1,1,1,1,1,1 -c 40,40,40,40,40,40,40,40,40,40
Error: number of critical values not equal to number of table values.
Doesnt work, see error.
Can you make the script work that i am not dependent on the amount of inlet and outlet temperatures i get? i want to use this nagios script on all my devices without making any differences in the usage of it.
Thanks for writing this excellent plugin.
I have a small request to make, can you please make the plugin compatible for use with Cisco 4500 Chassis Switches the current case is that as soon as i run the script i get multiple values dependent on the amount of blades i have in the switch.
Example: ./check_env_stats.py -H opc00sw1 -M temp -T cisco -C netstat -w 1,1,1,1,1,1,1,1,1,1 -c 40,40,40,40,40,40,40,40,40,40
WARNING: air inlet: 23 (W=1), air outlet: 36 (W=1), air inlet: 20 (W=1), air outlet: 26 (W=1), air inlet: 22 (W=1), air outlet: 26 (W=1), air inlet: 22 (W=1), air outlet: 26 (W=1), air inlet: 23 (W=1), air outlet: 27 (W=1)
Works like it should.
But now i have another chassis with only 8 blades.
Example: ./check_env_stats.py -H opa00sw1 -M temp -T cisco -C netstat -w 1,1,1,1,1,1,1,1,1,1 -c 40,40,40,40,40,40,40,40,40,40
Error: number of critical values not equal to number of table values.
Doesnt work, see error.
Can you make the script work that i am not dependent on the amount of inlet and outlet temperatures i get? i want to use this nagios script on all my devices without making any differences in the usage of it.
bykevin.sayers, July 27, 2012
Do you have a step by step guide on how to install. this and run. I have ubuntu 12.04 with Nagios Core.
What steps should I take as I am a newby.
What steps should I take as I am a newby.