gs2108cClearLog
RUBYTECH-GS2108C-MIB ·
.1.3.6.1.4.1.5205.2.18.1.7.1
Object
scalar r/w
Integer32
Clear system log.
Get this oid always return zero.
1 - clear log.
0 - do nothing.
Context
- MIB
- RUBYTECH-GS2108C-MIB
- OID
.1.3.6.1.4.1.5205.2.18.1.7.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- gs2108cLog
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 'RUBYTECH-GS2108C-MIB' -M '/opt/observium/mibs/rubytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RUBYTECH-GS2108C-MIB::gs2108cClearLog.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RUBYTECH-GS2108C-MIB' -M '/opt/observium/mibs/rubytech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RUBYTECH-GS2108C-MIB::gs2108cClearLog'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1