snmpAdminPrivIndex
BINTEC-ADMIN-MIB ·
.0.3.1.6
Object
scalar r/w
Enumeration
This enables or disables the handling of the private OID part (.i):
auto : the private OID part is appended automatically
- depending on community name
the private OID part is appended, if:
- the community is appended with '+i' or with ''
the private OID part is not appended, if:
- the community is appended with '-i'
the default is to append the private OID index
auto_nopriv: the private OID part is appended automatically
like 'auto', but the default is not to add the
index
both auto settings consider special marked tables
(STDINDEX, EXTINDEX)
always : the private OID part is always appended
(this was the default on former version)
never : the private OID part is never appended
Usually the OIDs have the format:
.1.3.6.x.x .y.y .i
.1.3.6.x.x: is the constant part of the OID of the
variable specified in MIB-source
.y.y : is the specific part of the OID to identify
exactly a row.
It is the content of all index variables.
.i : is a consecutively incremented index number,
to distinguish rows with identical index variables
Context
- MIB
- BINTEC-ADMIN-MIB
- OID
.0.3.1.6- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmpAdmin
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 'BINTEC-ADMIN-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-ADMIN-MIB::snmpAdminPrivIndex.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-ADMIN-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-ADMIN-MIB::snmpAdminPrivIndex'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | auto |
2 | auto-nopriv |
3 | always |
4 | never |