fixed parsing of services

This commit is contained in:
Rafael.Timmerberg 2013-05-29 22:52:54 +02:00
commit a0c4613820
6 changed files with 45 additions and 27 deletions

View file

@ -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}