Plugin:UnixSock

From collectd Wiki
Revision as of 17:42, 1 March 2009 by Octo (talk | contribs) (Created initial page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

The UnixSock plugin opens a UNIX domain socket and accepts connections. Using this socket one can send commands to the daemon and receive information.

This plugin is a generic plugin, i.e. it cannot work without configuration, because there is no reasonable default behavior. Please read the Plugin unixsock section of the collectd.conf(5) manual page for an in-depth description of the plugin's configuration. The protocol understood by the UnixSock plugin is documented in the collectd-unixsock(5) manual page.

Synopsis

LoadPlugin unixsock
# ...
<Plugin unixsock>
  SocketFile "/path/to/socket"
  SocketGroup "collectd"
  SocketPerms "0770"
</Plugin>

Dependencies

  • none