From c1ce5ed8ba1fe0153fc03de5da7c9c8571d18015 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Fri, 17 Aug 2012 13:56:04 +0200 Subject: [PATCH] Updated standalone config example. --- icinga-app/icinga-standalone.conf | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) 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" } } -- 2.50.1