linspector-old/minimal.json

52 lines
1.8 KiB
JSON
Raw Normal View History

{
"members":{
"homer":{
"name": "Homer Simpson",
"comment": "Security Inspector",
2013-07-02 00:19:20 +02:00
"tasks": [
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}},
2013-07-02 23:30:31 +02:00
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}}
2013-07-02 00:19:20 +02:00
]
}
},
"periods": {
"doh": {"seconds": 10, "comment": "OMG, this means work"},
"moes_time": {"minute":"0", "hour": "12", "day_of_week": "4", "comment": "much better"},
2013-06-21 01:57:32 +02:00
"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},
2013-06-28 01:34:31 +02:00
"periods": ["doh"],
2013-07-02 23:30:31 +02:00
"threshold": 50
},
{
2013-06-28 01:34:31 +02:00
"class": "ping",
2013-07-02 23:30:31 +02:00
"fails": {"donut": 1000},
2013-06-28 01:34:31 +02:00
"periods": ["doh"],
2013-07-02 23:30:31 +02:00
"threshold": 100
},
{
"class": "tcpconnect",
"args": {"port": 23232},
"periods": ["moes_time", "marges_birthday"],
2013-07-02 23:30:31 +02:00
"fails": {"donut": 0},
"threshold": 0,
"comment": "my personal reminder, hehe"
}
]
}
},
"layouts":{
"main":{"hostgroups": ["power_plant"], "enabled": true}
}
}