hwLogRetentionPeriod
HUAWEI-SNMP-NOTIFICATION-MIB ·
.1.3.6.1.4.1.2011.6.30.23.2
Object
scalar r/w
dayInteger32
System log retention period. Range: 90-365 Default: 365 Unit: day
Context
- MIB
- HUAWEI-SNMP-NOTIFICATION-MIB
- OID
.1.3.6.1.4.1.2011.6.30.23.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Units
- day
- Parent
- hwLogRetention
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 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwLogRetentionPeriod.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-SNMP-NOTIFICATION-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-SNMP-NOTIFICATION-MIB::hwLogRetentionPeriod'
Syntax
dayInteger32
Values & Constraints
Object Constraints
range: 90-365