mirror of https://github.com/Icinga/icinga2.git
Updated standalone config example.
This commit is contained in:
parent
94434e343d
commit
c1ce5ed8ba
|
@ -1,10 +1,4 @@
|
|||
local object IcingaApplication "icinga" {
|
||||
cert = "icinga-c1.pem",
|
||||
ca = "ca.crt",
|
||||
|
||||
node = "192.168.2.235",
|
||||
service = 7777,
|
||||
|
||||
macros = {
|
||||
plugindir = "/usr/local/icinga/libexec"
|
||||
}
|
||||
|
@ -42,20 +36,6 @@ abstract object Service "ping" inherits "nagios-service" {
|
|||
retry_interval = 5
|
||||
}
|
||||
|
||||
object Service "localhost-ping1" inherits "ping" {
|
||||
host_name = "localhost",
|
||||
|
||||
macros += {
|
||||
address = "localhost"
|
||||
}
|
||||
}
|
||||
|
||||
object Service "localhost-ping2" inherits "ping" {
|
||||
host_name = "localhost",
|
||||
|
||||
macros += {
|
||||
address = "localhost"
|
||||
},
|
||||
|
||||
dependencies = { "localhost-ping1" }
|
||||
object Host "localhost" {
|
||||
services = { "ping" }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue