# # 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 # 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 # # 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. # #============================================================================# #----------------------------------------------------------------------------# # "Store" plugins provide means to store and/or query information. # #----------------------------------------------------------------------------# LoadPlugin "store::memory" LoadPlugin "store::network" #----------------------------------------------------------------------------# # "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: # # # # Interval 60 # # # #----------------------------------------------------------------------------# LoadBackend "collectd::unixsock" LoadBackend "facter" LoadBackend "mk-livestatus" LoadBackend "puppet::store-configs" #----------------------------------------------------------------------------# # Plugin configuration: # #----------------------------------------------------------------------------# Socket "/var/run/collectd-unixsock" TimeseriesBackend "rrdtool" TimeseriesBaseURL "/var/lib/collectd/rrd" Socket "/var/lib/nagios4/rw/live" DBAdapter "pgsql" DBName "puppet" DBServer "puppet.domain.tld" DBPort "5432" DBUser "puppet" DBPassword "secret1" DBIOption "name" "value"