]> granicus.if.org Git - icinga2/commitdiff
Updated standalone config example.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 17 Aug 2012 11:56:04 +0000 (13:56 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 17 Aug 2012 11:56:04 +0000 (13:56 +0200)
icinga-app/icinga-standalone.conf

index cfd3395f721235898bfaa5605e0e7081fa1199a9..e851127771f6d6a6b309cdff33cdc360e324b9cc 100644 (file)
@@ -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" }
 }