We have a Cisco 2960S series switch which is a stacked switch with multiple physical switches managed as a single unit. A single management IP is assigned to the entire stacked switch.
Therefore, if one member of a switch stack fails, the IP address is still pingable. So we need to check whether any one of the individual switch in the stack has failed.
Can anyone highlight how we can check the individual switch failure using SNMP ?
Best Answer
You could try the following nagios check: http://exchange.nagios.org/directory/Plugins/Hardware/Network-Gear/Cisco/Check-cisco-3750-stack-status/details
As always, it is best to test that the check does what you want by causing a failure when possible. This check is based on the following oids (Taken from the script itself):
In particular, the description of cisco_stack_state (cswSwitchState according to the mib and of which is part of a table, so one for each switch) is: