From 1ec47a51b6411422970b21bc0ff5291c54bced52 Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Thu, 30 May 2013 09:05:30 +0200 Subject: [PATCH] added some examples on what we need to configure... --- linspector.minimal.json | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/linspector.minimal.json b/linspector.minimal.json index 4e29167..fbca247 100644 --- a/linspector.minimal.json +++ b/linspector.minimal.json @@ -5,7 +5,7 @@ { "email": { - "command": "/usr/bin/warn_the_admin_mail @member @+message", + "command": "email @member @+message", "comment": "Sends an E-Mail to the member.", "priority": 1 } @@ -37,8 +37,28 @@ "tcpconnect":[{ "args": { "port": 80 }, "fails": { }, + "threshold": 2, "parser": { "name": "none" }}] } + }, + "snmp.systemchaos.org": {"host": "snmp.systemchaos.org", + "services": { + "snmpget":[{ "args": + { "port": 5555, "oid": "1.3.6.1.4.1.2681.1.2.102." }, + "fails": { "warning": "8", "critical": "16" }, + "parser": { "name": "snmpget" }, + "comment": "Value X from Y"}] + } + }, + "web.systemchaos.org": {"host": "web.systemchaos.org", + "services": { + "htmlcontent":[{ "args": + { "port": 80, "string": "

I am up!

" }, + "fails": { }, + "threshold": 2, + "parser": { "name": "none" }, + "comment": "Just a string grep"}] + } } }, "hostgroups":