mirror of https://github.com/Icinga/icinga2.git
parent
30c989074b
commit
25cece444d
|
@ -1,45 +0,0 @@
|
|||
/**
|
||||
* 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>
|
||||
|
||||
set IcingaPidPath = "icinga2.pid"
|
||||
set IcingaStatePath = "icinga2.state"
|
||||
|
||||
set IcingaMacros = {
|
||||
plugindir = "C:\\Plugins"
|
||||
}
|
||||
|
||||
/**
|
||||
* 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"
|
||||
object StatusDataWriter "status" {
|
||||
status_path = "status.dat",
|
||||
objects_path = "objects.cache",
|
||||
}
|
||||
|
||||
/**
|
||||
* And finally we define some host that should be checked.
|
||||
*/
|
||||
object Host "localhost" inherits "itl-host" {
|
||||
services["ping4"] = {
|
||||
templates = [ "ping4" ]
|
||||
},
|
||||
|
||||
macros = {
|
||||
address = "127.0.0.1"
|
||||
},
|
||||
|
||||
check = "ping4"
|
||||
}
|
||||
|
Loading…
Reference in New Issue