sonusCpEvLogAdminState
HORNET-BASE-TRAPS-MIB ·
.1.3.6.1.4.1.2879.2.8.1.2.1.4.1.1
Object
scalar Enumeration
The requested state of the given Event Log type. Rollfile will close an enabled log file and reopen, incrementing the suffix. If a file is disabled and rolled, the command is ignored.
Context
- MIB
- HORNET-BASE-TRAPS-MIB
- OID
.1.3.6.1.4.1.2879.2.8.1.2.1.4.1.1- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- sonusCpEventLogMIBNotificationsObjects
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 'HORNET-BASE-TRAPS-MIB' -M '/opt/observium/mibs/ribbon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HORNET-BASE-TRAPS-MIB::sonusCpEvLogAdminState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HORNET-BASE-TRAPS-MIB' -M '/opt/observium/mibs/ribbon:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HORNET-BASE-TRAPS-MIB::sonusCpEvLogAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | disabled |
2 | enabled |
3 | rollfile |