targetLogType
G6-LOGGING-MIB ·
.1.3.6.1.4.1.3181.10.6.3.71.3.1.4
Object
column r/w
Enumeration
Specifes the type of event forwarding to match the desired manager.
Context
- MIB
- G6-LOGGING-MIB
- OID
.1.3.6.1.4.1.3181.10.6.3.71.3.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- targetEntry
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 'G6-LOGGING-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-LOGGING-MIB::targetLogType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-LOGGING-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-LOGGING-MIB::targetLogType.<targetIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-LOGGING-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-LOGGING-MIB::targetLogType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | syslog |
2 | snmpTrapV1 |
3 | snmpTrapV2c |
4 | snmpTrapV3 |
5 | snmpInformV2c |
6 | snmpInformV3 |
7 | displayInCli |
8 | recentLogs |