Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Dell Powerconnect switches
1.1
2012-03-21
- Nagios 2.x
- Nagios 3.x
GPL
109731
File | Description |
---|---|
check_dell_powerconnect.pl | Dell powerconnect hardware status |
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!
This script checks the hardware status van DELL powerconnect switches. It is tested on a PC3524 and the PC6248.
I have tested it for groundwork nagios v2 and version3 (Groundwork and Opsview), but it should also work for other versions.
It gives the states from all FANs and Power supplies, and (if possible) the temperature from the switch. (I couldn't find the temperature MIB for the 62XX switches.)
Usage: check_dell_powerconnect.pl -H host -C community
I have tested it for groundwork nagios v2 and version3 (Groundwork and Opsview), but it should also work for other versions.
It gives the states from all FANs and Power supplies, and (if possible) the temperature from the switch. (I couldn't find the temperature MIB for the 62XX switches.)
Usage: check_dell_powerconnect.pl -H host -C community
Reviews (4)
byjanz1961, August 3, 2011
The perl script needed some small modifications because nagios runs perl with -w. As a result, nagios showed status UNKNOWN and the first of these warnings.
The issues were:
1 - Sub print_help used before definition
Solution: move definition to just before where it was called.
2 - Warning in parameter parser
The code loops through the parameter list until there are no more paramters in a way that genereates a waring.
Solution: add 'defined' to while condition, so:
while(defined $ARGV[0] and $ARGV[0] =~/^-/)
For the rest, works nicely. Not only for 3524, but also for 5324.
Jan
The issues were:
1 - Sub print_help used before definition
Solution: move definition to just before where it was called.
2 - Warning in parameter parser
The code loops through the parameter list until there are no more paramters in a way that genereates a waring.
Solution: add 'defined' to while condition, so:
while(defined $ARGV[0] and $ARGV[0] =~/^-/)
For the rest, works nicely. Not only for 3524, but also for 5324.
Jan
bymtrammel, July 2, 2010
0 of 1 people found this review helpful
I found the error listed above on other Dell switches.
The script does what it is supposed to do and works without a problem - I would like to see more in depth probing of the switch to gather more metrics from it - but this is a start.
Bill
Bill
Consistently gets the following error:
Can't use an undefined value as a HASH reference at ./check_dell_powerconnect line 126.
Can't use an undefined value as a HASH reference at ./check_dell_powerconnect line 126.