fixed parsing of services
This commit is contained in:
parent
4abc69b2a7
commit
a0c4613820
6 changed files with 45 additions and 27 deletions
|
|
@ -18,7 +18,7 @@
|
|||
"filters": {"email": "you@hanez.org"}
|
||||
}
|
||||
},
|
||||
"periods": {"every10Secs": {"seconds": "10", "comment": "Interval job; every 10 seconds"}},
|
||||
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
|
||||
"hosts":
|
||||
{
|
||||
"hanez1": {"host": "www1.hanez.org", "services": {"ping":[{}]}},
|
||||
|
|
@ -31,7 +31,7 @@
|
|||
"members": ["hanez"],
|
||||
"hosts": ["hanez1"],
|
||||
"threshold": 10,
|
||||
"services": {"ping": ["every10Secs"]}
|
||||
"services": {"ping": ["shortPeriod"]}
|
||||
}
|
||||
},
|
||||
"layouts": {"production": {"hostgroups": ["all"], "enabled": true}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue