working minimal json with two existing hosts
This commit is contained in:
parent
1396c85fa5
commit
2fd8b33e16
1 changed files with 4 additions and 4 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"services": {"ping": {"command": "ping @host"}},
|
"services": {"ping": {"command": "ping -c 1 @host"}},
|
||||||
"filters":
|
"filters":
|
||||||
{
|
{
|
||||||
"email":
|
"email":
|
||||||
|
|
@ -21,15 +21,15 @@
|
||||||
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
|
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
|
||||||
"hosts":
|
"hosts":
|
||||||
{
|
{
|
||||||
"hanez1": {"host": "www1.hanez.org", "services": {"ping":[{}]}},
|
"a.systemchaos.org": {"host": "a.systemchaos.org", "services": {"ping":[{}]}},
|
||||||
"hanez2": {"host": "www2.hanez.org", "services": {}}
|
"b.systemchaos.org": {"host": "b.systemchaos.org", "services": {"ping":[{}]}}
|
||||||
},
|
},
|
||||||
"hostgroups":
|
"hostgroups":
|
||||||
{
|
{
|
||||||
"all":
|
"all":
|
||||||
{
|
{
|
||||||
"members": ["hanez"],
|
"members": ["hanez"],
|
||||||
"hosts": ["hanez1"],
|
"hosts": ["a.systemchaos.org", "b.systemchaos.org"],
|
||||||
"threshold": 10,
|
"threshold": 10,
|
||||||
"services": {"ping": ["shortPeriod"]}
|
"services": {"ping": ["shortPeriod"]}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue