updated minimal json and replaced mail task with logger task

This commit is contained in:
Johannes Findeisen 2013-11-23 20:44:57 +01:00
commit 755a0dcf23

View file

@ -1,18 +1,13 @@
{ {
"tasks": {
"mail":{
"host": "localhost",
"port": 25,
"from": "linspector@linspector.org",
"username": "",
"password": ""
}
},
"members":{ "members":{
"root":{ "root":{
"_name": "root", "_name": "root",
"tasks": [ "tasks": [
{ "class":"alert/mail", "type": "error", "args": { "_rcpt": "hanez@linspector.org" }} {
"class": "storage/logger",
"type": [ "ok", "warning", "error" ],
"args": { "directory": "/tmp/", "file": "data.log" }
}
] ]
} }
}, },
@ -40,7 +35,7 @@
"instance_name": "Master Monitor 01 (monitor01.linspector.org)", "instance_name": "Master Monitor 01 (monitor01.linspector.org)",
"threshold_handling": "reset", "threshold_handling": "reset",
"shutdown_wait": false, "shutdown_wait": false,
"members":[ "linspector", "root" ], "members": [ "linspector", "root" ],
"jsonrpc_backend": true, "jsonrpc_backend": true,
"backends": { "backends": {
"jsonrpc": { "jsonrpc": {