From 656613a3a82f3e9b7e18b898ec2a1cc278af6d35 Mon Sep 17 00:00:00 2001 From: "Rafael.Timmerberg" Date: Wed, 29 May 2013 21:11:48 +0200 Subject: [PATCH] fixes ping bug in json cfg files --- linspector.json | 4 ++++ linspector.minimal.json | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/linspector.json b/linspector.json index f8525da..82ceb0c 100644 --- a/linspector.json +++ b/linspector.json @@ -199,6 +199,10 @@ "htmlcontent": [ { "url": "@host/test.php", "content": "

Server up!

" } + ], + "ping": + [ + {} ] } } diff --git a/linspector.minimal.json b/linspector.minimal.json index d28f799..63e408b 100644 --- a/linspector.minimal.json +++ b/linspector.minimal.json @@ -18,10 +18,10 @@ "filters": {"email": "you@hanez.org"} } }, - "periods": {"twentyfourseven": {"minute": "*/1", "second": "0", "comment": "Cron Job / Every minute"}}, + "periods": {"every10Secs": {"seconds": "10", "comment": "Interval job; every 10 seconds"}}, "hosts": { - "hanez1": {"host": "www1.hanez.org", "services": {}}, + "hanez1": {"host": "www1.hanez.org", "services": {"ping":[{}]}}, "hanez2": {"host": "www2.hanez.org", "services": {}} }, "hostgroups": @@ -40,4 +40,4 @@ "max_logfile_size": 1024000, "max_logfile_count": 4 } -} \ No newline at end of file +}