upsAgentClearAgentLog
SOCOMECUPS-MIB ·
.1.3.6.1.4.1.4555.1.1.1.1.10.17
Object
scalar mandatory
r/w
Enumeration
Clear agent log data
Context
- MIB
- SOCOMECUPS-MIB
- OID
.1.3.6.1.4.1.4555.1.1.1.1.10.17- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- upsAgent
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 'SOCOMECUPS-MIB' -M '/opt/observium/mibs/socomec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SOCOMECUPS-MIB::upsAgentClearAgentLog.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SOCOMECUPS-MIB' -M '/opt/observium/mibs/socomec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SOCOMECUPS-MIB::upsAgentClearAgentLog'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear |
2 | nothing |