All MIBs › HH3C-VSAN-MIB › hh3cVsanDmNewPrincipalSwitchNotify
hh3cVsanDmNewPrincipalSwitchNotify
Module: HH3C-VSAN-MIB
OID (symbolic): HH3C-VSAN-MIB::hh3cVsanDmNewPrincipalSwitchNotify
OID (numeric): 1.3.6.1.4.1.25506.2.127.1.1.3.0.2
Node type: NOTIFICATION-TYPE
Description:
If a switch becomes the new Principal Switch in a VSAN, this notification is sent immediately after the election.
The notification contains the WWN of the new Principal Switch and the index of the VSAN in which the transition occurred.
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> '' HH3C-VSAN-MIB::hh3cVsanDmNewPrincipalSwitchNotify snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.25506.2.127.1.1.3.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]:57440->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (297430624) 34 days, 10:11:46.24 SNMPv2-MIB::snmpTrapOID.0 = OID: HH3C-VSAN-MIB::hh3cVsanDmNewPrincipalSwitchNotify
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.25506 | hh3c | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2 | hh3cCommon | HH3C-OID-MIB |
| 1.3.6.1.4.1.25506.2.127 | hh3cSan | HH3C-VSAN-MIB |
| 1.3.6.1.4.1.25506.2.127.1 | hh3cVsan | HH3C-VSAN-MIB |
| 1.3.6.1.4.1.25506.2.127.1.1 | hh3cVsanMibObjects | HH3C-VSAN-MIB |
| 1.3.6.1.4.1.25506.2.127.1.1.3 | hh3cVsanDmNotifications | HH3C-VSAN-MIB |
| 1.3.6.1.4.1.25506.2.127.1.1.3.0 | hh3cVsanDmNotificationPrefix | HH3C-VSAN-MIB |
| 1.3.6.1.4.1.25506.2.127.1.1.3.0.2 | hh3cVsanDmNewPrincipalSwitchNotify | HH3C-VSAN-MIB |