linspector-old/examples/minimal.json

58 lines
1.6 KiB
JSON
Raw Normal View History

{
2013-11-03 04:57:09 +01:00
"tasks": {
2013-11-03 19:25:50 +01:00
"mail":{
"host": "localhost",
"port": 25,
"from": "linspector@linspector.org",
"username": "you@hanez.org",
"password": "uffff"
}
},
"members":{
2013-11-03 04:57:09 +01:00
"root":{
"name": "root",
2013-11-03 05:21:12 +01:00
"tasks": [
2013-11-03 19:25:50 +01:00
{ "class":"mail", "type": "foo", "args": { "rcpt": "hanez@linspector.org" }}
2013-07-02 00:19:20 +02:00
]
}
},
"periods": {
2013-11-03 04:57:09 +01:00
"fast": { "seconds": 15 },
"medium": { "seconds": 120 },
"slow": { "seconds": 480 }
},
"hostgroups":{
2013-11-03 04:57:09 +01:00
"a":{
2013-11-03 05:21:12 +01:00
"members": ["root"],
"hosts": [ "a"],
"services":[
2013-11-03 05:21:12 +01:00
{ "class": "dummy", "args": { "sleep": 1, "fail": 1 }, "periods": ["fast"], "threshold": 1 }
]
}
},
"layouts":{
2013-11-03 04:57:09 +01:00
"main":{
"hostgroups": [ "a" ],
2013-11-03 04:57:09 +01:00
"enabled": true
}
2013-09-20 02:31:50 +02:00
},
"core":{
2013-11-03 04:57:09 +01:00
"instance_name": "Master Monitor 01 (monitor01.systemchaos.org)",
2013-09-20 02:31:50 +02:00
"max_logfile_size": 1024000,
"max_logfile_count": 4,
2013-11-03 04:57:09 +01:00
"max_worker_threads": 1000,
"threshold_handling": "reset",
"shutdown_wait": "False",
"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"
2013-09-20 02:31:50 +02:00
}
}
}
}