summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1905dca)
raw | patch | inline | side by side (parent: 1905dca)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 10 Mar 2013 18:31:16 +0000 (19:31 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 10 Mar 2013 18:31:16 +0000 (19:31 +0100) |
src/daemon/sysdbd.conf | patch | blob | history |
diff --git a/src/daemon/sysdbd.conf b/src/daemon/sysdbd.conf
index 4fa379e5ebceb36ad51a82a0d1ac8538b471d737..f6749e1292113035216ffcdc4cbd63941501b38b 100644 (file)
--- a/src/daemon/sysdbd.conf
+++ b/src/daemon/sysdbd.conf
+#
+# 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
+
+#----------------------------------------------------------------------------#
+# 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: #
+# <LoadBackend "foo"> #
+# Interval 60 #
+# </LoadPlugin> #
+#----------------------------------------------------------------------------#
+
LoadBackend "collectd"
+LoadBackend "mk-livestatus"
+LoadBackend "puppet-storeconfigs"
+
+#----------------------------------------------------------------------------#
+# Plugin configuration: #
+#----------------------------------------------------------------------------#
+
+<Backend "collectd">
+ <Instance "central-collector">
+ Socket "/var/run/collectd-unixsock"
+ </Instance>
+</Backend>
+
+<Backend "mk-livestatus">
+ <Instance "nagios4-master">
+ Socket "/var/lib/nagios4/rw/live"
+ </Instance>
+</Backend>
+
+<Backend "puppet-storeconfigs">
+ <Connection "puppet">
+ DBAdapter "pgsql"
+ DBName "puppet"
+ DBServer "puppet.domain.tld"
+ DBPort "5432"
+ DBUser "puppet"
+ DBPassword "secret1"
+ DBIOption "name" "value"
+ </Connection>
+</Backend>