Fork me on Github

sysdbd.conf(5) Manual Page

NAME

sysdbd.conf - configuration for the system management and inventory collection service

SYNOPSIS

Interval 300
Listen "unix:/var/run/sysdbd.sock"
<Listen "tcp:some.host.name:12345">
    SSLCertificate "/etc/sysdb/ssl/cert.pem"
    SSLCertificateKey "/etc/sysdb/ssl/key.pem"
</Listen>
LoadPlugin "syslog"
LoadBackend "collectd::unixsock"
LoadBackend "mk-livestatus"
LoadPlugin "timeseries::rrdtool"
<LoadBackend "puppet::store-configs">
    Interval 1800
</LoadBackend>
<Backend "collectd::unixsock">
    <Instance "central-collector">
        Socket "/var/run/collectd-unixsock"
    </Instance>
</Backend>

DESCRIPTION

The sysdbd.conf file controls the behavior of the system management and inventory collection daemon (sysdbd). As the daemon itself does not provide any real (user-facing) functionality, the most important part of the configuration is loading and configuring plugins.

The syntax of this configuration file is similar to that of the Apache webserver. It is made up of options and blocks. Each option contains a key and one or more values separated by spaces and terminated by a newline character. Blocks are enclosed in a start- and end-tag, each on a line of their own. These tags are enclosed in angle brackets and also contain a key and value. A block’s end-tag only contain the key of the start-tag prepended by a forward-slash ("/"). Empty lines are ignored as well as any unquoted hash symbol ("#") including anything following up to the following newline. Keys are unquoted strings consisting only of alphanumeric characters and the underscore character ("_"). Values may either be unquoted strings, quoted strings enclosed in double quotes, numbers or boolean values (true or false). In order to include a double-quote character in a quoted string, escape it using a backslash character ("\"). Floating point numbers use a dot (".") as decimal separator.

Lines may be wrapped by using a backslash character ("\") as the last character before the newline. This allows long lines to be split into multiple lines. Quoted strings may be wrapped as well. However, those are treated special in that whitespace at the beginning of the following lines will be ignored, which allows for nicely indenting the wrapped lines.

GLOBAL SETTINGS

sysdbd accepts the following global options:

Interval <seconds>

Sets the interval at which to query backends by default. The interval is specified in seconds and might be a floating-point value. This option will be used by any "active" backend, that is, those that actively query some external system rather than receiving some stream of events.

Listen <socket>

Sets the address on which sysdbd is to listen for client connections. It supports UNIX domain sockets and TCP sockets using TLS encryption. UNIX socket addresses are specified by the path name of the socket, optionally prefixed with unix:. TCP listen addresses may be specified as <host>:<port>, optionally prefixed with tcp:. The host may be a hostname, an IPv4 address or and IPv6 address. It may be empty or 0.0.0.0 / :: to listen on all local addresses. Listen may optionally be a block containing any of the following options:

SSLCertificate <filename>

Specify the SSL server certificate file to use for SSL connections.

SSLCertificateKey <filename>

Specify the SSL server private key file to use for SSL connections.

SSLCACertificates <filename>

Specify the file containing certificate authority (CA) certificates for client verification purposes to use for SSL connnections.

LoadBackend <name>

Loads the backend named <name>. Backends are special plugins taking care of collecting values from external systems. This may optionally be a block containing any of the following options:

Interval <seconds>

Overwrite the global interval setting by setting a custom interval to be used for this backend. See the global Interval option for more details.

LoadPlugin <name>

Loads the plugin named <name>. Plugins provide additional functionality for sysdbd.

PluginDir <directory>

Sets the base directory for plugins to <directory>. When loading a plugin, it is expected to be found below this directory. This option affects all following LoadBackend or LoadPlugin statements up to the following PluginDir option.

PLUGINS

Some plugins support additional configuration options. Each of these are enclosed in a Plugin or Backend section. The following plugins are shipped with SysDB. See sysdbd-<name>(5) manpages for more details.

Backends:

collectd::unixsock

This backend module accesses the system statistics collection daemon collectd through its UNIX socket interface. It periodically queries all host and metric information.

facter

This backend module retrieves local facter fact values and submits them as host attributes.

mk-livestatus

This backend modules accesses monitoring systems supporting the livestatus addon (e.g., Nagios, Icinga, and Shinken). It periodically queries all host and service information.

puppet::store-configs

This backend module accesses the configuration management system Puppet through its store configs database. It periodically queries all host and facter facts information storing the latter as host attributes.

Time-series fetcher:

timeseries::rrdtool

This plugin adds support for fetching time-series data from RRD files.

Plugins:

cname::dns

Canonicalize hostnames based on a reverse DNS query.

syslog

This logging module sends log messages of the daemon and plugins to the local system’s syslog service.

AUTHOR

SysDB was written by Sebastian "tokkee" Harl <sh@tokkee.org>.

Copyright © 2012-2014 Sebastian "tokkee" Harl <sh@tokkee.org>

This is free software under the terms of the BSD license, see the source for copying conditions. There is NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Latest Releases:

» 0.8.0 — 2016-02-25
» 0.7.0 — 2015-02-21
» 0.6.0 — 2014-11-17

[feed]  RSS | Atom

 

   

 

Imprint | Github | Google+ (Community) | Twitter | Facebook