diff --git a/linspector.json b/linspector.json index 46ef879..97b2850 100644 --- a/linspector.json +++ b/linspector.json @@ -3,28 +3,28 @@ "root":{ "name": "Admin", "comment": "The Linspector Admin", - "tasks":[{ "class": "email", "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" }}] + "tasks":[{ "class": "email", "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" }}] }, "hanez":{ "name": "Johannes Findeisen", "comment": "Just a nerd doing admin stuff.", "parent": "darth", - "tasks":[{ "class": "email", "type": "warning", "args": { "rcpt": "you@hanez.org" }}, - { "class": "sms", "type": "critical", "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", "type": "warning", "args": { "rcpt": "darth.vader@hanez.org" }} + "tasks":{ "class": "email", "type": "warning", "args":{ "rcpt": "darth.vader@hanez.org" }} } }, "periods":{ "short":{ "seconds": 5, "comment": "Interval job; every 10 seconds" }, "middle":{ "seconds": 60, "comment": "Interval job; every 60 seconds" }, "long":{ "minutes": 2, "comment": "Interval job; every 2 minutes" }, - "cron":{ "minute" : "0", "hour": "2", "comment": "cron job at 2"}, + "cron":{ "minute" : "0", "hour": "2", "comment": "Cron job; at 2 o'clock" }, "christmas2013":{ "date": "2013-12-24 20:00:00", "comment": "Date Job; just one day at 8PM" } }, "hostgroups":{ @@ -35,61 +35,61 @@ "processors":[ { "class": "mongodb", - "args": { "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default"} + "args":{ "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default" } } ], "services":[ { - "class":"ping", + "class": "ping", "fails":{ "warning":"100ms", "critical":"150ms" }, - "periods": ["short"], - "threshold":10, - "parser":{ "class":"shell", "line":2, "col":5 } + "periods":[ "short" ], + "threshold": 10, + "parser":{ "class": "shell", "line": 2, "col": 5 } }, { - "class":"tcpconnect", - "args":{ "port":80 }, - "periods": ["middle"], - "threshold":2 + "class": "tcpconnect", + "args":{ "port": 80 }, + "periods":[ "middle" ], + "threshold": 2 }, { - "class":"tcpconnect", - "args":{ "port":25 }, - "periods":["long"], - "threshold":2 + "class": "tcpconnect", + "args":{ "port": 25 }, + "periods":["long" ], + "threshold": 2 }, { - "class":"tcpconnect", - "args":{ "port":110 }, - "periods": ["long"], - "threshold":2 + "class": "tcpconnect", + "args":{ "port": 110 }, + "periods":[ "long" ], + "threshold": 2 }, { - "class":"http", - "args":{ "port": 80, "path": "/status.cgi", "method": "get", "params": { "foo": 1, "bar": 2 }, "protocol": "https"}, - "periods": ["long"], - "threshold":2, + "class": "http", + "args":{ "port": 80, "path": "/status.cgi", "method": "get", "params":{ "foo": 1, "bar": 2 }, "protocol": "https" }, + "periods":[ "long" ], + "threshold": 2, "parser":{ "class":"grep", "string": "