8805cb20f6434be80dd720e55bb7a91ae6935bb9
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 #============================================================================#
27 #----------------------------------------------------------------------------#
28 # "cname" plugins canonicalize hostnames before actually storing them. #
29 #----------------------------------------------------------------------------#
30 LoadPlugin "cname::dns"
32 #----------------------------------------------------------------------------#
33 # "Backends" are plugins which collect information to be stored in SysDB. #
34 # Each backend may use its own custom query interval by specifying the #
35 # 'Interval' option: #
36 # <LoadBackend "foo"> #
37 # Interval 60 #
38 # </LoadPlugin> #
39 #----------------------------------------------------------------------------#
40 LoadBackend "collectd::unixsock"
41 LoadBackend "mk-livestatus"
42 LoadBackend "puppet::store-configs"
44 #----------------------------------------------------------------------------#
45 # Plugin configuration: #
46 #----------------------------------------------------------------------------#
48 <Backend "collectd::unixsock">
49 <Instance "central-collector">
50 Socket "/var/run/collectd-unixsock"
51 </Instance>
52 </Backend>
54 <Backend "mk-livestatus">
55 <Instance "nagios4-master">
56 Socket "/var/lib/nagios4/rw/live"
57 </Instance>
58 </Backend>
60 <Backend "puppet::store-configs">
61 <Connection "puppet">
62 DBAdapter "pgsql"
63 DBName "puppet"
64 DBServer "puppet.domain.tld"
65 DBPort "5432"
66 DBUser "puppet"
67 DBPassword "secret1"
68 DBIOption "name" "value"
69 </Connection>
70 </Backend>