fixes ping bug in json cfg files
This commit is contained in:
parent
ea8eeaf8e5
commit
068fa82511
2 changed files with 7 additions and 3 deletions
|
|
@ -199,6 +199,10 @@
|
|||
"htmlcontent":
|
||||
[
|
||||
{ "url": "@host/test.php", "content": "<h1>Server up!</h1>" }
|
||||
],
|
||||
"ping":
|
||||
[
|
||||
{}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue