From 535ba6bcd978445606450f63e25a86c3c3a0073d Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Fri, 10 Jan 2014 09:23:35 +0100 Subject: [PATCH] sysdbd.conf(5), sysdbd.conf: Documented the 'Listen' option. And added a sample configuration. --- doc/sysdbd.conf.5.txt | 7 +++++++ src/tools/sysdbd/sysdbd.conf.sample | 3 +++ 2 files changed, 10 insertions(+) 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 # -- 2.30.2