All MIBs › HMPRIV-MGMT-SNMP-MIB › hmNTPTrap
hmNTPTrap
Module: HMPRIV-MGMT-SNMP-MIB
OID (symbolic): HMPRIV-MGMT-SNMP-MIB::hmNTPTrap
OID (numeric): 1.3.6.1.4.1.248.14.2.0.12
Node type: NOTIFICATION-TYPE
Description:
This trap reports NTP error conditions. For a list of possible error conditions refer to hmNetNTPStatusCode.
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> '' HMPRIV-MGMT-SNMP-MIB::hmNTPTrap snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.248.14.2.0.12
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]:55259->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (93370331) 10 days, 19:21:43.31 SNMPv2-MIB::snmpTrapOID.0 = OID: HMPRIV-MGMT-SNMP-MIB::hmNTPTrap
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.248 | hirschmann | HM2-TC-MIB |
| 1.3.6.1.4.1.248.14 | hmConfiguration | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2 | hmAgent | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2.0 | hmAgentEvent | HMPRIV-MGMT-SNMP-MIB |
| 1.3.6.1.4.1.248.14.2.0.12 | hmNTPTrap | HMPRIV-MGMT-SNMP-MIB |