X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fdaemon%2Fsysdbd.conf.sample;h=8805cb20f6434be80dd720e55bb7a91ae6935bb9;hb=be91931ffb7a5a9d109f3495a9803ef25f37627e;hp=60a465696881ea6bd0c94c57867a5eaa710018f6;hpb=b7a4c85eca8befee05122d56d31127ad5eb397f2;p=sysdb.git diff --git a/src/daemon/sysdbd.conf.sample b/src/daemon/sysdbd.conf.sample index 60a4656..8805cb2 100644 --- a/src/daemon/sysdbd.conf.sample +++ b/src/daemon/sysdbd.conf.sample @@ -2,37 +2,50 @@ # 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. # +#----------------------------------------------------------------------------# +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: # # # # Interval 60 # # # #----------------------------------------------------------------------------# - -LoadBackend "collectd" +LoadBackend "collectd::unixsock" LoadBackend "mk-livestatus" -LoadBackend "puppet-storeconfigs" +LoadBackend "puppet::store-configs" #----------------------------------------------------------------------------# # Plugin configuration: # #----------------------------------------------------------------------------# - + Socket "/var/run/collectd-unixsock" @@ -44,7 +57,7 @@ LoadBackend "puppet-storeconfigs" - + DBAdapter "pgsql" DBName "puppet"