From af8071a5ed3cabbb87cc046e282563bbd8e5c578 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 30 May 2013 00:30:19 +0200 Subject: [PATCH] working minimal json with two existing hosts --- linspector.minimal.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/linspector.minimal.json b/linspector.minimal.json index 157b139..9cbf26d 100644 --- a/linspector.minimal.json +++ b/linspector.minimal.json @@ -1,5 +1,5 @@ { - "services": {"ping": {"command": "ping @host"}}, + "services": {"ping": {"command": "ping -c 1 @host"}}, "filters": { "email": @@ -21,15 +21,15 @@ "periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}}, "hosts": { - "hanez1": {"host": "www1.hanez.org", "services": {"ping":[{}]}}, - "hanez2": {"host": "www2.hanez.org", "services": {}} + "a.systemchaos.org": {"host": "a.systemchaos.org", "services": {"ping":[{}]}}, + "b.systemchaos.org": {"host": "b.systemchaos.org", "services": {"ping":[{}]}} }, "hostgroups": { "all": { "members": ["hanez"], - "hosts": ["hanez1"], + "hosts": ["a.systemchaos.org", "b.systemchaos.org"], "threshold": 10, "services": {"ping": ["shortPeriod"]} }