logTrap
QTECH-NMS-LOG-SERVER-MIB ·
.1.3.6.1.4.1.34751.2.235.4
Object
scalar mandatory
r/w
Enumeration
Log trap level. And default value is info(6).
Context
- MIB
- QTECH-NMS-LOG-SERVER-MIB
- OID
.1.3.6.1.4.1.34751.2.235.4- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- logServer
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 'QTECH-NMS-LOG-SERVER-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-NMS-LOG-SERVER-MIB::logTrap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-NMS-LOG-SERVER-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-NMS-LOG-SERVER-MIB::logTrap'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | emerg |
1 | alert |
2 | critical |
3 | error |
4 | warning |
5 | notice |
6 | info |
7 | debug |