87 lines
No EOL
2.6 KiB
JSON
87 lines
No EOL
2.6 KiB
JSON
{
|
|
"members":{
|
|
"root":{
|
|
"name": "root",
|
|
"_tasks": [
|
|
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "hanez@systemchaos.org" }}
|
|
]
|
|
},
|
|
"hanez":{
|
|
"name": "admin",
|
|
"_tasks": [
|
|
{ "class":"mail", "type": "mail", "args": { "rcpt": "you@hanez.org" }}
|
|
]
|
|
},
|
|
"linspector":{
|
|
"name": "linspector admin",
|
|
"_tasks": [
|
|
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "hanez@systemchaos.org" }}
|
|
]
|
|
}
|
|
},
|
|
"periods": {
|
|
"fast": { "seconds": 10 },
|
|
"medium": { "seconds": 120 },
|
|
"slow": { "seconds": 480 }
|
|
},
|
|
"hostgroups":{
|
|
"a":{
|
|
"members": ["hanez"],
|
|
"hosts": [ "a" ],
|
|
"services":[
|
|
{
|
|
"class": "dummy",
|
|
"args": { "sleep": 3, "fail": 0 },
|
|
"periods": ["fast"],
|
|
"threshold": 3
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"layouts":{
|
|
"main":{
|
|
"hostgroups": ["a"],
|
|
"enabled": true
|
|
}
|
|
},
|
|
"core":{
|
|
"instance_name": "Master Monitor 01 (monitor01.systemchaos.org)",
|
|
"max_logfile_size": 1024000,
|
|
"max_logfile_count": 4,
|
|
"max_worker_threads": 1000,
|
|
"threshold_handling": "reset",
|
|
"members":[ "linspector", "root" ],
|
|
"jsonrpc_backend": "True",
|
|
"backends": {
|
|
"jsonrpc": {
|
|
"_comment": "https://github.com/linspector/linspector/wiki/Configuration-Core-Backends-JsonRPC",
|
|
"host": "127.0.0.1",
|
|
"port": 10123,
|
|
"username": "linspector",
|
|
"password": "linspector"
|
|
}
|
|
},
|
|
"tasks": {
|
|
"jabber":{
|
|
"host": "systemchaos.org",
|
|
"port": 5222,
|
|
"username": "linspector",
|
|
"password": "linspector",
|
|
"debug": ["always"]
|
|
},
|
|
"mail":{
|
|
"host": "a.mx.systemchaos.org",
|
|
"port": 25,
|
|
"from": "linspector@systemchaos.org",
|
|
"username": "you@hanez.org",
|
|
"password": "uffff"
|
|
},
|
|
"tweet":{
|
|
"consumer_key": "consumer_key",
|
|
"consumer_secret": "consumer_secret",
|
|
"access_token_key": "access_token_key",
|
|
"access_token_secret": "access_token_secret"
|
|
}
|
|
}
|
|
}
|
|
} |