NET-SNMP-EXAMPLES-MIB :: netSnmpExampleHeartbeatNotification

MIB Reference — IPNetwork Monitor · Updated October 06, 2026

All MIBs › NET-SNMP-EXAMPLES-MIB › netSnmpExampleHeartbeatNotification

netSnmpExampleHeartbeatNotification

Module: NET-SNMP-EXAMPLES-MIB

OID (symbolic): NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification

OID (numeric): 1.3.6.1.4.1.8072.2.3.0.1

Node type: NOTIFICATION-TYPE

Description: An example notification, used to illustrate the definition and generation of trap and inform PDUs (including the use of both standard and additional varbinds in the notification payload). This notification will typically be sent every 30 seconds, using the code found in the example module agent/mibgroup/examples/notification.c

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> '' NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification
snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.8072.2.3.0.1

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]:61581->[192.168.30.10]:162]:
  DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (486784653) 56 days, 8:10:46.53
  SNMPv2-MIB::snmpTrapOID.0 = OID: NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification

Start monitoring Linux/Unix host running Net-SNMP agent (demonstration module, not real hardware) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatNotification OID value, configure state conditions and alerts, and monitor any Linux/Unix host running Net-SNMP agent (demonstration module, not real hardware) from a single console.

OID Breakdown

Upper-level ancestors (7 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.8072netSnmpNET-SNMP-MIB
Numeric OIDNameModule
1.3.6.1.4.1.8072.2netSnmpExamplesNET-SNMP-EXAMPLES-MIB
1.3.6.1.4.1.8072.2.3netSnmpExampleNotificationsNET-SNMP-EXAMPLES-MIB
1.3.6.1.4.1.8072.2.3.0netSnmpExampleNotificationPrefixNET-SNMP-EXAMPLES-MIB
1.3.6.1.4.1.8072.2.3.0.1netSnmpExampleHeartbeatNotificationNET-SNMP-EXAMPLES-MIB