snAgSysLogGblClear
HP-SN-AGENT-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.6.1.3
Object
scalar r/w
Enumeration
Clear dynamic and/or static system logging buffers.
Context
- MIB
- HP-SN-AGENT-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.1.2.6.1.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snAgSysLogGbl
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 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-AGENT-MIB::snAgSysLogGblClear.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-AGENT-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-AGENT-MIB::snAgSysLogGblClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | normal |
1 | clearAll |
2 | clearDynamic |
3 | clearStatic |