Code

sysdbd.conf(5), sysdbd.conf: Documented the 'Listen' option.
[sysdb.git] / doc / sysdbd.conf.5.txt
1 sysdbd.conf(5)
2 ==============
3 Sebastian "tokkee" Harl <sh@tokkee.org>
4 version {package_version}, {build_date}
5 :doctype: manpage
7 NAME
8 ----
9 sysdbd.conf - configuration for the system management and inventory collection
10 service
12 SYNOPSIS
13 --------
14   Interval 300
16   Listen "unix:/var/run/sysdbd.sock"
18   LoadPlugin "syslog"
20   LoadBackend "collectd::unixsock"
21   LoadBackend "mk-livestatus"
23   <LoadBackend "puppet::store-configs">
24       Interval 1800
25   </LoadBackend>
27   <Backend "collectd::unixsock">
28       <Instance "central-collector">
29           Socket "/var/run/collectd-unixsock"
30       </Instance>
31   </Backend>
33 DESCRIPTION
34 -----------
35 The *sysdbd.conf* file controls the behavior of the system management and
36 inventory collection daemon (*sysdbd*). As the daemon itself does not provide
37 any real (user-facing) functionality, the most important part of the
38 configuration is loading and configuring plugins.
40 The syntax of this configuration file is similar to that of the Apache
41 webserver. It is made up of _options_ and _sections_. Each option contains a
42 _key_ and one or more _values_ separated by spaces and terminated by a newline
43 character. Sections are enclosed in a start- and end-tag, each on a line of
44 their own. These tags are enclosed in angle brackets and also contain a key
45 and value. Section end-tags only contain the key of the start-tag prepended by
46 a forward-slash ("/"). Empty lines are ignored as well as any unquoted hash
47 symbol ("#") including anything following up to the following newline. Keys
48 are unquoted strings consisting only of alphanumeric characters and the
49 underscore character ("_"). Values may either be unquoted strings, quoted
50 strings enclosed in double quotes, numbers or boolean values (*true* or
51 *false*). In order to include a double-quote character in a quoted string,
52 escape it using a backslash character ("\"). Floating point numbers use a dot
53 (".") as decimal separator.
55 Lines may be wrapped by using a backslash character ("\") as the last
56 character before the newline. This allows long lines to be split into multiple
57 lines. Quoted strings may be wrapped as well. However, those are treated
58 special in that whitespace at the beginning of the following lines will be
59 ignored, which allows for nicely indenting the wrapped lines.
61 GLOBAL SETTINGS
62 ---------------
63 *sysdbd* accepts the following global options:
65 *Interval* '<seconds>'::
66         Sets the interval at which to query backends by default. The interval is
67         specified in seconds and might be a floating-point value. This option will
68         be used by any "active" backend, that is, those that actively query some
69         external system rather than receiving some stream of events.
71 *Listen* '<socket>'::
72         Sets the address on which sysdbd is to listen for client connections. It
73         supports UNIX domain sockets. The path name needs to be prefixed by
74         'unix:'.
76 *LoadBackend* '<name>'::
77         Loads the backend named '<name>'. Backends are special plugins taking care
78         of collecting values from external systems. This may optionally be a
79         section containing any of the following options:
81         *Interval* '<seconds>';;
82                 Overwrite the global interval setting by setting a custom interval to
83                 be used for this backend. See the global *Interval* option for more
84                 details.
86 PLUGINS
87 -------
88 Some plugins support additional configuration options. Each of these are
89 enclosed in a *Plugin* or *Backend* section. The following plugins are shipped
90 with SysDB. See *sysdb*-'<name>'(5) manpages for more details.
92 *collectd::unixsock*::
93 This backend module accesses the system statistics collection daemon
94 *collectd* through its UNIX socket interface. It periodically queries all host
95 and service information.
96 +
97 See also: http://collectd.org
99 *mk-livestatus*::
100 This backend modules accesses monitoring systems supporting the *livestatus*
101 addon (e.g., *Nagios*, *Icinga*, and *Shinken*). It periodically queries all
102 host and service information.
104 See also: http://mathias-kettner.de/checkmk_livestatus.html,
105 http://www.nagios.org/, http://icinga.org/, http://www.shinken-monitoring.org/
107 *puppet::store-configs*::
108 This backend module accesses the configuration management system *Puppet*
109 through its *store configs* database. It periodically queries all host and
110 facter facts information storing the latter as host attributes.
112 See also: http://puppetlabs.com/puppet,
113 http://puppetlabs.com/puppet/related-projects/facter/
115 *syslog*::
116 This logging module sends log messages of the daemon and plugins to the local
117 system's syslog service.
119 SEE ALSO
120 --------
121 *sysdbd*(1)
123 AUTHOR
124 ------
125 sysdbd was written by Sebastian "tokkee" Harl <sh@tokkee.org>.
127 COPYRIGHT
128 ---------
129 Copyright (C) 2012-2013 Sebastian "tokkee" Harl <sh@tokkee.org>
131 This is free software under the terms of the BSD license, see the source for
132 copying conditions. There is NO WARRANTY; not even for MERCHANTABILITY or
133 FITNESS FOR A PARTICULAR PURPOSE.
135 // vim: set tw=78 sw=4 ts=4 noexpandtab spell spelllang=en_us :