From: Sebastian Harl Date: Fri, 10 Jan 2014 08:23:35 +0000 (+0100) Subject: sysdbd.conf(5), sysdbd.conf: Documented the 'Listen' option. X-Git-Tag: sysdb-0.1.0~242 X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=commitdiff_plain;h=535ba6bcd978445606450f63e25a86c3c3a0073d sysdbd.conf(5), sysdbd.conf: Documented the 'Listen' option. And added a sample configuration. --- diff --git a/doc/sysdbd.conf.5.txt b/doc/sysdbd.conf.5.txt index 131c755..6b41dab 100644 --- a/doc/sysdbd.conf.5.txt +++ b/doc/sysdbd.conf.5.txt @@ -13,6 +13,8 @@ SYNOPSIS -------- Interval 300 + Listen "unix:/var/run/sysdbd.sock" + LoadPlugin "syslog" LoadBackend "collectd::unixsock" @@ -66,6 +68,11 @@ GLOBAL SETTINGS be used by any "active" backend, that is, those that actively query some external system rather than receiving some stream of events. +*Listen* '':: + Sets the address on which sysdbd is to listen for client connections. It + supports UNIX domain sockets. The path name needs to be prefixed by + 'unix:'. + *LoadBackend* '':: Loads the backend named ''. Backends are special plugins taking care of collecting values from external systems. This may optionally be a diff --git a/src/tools/sysdbd/sysdbd.conf.sample b/src/tools/sysdbd/sysdbd.conf.sample index 0976e80..2f45bc9 100644 --- a/src/tools/sysdbd/sysdbd.conf.sample +++ b/src/tools/sysdbd/sysdbd.conf.sample @@ -10,6 +10,9 @@ # default interval used for actively polling plugins Interval 300 +# listening socket for client connections +Listen "unix:/var/run/sysdbd.sock" + #============================================================================# # Logging settings: # # These plugins should be loaded first. Else, any log messages will be #