67 lines
No EOL
1.9 KiB
JSON
67 lines
No EOL
1.9 KiB
JSON
{
|
|
"members":{
|
|
"root":{
|
|
"_name": "root",
|
|
"parent": "admin",
|
|
"tasks": [
|
|
{
|
|
"class": "storage/logger",
|
|
"type": [ "ok" ],
|
|
"args": { "directory": "/tmp/", "file": "data.log" }
|
|
}
|
|
]
|
|
},
|
|
"admin":{
|
|
"_name": "admin",
|
|
"tasks": [
|
|
{
|
|
"class": "alert/mail",
|
|
"type": [ "ok", "warning", "error" ],
|
|
"args": { "host": "localhost",
|
|
"port": 25,
|
|
"sender": "linspector@linspector.org",
|
|
"username": "",
|
|
"password": "",
|
|
"rcpt": "hanez@linspector.org"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"periods": {
|
|
"fast": { "seconds": 15 },
|
|
"medium": { "seconds": 60 },
|
|
"slow": { "seconds": 480 },
|
|
"now": {"date": "2013-12-29 00:09:00"}
|
|
},
|
|
"hostgroups":{
|
|
"a":{
|
|
"members": ["root"],
|
|
"hosts": [ "151.217.0.0/16"],
|
|
"services":[
|
|
{ "class": "net/tcpconnect", "args":{ "port": 80 }, "periods": ["now"], "threshold": 1 }
|
|
]
|
|
}
|
|
},
|
|
"layouts":{
|
|
"main":{
|
|
"hostgroups": [ "a" ],
|
|
"enabled": true
|
|
}
|
|
},
|
|
"core":{
|
|
"instance_name": "Master Monitor 01 (monitor01.linspector.org)",
|
|
"threshold_handling": "reset",
|
|
"shutdown_wait": false,
|
|
"members": [ "linspector", "root" ],
|
|
"jsonrpc_backend": true,
|
|
"backends": {
|
|
"jsonrpc": {
|
|
"host": "127.0.0.1",
|
|
"port": 10123,
|
|
"username": "linspector",
|
|
"password": "linspector"
|
|
}
|
|
}
|
|
}
|
|
} |