rcDeviceCommClearLogs
RUGGEDCOM-SYS-INFO-MIB ·
.1.3.6.1.4.1.15004.4.2.4.5
Object
Setting the value of this object to 'true(1)' will cause device to clear syslog.txt and crashlog.txt files. As a result of Read request the agent will return value 'false(2)'.
Context
- MIB
- RUGGEDCOM-SYS-INFO-MIB
- OID
.1.3.6.1.4.1.15004.4.2.4.5- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rcDeviceCommands
- Groups
- 1
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 'RUGGEDCOM-SYS-INFO-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RUGGEDCOM-SYS-INFO-MIB::rcDeviceCommClearLogs.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RUGGEDCOM-SYS-INFO-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RUGGEDCOM-SYS-INFO-MIB::rcDeviceCommClearLogs'
Syntax
- Source
- SNMPv2-TCTruthValue
- Base type
Enumeration
Type Description
Represents a boolean value.
Values & Constraints
Type Values
1 | true |
2 | false |
Conformance
Member of