snmpSyslogCollectorDefaultFacility
CISCOSB-IETF-SYSLOG-DEVICE-MIB ·
.1.3.6.1.4.1.9.6.1.101.82.1.2.6
Object
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
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 '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
16 | local0 |
17 | local1 |
18 | local2 |
19 | local3 |
20 | local4 |
21 | local5 |
22 | local6 |
23 | local7 |
24 | no-map |
Conformance
Member of
Compliance refinements
snmpSyslogDeviceCompliance
readonly
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.
do not support configuring the syslog facility at all,
or do not want to support a configurable default.
Hopefully, it is only the later.