renamed xmpp task to jabber to avoid conflicts; added simple xmpp/jabber support to tasks

This commit is contained in:
Johannes Findeisen 2013-09-19 20:50:17 +02:00
commit 12040d0484
5 changed files with 41 additions and 27 deletions

View file

@ -3,8 +3,7 @@
"hanez":{
"name": "Johannes Findeisen",
"tasks": [
{ "class":"mail", "type": "mail", "args": { "rcpt": "you@hanez.org" }},
{ "class":"mail", "type": "mail", "args": { "rcpt": "johannes.findeisen@com.puting.de" }}
{ "class":"jabber", "type": "jabber", "args": { "rcpt": "hanez@systemchaos.org" }}
]
}
},
@ -20,7 +19,7 @@
"class": "tcpconnect",
"args": { "port": 80 },
"periods": ["always"],
"threshold": 1
"threshold": 10
}
]
}
@ -30,5 +29,11 @@
"hostgroups": ["servers"],
"enabled": true
}
},
"core":{
"max_logfile_size": 1024000,
"max_logfile_count": 4,
"max_worker_threads": 8,
"members":[ "root" ]
}
}

View file

@ -5,7 +5,7 @@
"comment": "The Linspector Admin",
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "admin@systems.hanez.org" }},
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49112" }},
{ "class": "xmpp", "type": "critical", "args":{ "rcpt": "admin@jabber.hanez.org" }}]
{ "class": "jabber", "type": "critical", "args":{ "rcpt": "admin@jabber.hanez.org" }}]
},
"hanez":{
"name": "Johannes Findeisen",