rdnSyslogClear
RDN-SYSLOG-MIB ·
.1.3.6.1.4.1.4981.3.7
Object
scalar r/w
Enumeration
Indicates whether syslog file contains syslog messages. This value is FALSE if syslog contains syslog messages, TRUE otherwise. Set to TRUE to clear all messages from the syslog file.
Context
- MIB
- RDN-SYSLOG-MIB
- OID
.1.3.6.1.4.1.4981.3.7- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- rdnSyslog
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 'RDN-SYSLOG-MIB' -M '/opt/observium/mibs/riverdelta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RDN-SYSLOG-MIB::rdnSyslogClear.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RDN-SYSLOG-MIB' -M '/opt/observium/mibs/riverdelta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RDN-SYSLOG-MIB::rdnSyslogClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | true |
2 | false |