From 8b700e8915b39fe6b05c8f87258e6e1a1c402c22 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 10 Jun 2013 01:06:28 +0200 Subject: [PATCH] added type to tasks for handling warning and critical alerts differently --- linspector.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/linspector.json b/linspector.json index 2255293..62ab0ce 100644 --- a/linspector.json +++ b/linspector.json @@ -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":{