NetApp
Diagnostics : Logs > Syslog : Understanding Syslog messages : What Syslog messages are

What Syslog messages are
You can monitor the status and operation of managed storage systems by using the Event Management System (EMS) output in Syslog.
Events are generated automatically when a predefined condition occurs or when an object crosses a threshold. When an event occurs, status alert messages might be generated as a result of the event.
EMS is a subsystem in the Data ONTAP kernel where event indications are posted, and from which notification services, such as Syslog, monitor for individual event types. EMS collects event data from various parts of the Data ONTAP kernel and provides a set of filtering and event forwarding mechanisms.
The syslog.conf configuration file
Message logging is done by a syslogd daemon. By default, all system messages (except those with debug-level severity) are sent to the console and logged in the /etc/messages file.
The /etc/syslog.conf configuration file on the storage system’s root volume is the configuration file for the syslogd daemon and it determines how system messages are logged.
Syslog messaging configuration options
You can configure which types of messages to log for a storage system, based upon your combinations of facility and severity level. The facility is the part of the system that is generating the message. For example, defining message type kern.err, invokes logging of all error level events from the kernel.
You can combine the following facilities with the available Syslog severity levels:
An asterisk acts as a wildcard and designates all facilities (except local7). For example, use *.err to see all messages with severity level err from all facilities (except local7).
Syslog message severity levels
The Syslog messages use a different scheme of severity levels than the System Manager monitoring. This is because the Syslog messages are based on EMS messages. The following table defines the possible Syslog message severity levels and shows how they relate to EMS severity levels.
An asterisk acts as a wildcard and designates all severity levels. For example, use kern.* to see all severity level messages generated by the kernel.
Message logging locations
You can configure where a particular message type is logged. You can log messages in the following locations:
•
A console (dev/console)
•
A file (/etc/messages)
•


Was this topic helpful? Send comments to NetApp.