nsSetLogLevel
NETSCREEN-SET-LOG-MIB ·
.1.3.6.1.4.1.3224.7.8.8
Object
scalar Enumeration
Only log messages with a priority level of EMERGENCY/ALERT/CRITICAL/ERROR/WARNING/NOTICE/INFO/DEBUG or higher
Context
- MIB
- NETSCREEN-SET-LOG-MIB
- OID
.1.3.6.1.4.1.3224.7.8.8- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- nsSetLog
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 'NETSCREEN-SET-LOG-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NETSCREEN-SET-LOG-MIB::nsSetLogLevel.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NETSCREEN-SET-LOG-MIB' -M '/opt/observium/mibs/netscreen:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NETSCREEN-SET-LOG-MIB::nsSetLogLevel'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | emergency |
1 | aleart |
2 | critical |
3 | error |
4 | warning |
5 | notice |
6 | info |
7 | debug |