netSnmpExampleHeartbeatName
NET-SNMP-EXAMPLES-MIB ·
.1.3.6.1.4.1.8072.2.3.2.2
Object
A simple string object, to act as an optional payload for the netSnmpExampleHeartbeatNotification. This varbind is not part of the notification definition, so is optional and need not be included in the notification payload. The value has no real meaning, but the romantically inclined may take it to be the object of the sender's affection, and hence the cause of the heart beating faster.
Context
- MIB
- NET-SNMP-EXAMPLES-MIB
- OID
.1.3.6.1.4.1.8072.2.3.2.2- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- netSnmpExampleNotificationObjects
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NET-SNMP-EXAMPLES-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'udp:<hostname>:161' 'NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NET-SNMP-EXAMPLES-MIB' -M '/opt/observium/mibs/net-snmp:/opt/observium/mibs/rfc' 'NET-SNMP-EXAMPLES-MIB::netSnmpExampleHeartbeatName'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255