index 60a465696881ea6bd0c94c57867a5eaa710018f6..0976e804ce91a06ee2fc9b16b137a200106c3125 100644 (file)
# Sample configuration file for the System DataBase daemon (SysDBd).
#
# Sample configuration file for the System DataBase daemon (SysDBd).
#
-#----------------------------------------------------------------------------#
+#============================================================================#
# Global options: #
# This section defines global settings and default values for the daemon. #
# Global options: #
# This section defines global settings and default values for the daemon. #
-#----------------------------------------------------------------------------#
+#============================================================================#
# default interval used for actively polling plugins
Interval 300
# 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. #
# 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 "foo"> #
# Interval 60 #
# </LoadPlugin> #
#----------------------------------------------------------------------------#
-
-LoadBackend "collectd"
+LoadBackend "collectd::unixsock"
LoadBackend "mk-livestatus"
LoadBackend "mk-livestatus"
-LoadBackend "puppet-storeconfigs"
+LoadBackend "puppet::store-configs"
#----------------------------------------------------------------------------#
# Plugin configuration: #
#----------------------------------------------------------------------------#
#----------------------------------------------------------------------------#
# Plugin configuration: #
#----------------------------------------------------------------------------#
-<Backend "collectd">
+<Backend "collectd::unixsock">
<Instance "central-collector">
Socket "/var/run/collectd-unixsock"
</Instance>
<Instance "central-collector">
Socket "/var/run/collectd-unixsock"
</Instance>
</Instance>
</Backend>
</Instance>
</Backend>
-<Backend "puppet-storeconfigs">
+<Backend "puppet::store-configs">
<Connection "puppet">
DBAdapter "pgsql"
DBName "puppet"
<Connection "puppet">
DBAdapter "pgsql"
DBName "puppet"