added one more host to hostgroup and debug stuff to python code
This commit is contained in:
parent
1cde3c40f4
commit
88638dcede
2 changed files with 10 additions and 5 deletions
|
|
@ -8,24 +8,26 @@
|
|||
}
|
||||
},
|
||||
"periods": {
|
||||
"always": { "seconds": 5, "comment": "Yes, yes, yes!" }
|
||||
"always": { "seconds": 5 }
|
||||
},
|
||||
"hostgroups":{
|
||||
"hanez":{
|
||||
"servers":{
|
||||
"members": ["hanez"],
|
||||
"hosts": ["a.systemchaos.org"],
|
||||
"hosts": [ "a.systemchaos.org", "b.systemchaos.org" ],
|
||||
"services":[
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args": { "port": 80 },
|
||||
"periods": ["always"],
|
||||
"fails": { "email": 0 },
|
||||
"threshold": 10
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layouts":{
|
||||
"main":{ "hostgroups": ["hanez"], "enabled": true }
|
||||
"main":{
|
||||
"hostgroups": ["servers"],
|
||||
"enabled": true
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue