ostTrapCfgSetClearAll
OMNITRON-TRAP-MIB ·
.1.3.6.1.4.1.7342.12.1.2
Object
scalar r/w
Enumeration
This object when written performs the configured options for all
possible SNMP traps.
When object is written:
setAllTrapsNoFilters(1) All traps are configured to not filtered,
meaning the product can generate all traps.
setAllTrapsFilter(2) All traps are configured to filtered,
meaning the product cannot generate any trap.
This object can read or written at any time.
Context
- MIB
- OMNITRON-TRAP-MIB
- OID
.1.3.6.1.4.1.7342.12.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- ostTrapObjects
- 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 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OMNITRON-TRAP-MIB::ostTrapCfgSetClearAll.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OMNITRON-TRAP-MIB' -M '/opt/observium/mibs/omnitron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OMNITRON-TRAP-MIB::ostTrapCfgSetClearAll'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | setAllTrapsNoFilters |
2 | setAllTrapsFilter |
Conformance
Member of