Code

Merged branch 'master' of git://git.tokkee.org/sysdb.
[sysdb.git] / src / daemon / sysdbd.conf.sample
index 60a465696881ea6bd0c94c57867a5eaa710018f6..0976e804ce91a06ee2fc9b16b137a200106c3125 100644 (file)
@@ -2,37 +2,52 @@
 # Sample 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
 
-#----------------------------------------------------------------------------#
+#============================================================================#
+# Logging settings:                                                          #
+# These plugins should be loaded first. Else, any log messages will be       #
+# written to the standard error channel which is closed after the daemon has #
+# started.                                                                   #
+#============================================================================#
+LoadPlugin "syslog"
+
+#============================================================================#
 # 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:                                                                    #
+#============================================================================#
+
+#----------------------------------------------------------------------------#
+# "cname" plugins canonicalize hostnames before actually storing them. All   #
+# cname callbacks are applied to an hostname in the order in which they have #
+# been loaded, each receiving the result of the previous call.               #
+#----------------------------------------------------------------------------#
+LoadPlugin "cname::dns"
+
+#----------------------------------------------------------------------------#
+# "Backends" are plugins which collect information to be stored in SysDB.    #
+# Each backend may use its own custom query interval by specifying the       #
+# 'Interval' option:                                                         #
 #   <LoadBackend "foo">                                                      #
 #       Interval 60                                                          #
 #   </LoadPlugin>                                                            #
 #----------------------------------------------------------------------------#
-
-LoadBackend "collectd"
+LoadBackend "collectd::unixsock"
 LoadBackend "mk-livestatus"
-LoadBackend "puppet-storeconfigs"
+LoadBackend "puppet::store-configs"
 
 #----------------------------------------------------------------------------#
 # Plugin configuration:                                                      #
 #----------------------------------------------------------------------------#
 
-<Backend "collectd">
+<Backend "collectd::unixsock">
        <Instance "central-collector">
                Socket "/var/run/collectd-unixsock"
        </Instance>
@@ -44,7 +59,7 @@ LoadBackend "puppet-storeconfigs"
        </Instance>
 </Backend>
 
-<Backend "puppet-storeconfigs">
+<Backend "puppet::store-configs">
        <Connection "puppet">
                DBAdapter "pgsql"
                DBName "puppet"