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":{
|
"root":{
|
||||||
"name": "Admin",
|
"name": "Admin",
|
||||||
"comment": "The Linspector Admin",
|
"comment": "The Linspector Admin",
|
||||||
"tasks":[{ "class": "email", "args": { "rcpt": "admin@systems.hanez.org" }},
|
"tasks":[{ "class": "email", "type": "warning", "args": { "rcpt": "admin@systems.hanez.org" }},
|
||||||
{ "class": "sms","args": { "rcpt": "+49112" }}]
|
{ "class": "sms", "type": "critical", "args": { "rcpt": "+49112" }}]
|
||||||
},
|
},
|
||||||
"hanez":{
|
"hanez":{
|
||||||
"name": "Johannes Findeisen",
|
"name": "Johannes Findeisen",
|
||||||
"comment": "Just a nerd doing admin stuff.",
|
"comment": "Just a nerd doing admin stuff.",
|
||||||
"parent": "darth",
|
"parent": "darth",
|
||||||
"tasks":[{ "class": "email", "args": { "rcpt": "you@hanez.org" }},
|
"tasks":[{ "class": "email", "type": "warning", "args": { "rcpt": "you@hanez.org" }},
|
||||||
{ "class": "sms","args": { "rcpt": "+49110" }}]
|
{ "class": "sms", "type": "critical", "args": { "rcpt": "+49110" }}]
|
||||||
},
|
},
|
||||||
"darth":{
|
"darth":{
|
||||||
"name": "Darth Vader",
|
"name": "Darth Vader",
|
||||||
"comment": "The father",
|
"comment": "The father",
|
||||||
"tasks":{ "class": "email", "args": { "rcpt": "darth.vader@hanez.org" }}
|
"tasks":{ "class": "email", "type": "warning", "args": { "rcpt": "darth.vader@hanez.org" }}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"periods":{
|
"periods":{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue