moved json files to ./examples/ and added my personal json file
This commit is contained in:
parent
8c0b23abbe
commit
3925fbba0d
4 changed files with 38 additions and 1 deletions
52
minimal.json
52
minimal.json
|
|
@ -1,52 +0,0 @@
|
|||
{
|
||||
"members":{
|
||||
"homer":{
|
||||
"name": "Homer Simpson",
|
||||
"comment": "Security Inspector",
|
||||
"tasks": [
|
||||
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}},
|
||||
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}}
|
||||
]
|
||||
}
|
||||
},
|
||||
"periods": {
|
||||
"doh": {"seconds": 10, "comment": "OMG, this means work"},
|
||||
"moes_time": {"minute":"0", "hour": "12", "day_of_week": "4", "comment": "much better"},
|
||||
"marges_birthday": { "date": "2017-2-24 04:00:00"}
|
||||
},
|
||||
"hostgroups":{
|
||||
"power_plant":{
|
||||
"members": ["homer"],
|
||||
"hosts": ["powerplant.springfield.com"],
|
||||
"processors":[
|
||||
{"class": "mongodb", "args":{ "host": "mongodb.burnscorp.org", "user": "homer", "password": "useless", "database": "default" }}
|
||||
],
|
||||
"services":[
|
||||
{
|
||||
"class": "ping",
|
||||
"fails": {"donut": 2000},
|
||||
"periods": ["doh"],
|
||||
"threshold": 50
|
||||
},
|
||||
{
|
||||
"class": "ping",
|
||||
"fails": {"donut": 1000},
|
||||
"periods": ["doh"],
|
||||
"threshold": 100
|
||||
},
|
||||
{
|
||||
"class": "tcpconnect",
|
||||
"args": {"port": 23232},
|
||||
"periods": ["doh"],
|
||||
"fails": {"donut": 0},
|
||||
"threshold": 0,
|
||||
"comment": "my personal reminder, hehe"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"layouts":{
|
||||
"main":{"hostgroups": ["power_plant"], "enabled": true}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue