prepared a lot of stuff for new task handling... it was a hell to cleanup unused stuff!!!
This commit is contained in:
parent
a0fe68b251
commit
93bee9a8b2
13 changed files with 165 additions and 212 deletions
|
|
@ -8,7 +8,7 @@
|
|||
"type": "error",
|
||||
"args": { "host": "localhost",
|
||||
"port": 25,
|
||||
"from": "linspector@linspector.org",
|
||||
"sender": "linspector@linspector.org",
|
||||
"username": "",
|
||||
"password": "",
|
||||
"rcpt": "hanez@linspector.org"
|
||||
|
|
@ -18,14 +18,15 @@
|
|||
"class": "mail",
|
||||
"type": "warning",
|
||||
"args": { "host": "localhost",
|
||||
"from": "linspector@linspector.org",
|
||||
"sender": "linspector@linspector.org",
|
||||
"rcpt": "warning@linspector.org"
|
||||
}
|
||||
},
|
||||
{
|
||||
"class": "mail",
|
||||
"type": "ok",
|
||||
"args": { "rcpt": "warning@linspector.org" }
|
||||
"args": { "sender": "linspector@linspector.org",
|
||||
"rcpt": "warning@linspector.org" }
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -55,6 +56,30 @@
|
|||
"periods": ["fast"],
|
||||
"threshold": 1,
|
||||
"args": { "sleep": 1, "fail": 1 }
|
||||
},
|
||||
{
|
||||
"class": "etc/dummy",
|
||||
"periods": ["fast"],
|
||||
"threshold": 1,
|
||||
"args": { "sleep": 10, "fail": 0 }
|
||||
}
|
||||
]
|
||||
},
|
||||
"b":{
|
||||
"members": ["root", "hannes"],
|
||||
"hosts": [ "b"],
|
||||
"services":[
|
||||
{
|
||||
"class": "etc/dummy",
|
||||
"periods": ["fast"],
|
||||
"threshold": 1,
|
||||
"args": { "sleep": 1, "fail": 1 }
|
||||
},
|
||||
{
|
||||
"class": "etc/dummy",
|
||||
"periods": ["fast"],
|
||||
"threshold": 1,
|
||||
"args": { "sleep": 10, "fail": 0 }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -63,6 +88,10 @@
|
|||
"main":{
|
||||
"hostgroups": [ "a" ],
|
||||
"enabled": true
|
||||
},
|
||||
"gooo":{
|
||||
"hostgroups": [ "b" ],
|
||||
"enabled": true
|
||||
}
|
||||
},
|
||||
"core":{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue