local object IcingaApplication "icinga" {
- cert = "icinga-c1.pem",
- ca = "ca.crt",
-
- node = "192.168.2.235",
- service = 7777,
-
macros = {
plugindir = "/usr/local/icinga/libexec"
}
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" }
}