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
Current Version
0.1
Last Release Date
2012-07-24
Compatible With
- Nagios 3.x
Owner
License
GPL
Hits
69843
Files:
File | Description |
---|---|
check_h3c_components.sh | check_h3c_components.sh |
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!