From: Gunnar Beutner Date: Fri, 17 Aug 2012 11:56:04 +0000 (+0200) Subject: Updated standalone config example. X-Git-Tag: v0.0.1~131 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c1ce5ed8ba1fe0153fc03de5da7c9c8571d18015;p=icinga2 Updated standalone config example. --- diff --git a/icinga-app/icinga-standalone.conf b/icinga-app/icinga-standalone.conf index cfd3395f7..e85112777 100644 --- a/icinga-app/icinga-standalone.conf +++ b/icinga-app/icinga-standalone.conf @@ -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" } }