linspector-old/examples/hanez.json

47 lines
No EOL
1.1 KiB
JSON

{
"members":{
"hanez":{
"name": "Johannes Findeisen",
"tasks": [
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "hanez@systemchaos.org" }}
]
}
},
"periods": {
"always": { "seconds": 2 }
},
"hostgroups":{
"servers":{
"members": ["hanez"],
"hosts": [ "a.systemchaos.org", "b.systemchaos.org" ],
"services":[
{
"class": "tcpconnect",
"args": { "port": 80 },
"periods": ["always"],
"threshold": 2
}
]
}
},
"layouts":{
"main":{
"hostgroups": ["servers"],
"enabled": true
}
},
"core":{
"max_logfile_size": 1024000,
"max_logfile_count": 4,
"max_worker_threads": 8,
"members":[ "root" ],
"tasks": {
"jabber":{
"server": "systemchaos.org",
"port": 5222,
"user": "linspector",
"password": "hallo_welt"
}
}
}
}