Code

sysdbd.conf(5), sysdbd.conf: Documented the 'Listen' option.
authorSebastian Harl <sh@tokkee.org>
Fri, 10 Jan 2014 08:23:35 +0000 (09:23 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 10 Jan 2014 08:23:35 +0000 (09:23 +0100)
And added a sample configuration.

doc/sysdbd.conf.5.txt
src/tools/sysdbd/sysdbd.conf.sample

index 131c75548d05a2e846a6c83f1c92979717652857..6b41dabbab83db5be9ff996a5187affe7e77cadf 100644 (file)
@@ -13,6 +13,8 @@ SYNOPSIS
 --------
   Interval 300
 
 --------
   Interval 300
 
+  Listen "unix:/var/run/sysdbd.sock"
+
   LoadPlugin "syslog"
 
   LoadBackend "collectd::unixsock"
   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.
 
        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. The path name needs to be prefixed by
+       'unix:'.
+
 *LoadBackend* '<name>'::
        Loads the backend named '<name>'. Backends are special plugins taking care
        of collecting values from external systems. This may optionally be a
 *LoadBackend* '<name>'::
        Loads the backend named '<name>'. Backends are special plugins taking care
        of collecting values from external systems. This may optionally be a
index 0976e804ce91a06ee2fc9b16b137a200106c3125..2f45bc9c038bf9ca2ce499eb8dcd901a1c6f9108 100644 (file)
@@ -10,6 +10,9 @@
 # default interval used for actively polling plugins
 Interval 300
 
 # 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       #
 #============================================================================#
 # Logging settings:                                                          #
 # These plugins should be loaded first. Else, any log messages will be       #