some fixes and adds
This commit is contained in:
parent
24b3fcee6b
commit
c214ffe57d
1 changed files with 16 additions and 20 deletions
|
|
@ -24,9 +24,8 @@
|
||||||
{
|
{
|
||||||
"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 }}]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
@ -34,8 +33,7 @@
|
||||||
"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" }}]
|
||||||
|
|
@ -43,8 +41,7 @@
|
||||||
},
|
},
|
||||||
"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"}]
|
||||||
|
|
@ -52,8 +49,7 @@
|
||||||
},
|
},
|
||||||
"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" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue