some fixes and adds

This commit is contained in:
Johannes Findeisen 2013-05-30 09:22:39 +02:00
commit c214ffe57d

View file

@ -24,40 +24,36 @@
{ {
"a.systemchaos.org": {"host": "a.systemchaos.org", "a.systemchaos.org": {"host": "a.systemchaos.org",
"services": { "services": {
"ping":[{ "args": "ping":[{ "args": { "device": "/dev/sda1" },
{ "device": "/dev/sda1" }, "fails": { "warning": "100ms", "critical": "150ms" },
"fails": { "warning": "80%", "critical": "90%" }, "parser": { "name": "ping", "line": 2, "col": 5 }}]
"parser": { "name": "ping", "line": 2, "col": 5 }}]
} }
}, },
"b.systemchaos.org": {"host": "b.systemchaos.org", "services": {"ping":[{}]}}, "b.systemchaos.org": {"host": "b.systemchaos.org", "services": {"ping":[{}]}},
"google.de": {"host": "google.de", "services": {"ping":[{}]}}, "google.de": {"host": "google.de", "services": {"ping":[{}]}},
"foobar.systemchaos.org": {"host": "foobar.systemchaos.org", "foobar.systemchaos.org": {"host": "foobar.systemchaos.org",
"services": { "services": {
"tcpconnect":[{ "args": "tcpconnect":[{ "args": { "port": 80 },
{ "port": 80 }, "fails": { },
"fails": { }, "threshold": 2,
"threshold": 2, "parser": { "name": "none" }}]
"parser": { "name": "none" }}]
} }
}, },
"snmp.systemchaos.org": {"host": "snmp.systemchaos.org", "snmp.systemchaos.org": {"host": "snmp.systemchaos.org",
"services": { "services": {
"snmpget":[{ "args": "snmpget":[{ "args": { "port": 5555, "oid": "1.3.6.1.4.1.2681.1.2.102." },
{ "port": 5555, "oid": "1.3.6.1.4.1.2681.1.2.102." }, "fails": { "warning": "8", "critical": "16" },
"fails": { "warning": "8", "critical": "16" }, "parser": { "name": "snmpget" },
"parser": { "name": "snmpget" }, "comment": "Value X from Y"}]
"comment": "Value X from Y"}]
} }
}, },
"web.systemchaos.org": {"host": "web.systemchaos.org", "web.systemchaos.org": {"host": "web.systemchaos.org",
"services": { "services": {
"htmlcontent":[{ "args": "htmlcontent":[{ "args": { "port": 80, "string": "<h1>I am up!</h1>" },
{ "port": 80, "string": "<h1>I am up!</h1>" }, "fails": { },
"fails": { }, "threshold": 2,
"threshold": 2, "parser": { "name": "none" },
"parser": { "name": "none" }, "comment": "Just a string grep"}]
"comment": "Just a string grep"}]
} }
} }
}, },