Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check PowerConnect Switch
1.3
2015-05-19
- Nagios 3.x
- Nagios 4.x
GPL
69566
File | Description |
---|---|
check_snmp_powerconnect | check_snmp_powerconnect |
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!
check_snmp_powerconnect -H {hostname / IP address} -C {SNMP community} -t {check to perform}
Possible checks to run are as follows:
assets
uptime
ports
port
temps
fans
psus
modifications have to deliver better information, temperature 35xx models only works for now. I hope to leave full operation in the near future.
version 1.1
add temp status for modem 62xx, 80xx.
fan status bug in some models now display status OK.
bug with model 54xx still persist when check assets.
version 1.2
corrected minor bugs. Thx to Sven Dohmen.
version 1.3
add support for dell series N.
Possible checks to run are as follows:
assets
uptime
ports
port
temps
fans
psus
modifications have to deliver better information, temperature 35xx models only works for now. I hope to leave full operation in the near future.
version 1.1
add temp status for modem 62xx, 80xx.
fan status bug in some models now display status OK.
bug with model 54xx still persist when check assets.
version 1.2
corrected minor bugs. Thx to Sven Dohmen.
version 1.3
add support for dell series N.
Reviews (4)
This plugin is great.
Since Dell EMC merger, some products name change to Dell EMC Networking
Here is a small patch :
162c162
MODEL=$(snmpwalk -v 2c -Ovq -c $COMMUNITY $HOST_NAME 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0 | tr -d """|cut -d " " -f2)
166c166
MODEL=$(snmpwalk -v 2c -Ovq -c $COMMUNITY $HOST_NAME 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0 | tr -d """|cut -d " " -f3)
I also add the following code at line 169 to add S3048-ON temps
Since Dell EMC merger, some products name change to Dell EMC Networking
Here is a small patch :
162c162
MODEL=$(snmpwalk -v 2c -Ovq -c $COMMUNITY $HOST_NAME 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0 | tr -d """|cut -d " " -f2)
166c166
MODEL=$(snmpwalk -v 2c -Ovq -c $COMMUNITY $HOST_NAME 1.3.6.1.4.1.674.10895.3000.1.2.100.1.0 | tr -d """|cut -d " " -f3)
I also add the following code at line 169 to add S3048-ON temps
byerictech, December 8, 2016
This does exactly what I needed and works for models 5548 and N2048.
I did come across an issue when a switch is in a stack. The fan temps check does not calculate the proper exit status. Here is my diff for the changes I added to fix this:
212a213
> if [ $TEMPS_EXIT_STATUS -lt '2' ]; then
213a215,217
> else
> TEMPS_EXIT_STATUS=2
> fi
215a220
> if [ $TEMPS_EXIT_STATUS -lt '1' ]; then
216a222
>
The only other thing I see that would make this more awesome, is to add the global status health check. There is another module on the exchange that does and I may add it to this one. It uses the productStatusGlobalStatus mib. It may be redundant to check the fans, temp, psus AND health, but in certain places, a simple health check may be sufficient.
I did come across an issue when a switch is in a stack. The fan temps check does not calculate the proper exit status. Here is my diff for the changes I added to fix this:
212a213
> if [ $TEMPS_EXIT_STATUS -lt '2' ]; then
213a215,217
> else
> TEMPS_EXIT_STATUS=2
> fi
215a220
> if [ $TEMPS_EXIT_STATUS -lt '1' ]; then
216a222
>
The only other thing I see that would make this more awesome, is to add the global status health check. There is another module on the exchange that does and I may add it to this one. It uses the productStatusGlobalStatus mib. It may be redundant to check the fans, temp, psus AND health, but in certain places, a simple health check may be sufficient.
bybelgotux, April 22, 2014
This plugin works great for temperature monitoring and graphs.
I use also for uptime status, works nice for status. Need to passed the uptime in numeric argument like ms with another script and to an division to graph uptime in days.
I recommend this plugin!
Regards,
belgotux
I use also for uptime status, works nice for status. Need to passed the uptime in numeric argument like ms with another script and to an division to graph uptime in days.
I recommend this plugin!
Regards,
belgotux
bythehofman, November 12, 2013
Works great. Thanks a lot for the plug-in!