snmpNotifyType
SNMP-NOTIFICATION-MIB ·
.1.3.6.1.6.3.13.1.1.1.3
Object
column r/w
Enumeration
This object determines the type of notification to
be generated for entries in the snmpTargetAddrTable
selected by the corresponding instance of
snmpNotifyTag. This value is only used when
generating notifications, and is ignored when
using the snmpTargetAddrTable for other purposes.
If the value of this object is trap(1), then any
messages generated for selected rows will contain
Unconfirmed-Class PDUs.
If the value of this object is inform(2), then any
messages generated for selected rows will contain
Confirmed-Class PDUs.
Note that if an SNMP entity only supports
generation of Unconfirmed-Class PDUs (and not
Confirmed-Class PDUs), then this object may be
read-only.
Context
- MIB
- SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.6.3.13.1.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- snmpNotifyEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-NOTIFICATION-MIB::snmpNotifyType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-NOTIFICATION-MIB::snmpNotifyType.<snmpNotifyName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-NOTIFICATION-MIB::snmpNotifyType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | trap |
2 | inform |
Conformance
Member of
Compliance refinements
Values:
trap(1)
Create/delete/modify access is not required.
Support of the value notify(2) is not required.
Support of the value notify(2) is not required.