Build precise queries to find exactly what you need
Press ESC to close
@erictech
Member Since: June 15, 2016
Favorites0
Views
Projects0
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.
Reviewed 9 years ago
This is an excellent plugin. I did modify it a bit, primarily removing the need for the perl-Nagios-Plugin module, as most of my current modules are simple perl modules. Otherwise, the features provided are just what I needed for crm monitoring. Thanks!