fixes ping bug in json cfg files

This commit is contained in:
Rafael.Timmerberg 2013-05-29 21:11:48 +02:00
commit 656613a3a8
2 changed files with 7 additions and 3 deletions

View file

@ -199,6 +199,10 @@
"htmlcontent": "htmlcontent":
[ [
{ "url": "@host/test.php", "content": "<h1>Server up!</h1>" } { "url": "@host/test.php", "content": "<h1>Server up!</h1>" }
],
"ping":
[
{}
] ]
} }
} }

View file

@ -18,10 +18,10 @@
"filters": {"email": "you@hanez.org"} "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": "hosts":
{ {
"hanez1": {"host": "www1.hanez.org", "services": {}}, "hanez1": {"host": "www1.hanez.org", "services": {"ping":[{}]}},
"hanez2": {"host": "www2.hanez.org", "services": {}} "hanez2": {"host": "www2.hanez.org", "services": {}}
}, },
"hostgroups": "hostgroups":
@ -40,4 +40,4 @@
"max_logfile_size": 1024000, "max_logfile_size": 1024000,
"max_logfile_count": 4 "max_logfile_count": 4
} }
} }