All MIBs › CISCO-STACKWISE-MIB › cswStackNewMaster
cswStackNewMaster
Module: CISCO-STACKWISE-MIB
OID (symbolic): CISCO-STACKWISE-MIB::cswStackNewMaster
OID (numeric): 1.3.6.1.4.1.9.9.500.0.0.2
Node type: NOTIFICATION-TYPE
Description: This notification is generated when a new master has been elected. The notification will contain the cswSwitchNumCurrent object to indicate the new master ID.
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' CISCO-STACKWISE-MIB::cswStackNewMaster snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.9.9.500.0.0.2
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:49419->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (368496395) 42 days, 15:36:03.95 SNMPv2-MIB::snmpTrapOID.0 = OID: CISCO-STACKWISE-MIB::cswStackNewMaster
Start monitoring Cisco Catalyst StackWise-capable switches with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-STACKWISE-MIB::cswStackNewMaster OID value, configure state conditions and alerts, and monitor any Cisco Catalyst StackWise-capable switches from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.500 | ciscoStackWiseMIB | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.0 | ciscoStackWiseMIBNotifs | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.0.0 | cswMIBNotifications | CISCO-STACKWISE-MIB |
| 1.3.6.1.4.1.9.9.500.0.0.2 | cswStackNewMaster | CISCO-STACKWISE-MIB |