Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_h3c_components
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!
Uses snmpwalk to check the status of all components in an HP/H3C 5xxx switch. Works on IRF stacks too. Tested with 5120 and 5820 on RHEL 6.
Ignores "SFP Receive Error" because many people have SFPs non-connected SFPs inserted into their switches. If you need that monitored too, then edit line 43 accordingly.
To use just call with with an ip address and the snmp read-community like this:
check_h3c_components.sh 192.168.1.1 public
Output will be one of these (examples):
"All Components OK"
"FAN1: Fan Error"
"UNKNOWN: SNMP timeout"
Requires net-snmp-utils.
Ignores "SFP Receive Error" because many people have SFPs non-connected SFPs inserted into their switches. If you need that monitored too, then edit line 43 accordingly.
To use just call with with an ip address and the snmp read-community like this:
check_h3c_components.sh 192.168.1.1 public
Output will be one of these (examples):
"All Components OK"
"FAN1: Fan Error"
"UNKNOWN: SNMP timeout"
Requires net-snmp-utils.
Reviews (3)
byfernandozank, June 22, 2015
Tried with all scripts.
Checked all SNMP configurations and still not working for me.
Everytime I try, I receive this message:
3COM_HEALTH CRITICAL - SNMP ERROR
Checked all SNMP configurations and still not working for me.
Everytime I try, I receive this message:
3COM_HEALTH CRITICAL - SNMP ERROR
I have modified the script to work with SNMP v3 and it works great!
I just have one question, I got the status "Unsupported" on two sensors.. And i have tried to figure out which sensors it could be but i have not been able to do that, is there any one that could give me some tips?
I just have one question, I got the status "Unsupported" on two sensors.. And i have tried to figure out which sensors it could be but i have not been able to do that, is there any one that could give me some tips?
This worked perfectly! Thanks so much!