Code

sysdbd.conf: Added sample configuration for each plugin.
authorSebastian Harl <sh@tokkee.org>
Sun, 10 Mar 2013 18:31:16 +0000 (19:31 +0100)
committerSebastian Harl <sh@tokkee.org>
Sun, 10 Mar 2013 18:31:16 +0000 (19:31 +0100)
src/daemon/sysdbd.conf

index 4fa379e5ebceb36ad51a82a0d1ac8538b471d737..f6749e1292113035216ffcdc4cbd63941501b38b 100644 (file)
@@ -1,2 +1,58 @@
+#
+# Configuration file for the System DataBase daemon (SysDBd).
+#
+
+#----------------------------------------------------------------------------#
+# Global options:                                                            #
+# This section defines global settings and default values for the daemon.    #
+#----------------------------------------------------------------------------#
+
+# default interval used for actively polling plugins
+Interval 300
+
+#----------------------------------------------------------------------------#
+# Plugins:                                                                   #
+# Plugins are the working horses of SysDB. Load any of the following plugins #
+# to active the respective feature.                                          #
+#                                                                            #
+# "Backends" are plugins which collect information to be stored in SysDB     #
+# while other plugins may add additional features to the daemon. Each        #
+# backend may use its own custom query interval by specifying the 'Interval' #
+# option:                                                                    #
+#   <LoadBackend "foo">                                                      #
+#       Interval 60                                                          #
+#   </LoadPlugin>                                                            #
+#----------------------------------------------------------------------------#
+
 LoadBackend "collectd"
+LoadBackend "mk-livestatus"
+LoadBackend "puppet-storeconfigs"
+
+#----------------------------------------------------------------------------#
+# Plugin configuration:                                                      #
+#----------------------------------------------------------------------------#
+
+<Backend "collectd">
+       <Instance "central-collector">
+               Socket "/var/run/collectd-unixsock"
+       </Instance>
+</Backend>
+
+<Backend "mk-livestatus">
+       <Instance "nagios4-master">
+               Socket "/var/lib/nagios4/rw/live"
+       </Instance>
+</Backend>
+
+<Backend "puppet-storeconfigs">
+       <Connection "puppet">
+               DBAdapter "pgsql"
+               DBName "puppet"
+               DBServer "puppet.domain.tld"
+               DBPort "5432"
+               DBUser "puppet"
+               DBPassword "secret1"
+               DBIOption "name" "value"
+       </Connection>
+</Backend>