diff --git a/linspector.json b/linspector.json index 62ab0ce..c9b62cc 100644 --- a/linspector.json +++ b/linspector.json @@ -110,13 +110,36 @@ "network":{ "members":[ "hanez" ], "hosts":[ "router.systemchaos.org" ], + "processors":[ + { + "class": "mongodb", + "args": { "host": "mongodb.hanez.org", "user": "mongo", "password": "secret", "database": "default"} + } + ], "services":[ { - "class":"ping", - "fails":{ "warning":"100ms", "critical":"150ms" }, + "class": "shell", + "comment": "ping using the shell service and no builtin", + "args": { "command": "ping -c4 @host" }, + "fails":{ "warning": "100ms", "critical":"150ms", "notes": "HeyHo! A ping failed, wake up! (@response)" }, "periods": ["short"], - "threshold":10, - "parser":{ "class":"shell", "line":2, "col":5 } + "threshold": 10, + "parser":{ "class": "shell", "line": 2, "col": 5 } + }, + { + "class":"snmpget", + "comment": "The system load", + "args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.4.1.2021.10.1.3.1" }, + "fails":{ "warning":"4.00", "critical":"8.00" }, + "periods": ["middle"], + "threshold": 10 + }, + { + "class":"snmpget", + "comment": "The system uptime", + "args":{ "port": 161, "community": "linspector", "oid": ".1.3.6.1.2.1.1.3.0" }, + "periods": ["middle"], + "threshold": 10 } ] }