Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
Uses snmpwalk to check the status of all components in an HP/H3C 5xxx switch. Works on IRF stacks, too.
Current Version
0.1
Last Release Date
2012-07-24
Owner
Lars Jorgensen
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2012/07/check_h3c_components.sh
License
GPL
Compatible With
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.
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
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?
This worked perfectly! Thanks so much!
You must be logged in to submit a review.
To:
From: