slmTrapEnable
SL-MAIN-MIB ·
.1.3.6.1.4.1.4515.1.3.5.1.1.7
Object
TRUE - means that that the alarms are allowed. FALSE - means that all alarms should not be sent for this session.
Context
- MIB
- SL-MAIN-MIB
- OID
.1.3.6.1.4.1.4515.1.3.5.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- slmTrapDestEntry
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 'SL-MAIN-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-MAIN-MIB::slmTrapEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-MAIN-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-MAIN-MIB::slmTrapEnable.<slmTrapDestAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-MAIN-MIB' -M '/opt/observium/mibs/packetlight:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-MAIN-MIB::slmTrapEnable'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |