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
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.