[icinga-checkins] icinga.org: icinga2/feature/configconvert-2743: configconvert: add small main config file for standalone tests

git at icinga.org git at icinga.org
Thu May 2 22:17:33 CEST 2013


Module: icinga2
Branch: feature/configconvert-2743
Commit: b4486c6bc3db348c554c213c4b58071927f8a5c8
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=b4486c6bc3db348c554c213c4b58071927f8a5c8

Author: Michael Friedrich <michael.friedrich at netways.de>
Date:   Thu May  2 20:45:02 2013 +0200

configconvert: add small main config file for standalone tests

refs #2743

---

 contrib/configconvert/icinga2-conv.conf |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/contrib/configconvert/icinga2-conv.conf b/contrib/configconvert/icinga2-conv.conf
new file mode 100644
index 0000000..0e364c0
--- /dev/null
+++ b/contrib/configconvert/icinga2-conv.conf
@@ -0,0 +1,30 @@
+/**
+ * Icinga 2 configuration file
+ * - this is where you define settings for the Icinga application including
+ * which hosts/services to check.
+ *
+ * The docs/icinga2-config.txt file in the source tarball has a detailed
+ * description of what configuration options are available.
+ */
+
+include <itl/itl.conf>
+include <itl/standalone.conf>
+
+/**
+ * Global configuration settings
+ */
+local object IcingaApplication "icinga" {
+ macros = {
+    plugindir = "/usr/local/icinga/libexec"
+  }
+}
+
+/**
+ * The compat component periodically updates the status.dat and objects.cache
+ * files. These are used by the Icinga 1.x CGIs to display the state of
+ * hosts and services.
+ */
+library "compat"
+local object CompatComponent "compat" { }
+
+include "conf/*.conf"





More information about the icinga-checkins mailing list