enableTrap
MX-SNMP-MIB ·
.0.900.1.300.200
Object
Trap Enable
Specifies if traps can be sent.
Context
- MIB
- MX-SNMP-MIB
- OID
.0.900.1.300.200- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- standardTrapsGroup
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 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-SNMP-MIB::enableTrap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-SNMP-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-SNMP-MIB::enableTrap'
Syntax
- Source
- MX-TCMxEnableState
- Base type
Enumeration
Values & Constraints
Type Values
0 | disable |
1 | enable |