snmpSyslogCollectorDefaultFacility

CISCOSB-IETF-SYSLOG-DEVICE-MIB · .1.3.6.1.4.1.9.6.1.101.82.1.2.6

Object

scalar r/w SyslogFacility
The default syslog facility (local0-local7) that will be
encoded in syslog messages.
          
This value will be used as the default value for
snmpSyslogCollectorFacility when creating rows in the
snmpSyslogCollectorTable and either:
          
1.)  no value is specified for snmpSyslogCollectorFacility, or
          
2.)  snmpSyslogCollectorFacility is implemented read-only.
          
If snmpSyslogCollectorFacility is implemented read-only,
and this value is changed, it SHOULD affect the syslog
facility that is encoded in all syslog messages as soon
as it is practical.
          
This parameter value is maintained across system reboots.

Context

MIB
CISCOSB-IETF-SYSLOG-DEVICE-MIB
OID
.1.3.6.1.4.1.9.6.1.101.82.1.2.6
Type
scalar
Access
readwrite
Status
current
Parent
snmpSyslogCollector
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCOSB-IETF-SYSLOG-DEVICE-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCOSB-IETF-SYSLOG-DEVICE-MIB::snmpSyslogCollectorDefaultFacility.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCOSB-IETF-SYSLOG-DEVICE-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCOSB-IETF-SYSLOG-DEVICE-MIB::snmpSyslogCollectorDefaultFacility'

Syntax

Source
SyslogFacility
Base type
Enumeration

Values & Constraints

Type Values
16local0
17local1
18local2
19local3
20local4
21local5
22local6
23local7
24no-map

Conformance

Member of
Compliance refinements
Write access is not required for implementations that
do not support configuring the syslog facility at all,
or do not want to support a configurable default.
Hopefully, it is only the later.