Code

304b0bb4c9feb33d75671904417526a4c007c9cb
[sysdb.git] / src / daemon / sysdbd.conf.sample
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 # Plugins:                                                                   #
15 # Plugins are the working horses of SysDB. Load any of the following plugins #
16 # to active the respective feature.                                          #
17 #                                                                            #
18 # "Backends" are plugins which collect information to be stored in SysDB     #
19 # while other plugins may add additional features to the daemon. Each        #
20 # backend may use its own custom query interval by specifying the 'Interval' #
21 # option:                                                                    #
22 #   <LoadBackend "foo">                                                      #
23 #       Interval 60                                                          #
24 #   </LoadPlugin>                                                            #
25 #----------------------------------------------------------------------------#
27 LoadBackend "collectd::unixsock"
28 LoadBackend "mk-livestatus"
29 LoadBackend "puppet::store-configs"
31 #----------------------------------------------------------------------------#
32 # Plugin configuration:                                                      #
33 #----------------------------------------------------------------------------#
35 <Backend "collectd::unixsock">
36         <Instance "central-collector">
37                 Socket "/var/run/collectd-unixsock"
38         </Instance>
39 </Backend>
41 <Backend "mk-livestatus">
42         <Instance "nagios4-master">
43                 Socket "/var/lib/nagios4/rw/live"
44         </Instance>
45 </Backend>
47 <Backend "puppet::store-configs">
48         <Connection "puppet">
49                 DBAdapter "pgsql"
50                 DBName "puppet"
51                 DBServer "puppet.domain.tld"
52                 DBPort "5432"
53                 DBUser "puppet"
54                 DBPassword "secret1"
55                 DBIOption "name" "value"
56         </Connection>
57 </Backend>