From f1e1a716d3732f23f9ad08ba7bfeec92feb8e82e Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 12 Sep 2013 18:42:01 +0200 Subject: [PATCH] Config Conversion: Update sample icinga2 config. refs #4701 --- tools/configconvert/icinga2-conv.conf | 33 +++------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/tools/configconvert/icinga2-conv.conf b/tools/configconvert/icinga2-conv.conf index c9f86de7a..841d41476 100644 --- a/tools/configconvert/icinga2-conv.conf +++ b/tools/configconvert/icinga2-conv.conf @@ -1,37 +1,10 @@ -/** - * 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 include -/** - * Global configuration settings - */ -local object IcingaApplication "icinga" { - macros = { - plugindir = "/usr/local/icinga/libexec" - } -} +include "conf/resource.conf" -/** - * 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" { } -local object CompatLog "compat-log" { } - -/* -local object ConsoleLogger "my-debug-log" { - severity = "debug" -} -*/ +object CompatComponent "compat" { } +object CompatLog "compat-log" { } include "conf/*.conf"