added type to tasks for handling warning and critical alerts differently
This commit is contained in:
parent
e961c4c7e2
commit
8b700e8915
1 changed files with 5 additions and 5 deletions
|
|
@ -3,20 +3,20 @@
|
|||
"root":{
|
||||
"name": "Admin",
|
||||
"comment": "The Linspector Admin",
|
||||
"tasks":[{ "class": "email", "args": { "rcpt": "admin@systems.hanez.org" }},
|
||||
{ "class": "sms","args": { "rcpt": "+49112" }}]
|
||||
"tasks":[{ "class": "email", "type": "warning", "args": { "rcpt": "admin@systems.hanez.org" }},
|
||||
{ "class": "sms", "type": "critical", "args": { "rcpt": "+49112" }}]
|
||||
},
|
||||
"hanez":{
|
||||
"name": "Johannes Findeisen",
|
||||
"comment": "Just a nerd doing admin stuff.",
|
||||
"parent": "darth",
|
||||
"tasks":[{ "class": "email", "args": { "rcpt": "you@hanez.org" }},
|
||||
{ "class": "sms","args": { "rcpt": "+49110" }}]
|
||||
"tasks":[{ "class": "email", "type": "warning", "args": { "rcpt": "you@hanez.org" }},
|
||||
{ "class": "sms", "type": "critical", "args": { "rcpt": "+49110" }}]
|
||||
},
|
||||
"darth":{
|
||||
"name": "Darth Vader",
|
||||
"comment": "The father",
|
||||
"tasks":{ "class": "email", "args": { "rcpt": "darth.vader@hanez.org" }}
|
||||
"tasks":{ "class": "email", "type": "warning", "args": { "rcpt": "darth.vader@hanez.org" }}
|
||||
}
|
||||
},
|
||||
"periods":{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue