genericLogsMonthsNumberOfEntries
SP2-MIB ·
.1.3.6.1.4.1.12148.10.13.27.1.5
Object
column SNMPv2-SMIInteger32
This is the maximal number of entries stored in monthly log
Context
- MIB
- SP2-MIB
- OID
.1.3.6.1.4.1.12148.10.13.27.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- genericLogsEntry
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 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SP2-MIB::genericLogsMonthsNumberOfEntries'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SP2-MIB::genericLogsMonthsNumberOfEntries.<genericLogsIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SP2-MIB' -M '/opt/observium/mibs/eltek:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SP2-MIB::genericLogsMonthsNumberOfEntries'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647