renamed email task to mail because of some name collision in smtplib
This commit is contained in:
parent
15a6470cbb
commit
bccb205f6d
6 changed files with 19 additions and 18 deletions
|
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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":{
|
||||
|
|
|
|||
|
|
@ -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"}}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue