Updated standalone config example.

This commit is contained in:
Gunnar Beutner 2012-08-17 13:56:04 +02:00
parent 94434e343d
commit c1ce5ed8ba
1 changed files with 2 additions and 22 deletions

View File

@ -1,10 +1,4 @@
local object IcingaApplication "icinga" { local object IcingaApplication "icinga" {
cert = "icinga-c1.pem",
ca = "ca.crt",
node = "192.168.2.235",
service = 7777,
macros = { macros = {
plugindir = "/usr/local/icinga/libexec" plugindir = "/usr/local/icinga/libexec"
} }
@ -42,20 +36,6 @@ abstract object Service "ping" inherits "nagios-service" {
retry_interval = 5 retry_interval = 5
} }
object Service "localhost-ping1" inherits "ping" { object Host "localhost" {
host_name = "localhost", services = { "ping" }
macros += {
address = "localhost"
}
}
object Service "localhost-ping2" inherits "ping" {
host_name = "localhost",
macros += {
address = "localhost"
},
dependencies = { "localhost-ping1" }
} }