Having 6 or so stacks of Procurve 3800 switches connected using the stacking module and stacking cables, I was finding it hard to get a visual indicator for the Stack status, we have had a few scenarios where one member of the stack goes down, as this is not monitored we were unaware until we went into the CLI.
having just done a Solarwinds Administrator course I was keen to find a way of displaying the information, I found an OID that will tell you the status of stack, details are below.
I was able to turn this into a table in the node view using the universal device poller, just now have to find a way of querying the SQL database to get an alert.
This gives the status of the switch in the stack.
unusedId (0) - The member ID does not exist.
missing (1) - A member switch in the stack when it becomes Non responsive , it is marked as the missing member. Either the stack link goes down or the stack member crashed. Note that it is possible to remove even the missing member from the stack. In this case , the missing members configuration is removed from the stack config file.
provision (2) - A member switch whose config is provisioned and that does not exist physically.
commander (3) - One physical switch whose master CPU takes up the role that the active management module in the 8200 switch would take.
standby (4) - One physical switch whose master CPU takes up the role that the standby management module in the 8200 switch would take.
member (5) - A switch that is part of the stack.
shutdown (6) - The switch is in the shutdown state.
booting (7) - The switch is in the booting state.
communicationFailure (8) - This is an error condition. The switch cannot be reached. incompatibleOs (9) - This is an error condition. The member switch runs with a different OS image.
unknownState (10) - The member switch's state cannot be determined. This is an error condition.
standbyBooting (11) - The standby switch is currently booting up. When boot is completed , the state will be 'standby (4)'.
Access Type: ReadOnly
Variable Type: HexValue