mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 13:45:04 +02:00
Update example config files.
This commit is contained in:
parent
b3ff87b9dd
commit
1b205d73c9
@ -18,12 +18,13 @@ set IcingaMacros = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The compat component periodically updates the status.dat and objects.cache
|
* The compat library periodically updates the status.dat and objects.cache
|
||||||
* files. These are used by the Icinga 1.x CGIs to display the state of
|
* files. These are used by the Icinga 1.x CGIs to display the state of
|
||||||
* hosts and services. CompatLog writeis the Icinga 1.x icinga.log and archives.
|
* hosts and services. CompatLog writeis the Icinga 1.x icinga.log and archives.
|
||||||
*/
|
*/
|
||||||
library "compat"
|
library "compat"
|
||||||
object CompatComponent "compat" { }
|
object StatusDataWriter "status" { }
|
||||||
|
object ExternalCommandListener "command" { }
|
||||||
object CompatLog "compat-log" { }
|
object CompatLog "compat-log" { }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -67,7 +68,5 @@ object Host "localhost" {
|
|||||||
address6 = "::1",
|
address6 = "::1",
|
||||||
},
|
},
|
||||||
|
|
||||||
hostcheck = "ping4",
|
check = "ping4",
|
||||||
|
|
||||||
check_interval = 1m
|
|
||||||
}
|
}
|
||||||
|
@ -10,16 +10,11 @@
|
|||||||
#include <itl/itl.conf>
|
#include <itl/itl.conf>
|
||||||
#include <itl/standalone.conf>
|
#include <itl/standalone.conf>
|
||||||
|
|
||||||
/**
|
set IcingaPidPath = "icinga2.pid"
|
||||||
* Global configuration settings
|
set IcingaStatePath = "icinga2.state"
|
||||||
*/
|
|
||||||
object IcingaApplication "icinga" {
|
|
||||||
pid_path = "icinga2.pid",
|
|
||||||
state_path = "icinga2.state",
|
|
||||||
|
|
||||||
macros = {
|
set IcingaMacros = {
|
||||||
plugindir = "C:\\Plugins"
|
plugindir = "C:\\Plugins"
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -28,7 +23,7 @@ object IcingaApplication "icinga" {
|
|||||||
* hosts and services.
|
* hosts and services.
|
||||||
*/
|
*/
|
||||||
library "compat"
|
library "compat"
|
||||||
object Component "compat" {
|
object StatusDataWriter "status" {
|
||||||
status_path = "status.dat",
|
status_path = "status.dat",
|
||||||
objects_path = "objects.cache",
|
objects_path = "objects.cache",
|
||||||
}
|
}
|
||||||
@ -45,6 +40,6 @@ object Host "localhost" inherits "itl-host" {
|
|||||||
address = "127.0.0.1"
|
address = "127.0.0.1"
|
||||||
},
|
},
|
||||||
|
|
||||||
check_interval = 1m
|
check = "ping4"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user