linspector-old/examples/hanez.json

52 lines
No EOL
1.3 KiB
JSON

{
"members":{
"hanez":{
"name": "Johannes Findeisen",
"tasks": [
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "jabber@example.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":{
"host": "systemchaos.org",
"port": 5222,
"username": "USERNAME",
"password": "PASSWORD"
},
"mail":{
"host": "localhost",
"port": 25,
"from": "linspector@systemchaos.org"
}
}
}
}