Difference between revisions of "Plugin:SysLog"

From collectd Wiki
Jump to: navigation, search
(Relicensed to MIT license.)
 
Line 9: Line 9:
 
   | Manpage={{Manpage|collectd.conf|5|plugin_syslog}}
 
   | Manpage={{Manpage|collectd.conf|5|plugin_syslog}}
 
}}
 
}}
The '''SysLog plugin''' receives log messages from the daemon and dispatches them to <em>syslog(3)</em>. It consumes notifications if the ''NotifyLevel'' option is provided.
+
The '''SysLog plugin''' receives log messages from the daemon and dispatches them to <em>syslog(3)</em>. At version 5.1 and later, the Syslog plugin can also act as a consumer of [[Notifications_and_thresholds|Notifications]] if the ''NotifyLevel'' option is provided.
 +
 
 +
Currently, using <tt>LogLevel "debug"</tt> is only valid if the collectd sources are built with <tt>-DCOLLECT_DEBUG</tt> at compilation time.  
  
 
== Synopsis ==
 
== Synopsis ==

Latest revision as of 20:13, 1 September 2016

Syslog plugin
Type: log
Callbacks: config, log, shutdown
Status: supported
First version: 1.2
Copyright: 2007 Florian Forster
License: MIT license
Manpage: collectd.conf(5)
List of Plugins

The SysLog plugin receives log messages from the daemon and dispatches them to syslog(3). At version 5.1 and later, the Syslog plugin can also act as a consumer of Notifications if the NotifyLevel option is provided.

Currently, using LogLevel "debug" is only valid if the collectd sources are built with -DCOLLECT_DEBUG at compilation time.

Synopsis

<Plugin "syslog">
  LogLevel "info"
  NotifyLevel "OKAY"
</Plugin>

Dependencies

  • syslog(3)

See also