40210fad05d70403e7ddc7cab50e67565b0e0595
1 #
2 # Sample configuration file for the System DataBase daemon (SysDBd).
3 #
5 #----------------------------------------------------------------------------#
6 # Global options: #
7 # This section defines global settings and default values for the daemon. #
8 #----------------------------------------------------------------------------#
10 # default interval used for actively polling plugins
11 Interval 300
13 #----------------------------------------------------------------------------#
14 # Logging settings: #
15 # These plugins should be loaded first. Else, any log messages will be #
16 # written to the standard error channel which is closed after the daemon has #
17 # started. #
18 #----------------------------------------------------------------------------#
19 LoadPlugin "syslog"
21 #----------------------------------------------------------------------------#
22 # Plugins: #
23 # Plugins are the working horses of SysDB. Load any of the following plugins #
24 # to active the respective feature. #
25 # #
26 # "Backends" are plugins which collect information to be stored in SysDB #
27 # while other plugins may add additional features to the daemon. Each #
28 # backend may use its own custom query interval by specifying the 'Interval' #
29 # option: #
30 # <LoadBackend "foo"> #
31 # Interval 60 #
32 # </LoadPlugin> #
33 #----------------------------------------------------------------------------#
35 LoadBackend "collectd::unixsock"
36 LoadBackend "mk-livestatus"
37 LoadBackend "puppet::store-configs"
39 #----------------------------------------------------------------------------#
40 # Plugin configuration: #
41 #----------------------------------------------------------------------------#
43 <Backend "collectd::unixsock">
44 <Instance "central-collector">
45 Socket "/var/run/collectd-unixsock"
46 </Instance>
47 </Backend>
49 <Backend "mk-livestatus">
50 <Instance "nagios4-master">
51 Socket "/var/lib/nagios4/rw/live"
52 </Instance>
53 </Backend>
55 <Backend "puppet::store-configs">
56 <Connection "puppet">
57 DBAdapter "pgsql"
58 DBName "puppet"
59 DBServer "puppet.domain.tld"
60 DBPort "5432"
61 DBUser "puppet"
62 DBPassword "secret1"
63 DBIOption "name" "value"
64 </Connection>
65 </Backend>