All MIBs › HUAWEI-NTP-TRAP-MIB › hwNtpSysPeerChangeTrap
hwNtpSysPeerChangeTrap
Module: HUAWEI-NTP-TRAP-MIB
OID (symbolic): HUAWEI-NTP-TRAP-MIB::hwNtpSysPeerChangeTrap
OID (numeric): 1.3.6.1.4.1.2011.6.80.2.2
Node type: NOTIFICATION-TYPE
Description: This TRAP is used to notify the NTP system peer change from one source IP to other source IP without state change. This trap is generated when the selected NTP peer is changed
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> '' HUAWEI-NTP-TRAP-MIB::hwNtpSysPeerChangeTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.2011.6.80.2.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]:64570->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (356422714) 41 days, 6:03:47.14 SNMPv2-MIB::snmpTrapOID.0 = OID: HUAWEI-NTP-TRAP-MIB::hwNtpSysPeerChangeTrap
Start monitoring Huawei router or switch (NTP state/system-peer change traps) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-NTP-TRAP-MIB::hwNtpSysPeerChangeTrap OID value, configure state conditions and alerts, and monitor any Huawei router or switch (NTP state/system-peer change traps) 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.2011 | huawei | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.6 | huaweiUtility | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.6.80 | hwNtpTrapMib | HUAWEI-NTP-TRAP-MIB |
| 1.3.6.1.4.1.2011.6.80.2 | hwNtpTraps | HUAWEI-NTP-TRAP-MIB |
| 1.3.6.1.4.1.2011.6.80.2.2 | hwNtpSysPeerChangeTrap | HUAWEI-NTP-TRAP-MIB |