renamed email task to mail because of some name collision in smtplib

This commit is contained in:
Johannes Findeisen 2013-09-19 19:34:21 +02:00
commit bccb205f6d
6 changed files with 19 additions and 18 deletions

View file

@ -3,7 +3,8 @@
"hanez":{
"name": "Johannes Findeisen",
"tasks": [
{ "class":"email", "type": "email", "args": { "rcpt": "you@hanez.org" }}
{ "class":"mail", "type": "mail", "args": { "rcpt": "you@hanez.org" }},
{ "class":"mail", "type": "mail", "args": { "rcpt": "johannes.findeisen@com.puting.de" }}
]
}
},
@ -19,7 +20,7 @@
"class": "tcpconnect",
"args": { "port": 80 },
"periods": ["always"],
"threshold": 5
"threshold": 1
}
]
}

View file

@ -3,7 +3,7 @@
"root":{
"name": "Admin",
"comment": "The Linspector Admin",
"tasks":[{ "class": "email", "type": "warning", "args":{ "rcpt": "admin@systems.hanez.org" }},
"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" }}]
},
@ -11,13 +11,13 @@
"name": "Johannes Findeisen",
"comment": "Just a nerd doing admin stuff.",
"parent": "darth",
"tasks":[{ "class": "email", "type": "warning", "args":{ "rcpt": "you@hanez.org" }},
"tasks":[{ "class": "mail", "type": "warning", "args":{ "rcpt": "you@hanez.org" }},
{ "class": "sms", "type": "critical", "args":{ "rcpt": "+49110" }}]
},
"darth":{
"name": "Darth Vader",
"comment": "The father",
"tasks":{ "class": "email", "type": "warning", "args":{ "rcpt": "darth.vader@hanez.org" }}
"tasks":{ "class": "mail", "type": "warning", "args":{ "rcpt": "darth.vader@hanez.org" }}
}
},
"periods":{

View file

@ -4,8 +4,8 @@
"name": "Homer Simpson",
"comment": "Security Inspector",
"tasks": [
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}},
{"class":"email", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}}
{"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}},
{"class":"mail", "type": "donut", "args": {"rcpt": "homer_j_simpson@burnscorp.sp"}}
]
}
},