trapEnable
KEEPALIVED-MIB ·
.1.3.6.1.4.1.9586.100.5.1.4
Object
scalar Enumeration
Indicate whether traps should be sent for various events.
Context
- MIB
- KEEPALIVED-MIB
- OID
.1.3.6.1.4.1.9586.100.5.1.4- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- global
- Groups
- 1
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 'KEEPALIVED-MIB' -M '/opt/observium/mibs/keepalived:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'KEEPALIVED-MIB::trapEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'KEEPALIVED-MIB' -M '/opt/observium/mibs/keepalived:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'KEEPALIVED-MIB::trapEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
Conformance
Member of