syslogPolicyConfigIndex
HUAWEI-SYSLOG-MIB ·
.1.3.6.1.4.1.2011.6.35.4.1.1
Object
column Integer32
The index of system log policy config.
Context
- MIB
- HUAWEI-SYSLOG-MIB
- OID
.1.3.6.1.4.1.2011.6.35.4.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- syslogPolicyConfigEntry
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 'HUAWEI-SYSLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SYSLOG-MIB::syslogPolicyConfigIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-SYSLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SYSLOG-MIB::syslogPolicyConfigIndex.<syslogPolicyConfigIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SYSLOG-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SYSLOG-MIB::syslogPolicyConfigIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-1024