myLogFileMaxSize
MY-LOG-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.4.1.8
Object
scalar r/w
Integer32
The size of log file in units of byte.
Context
- MIB
- MY-LOG-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.4.1.8- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
4096- Parent
- myLogMIBObjects
- Groups
- 1
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 'MY-LOG-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-LOG-MIB::myLogFileMaxSize.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-LOG-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-LOG-MIB::myLogFileMaxSize'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 4096-2000000
Conformance
Member of