Config Conversion: Update sample icinga2 config.

refs #4701
This commit is contained in:
Michael Friedrich 2013-09-12 18:42:01 +02:00
parent f91c64098b
commit f1e1a716d3
1 changed files with 3 additions and 30 deletions

View File

@ -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 <itl/itl.conf>
include <itl/standalone.conf>
/**
* 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"