proElsSubSysCurrTrapLevel
PROTEON-MIB ·
.1.3.6.1.4.1.1.6.2.2.1.9
Object
The current event log levels that are enabled for sending
via SNMP trap. This information reflects the configuration
values not the current operational parameters in use
by ELS.
The value represents a bit string having a bit defined
for each of the values defined in the ProElsMsgLogLevel
textual convention (excluding the other(1) value, which
is not relevant here.)
The bit string is interpretted as follows:
Bit 15 Bit 1
..............................................
. . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . .
..............................................
1 1 1 1 1 1 1 9 8 7 6 5 4 3 2 <== proElsMsgLogLevel
6 5 4 3 2 1 0 value
For example:
proMsgLevelUIError(2), bit 1
proMsgLevelCIError(3), bit 2
etc.
Note also that the levels:
proMsgLevelError
proMsgLevelInfo
proMsgLevelTrace
proMsgLevelStandard
proMsgLevelAll
are aggregates of other logging levels. So, for example,
turning on proMsgLogLevelError(6) will turn on (set the
bits) for all sub-levels in this category (i.e values
2,3,4 and 5).
Although this MIB variable can take on many values based on
what combination of levels is enabled, the following
represents the values of this MIB variable assuming just the
given level is enabled:
Level Set Value
========= =====
proMsgLevelUIError(2) 1
proMsgLevelCIError(3) 2
proMsgLevelUEError(4) 4
proMsgLevelCEError(5) 8
proMsgLevelError(6) 15
proMsgLevelUInfo(7) 16
proMsgLevelCInfo(8) 32
proMsgLevelInfo(9) 48
proMsgLevelPTrace(10) 256
proMsgLevelUTrace(11) 512
proMsgLevelCTrace(12) 1024
proMsgLevelTrace(13) 1792
proMsgLevelAlways(14) 32768
proMsgLevelStandard(15) 31
proMsgLevelAll(16) 61439
No level set 0
A value of 0 means no ELS logging is enabled.
Context
- MIB
- PROTEON-MIB
- OID
.1.3.6.1.4.1.1.6.2.2.1.9- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- proElsSubSysTableEntry
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 'PROTEON-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROTEON-MIB::proElsSubSysCurrTrapLevel'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PROTEON-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PROTEON-MIB::proElsSubSysCurrTrapLevel.<proElsSubSysIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PROTEON-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PROTEON-MIB::proElsSubSysCurrTrapLevel'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647