just added some new ideas to minimal json
This commit is contained in:
parent
149fc874f5
commit
3fb3fcc0eb
1 changed files with 19 additions and 3 deletions
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"services": {"ping": {"command": "ping -c 1 @host"}},
|
"services": {"ping": {"command": "ping -c 1 @host"},
|
||||||
|
"tcpconnect": {"command": "tcpconnect @host @port"}},
|
||||||
"filters":
|
"filters":
|
||||||
{
|
{
|
||||||
"email":
|
"email":
|
||||||
|
|
@ -21,9 +22,24 @@
|
||||||
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
|
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
|
||||||
"hosts":
|
"hosts":
|
||||||
{
|
{
|
||||||
"a.systemchaos.org": {"host": "a.systemchaos.org", "services": {"ping":[{ "parser": { "name": "df", "line": 2, "col": 5 }}]}},
|
"a.systemchaos.org": {"host": "a.systemchaos.org",
|
||||||
|
"services": {
|
||||||
|
"ping":[{ "args":
|
||||||
|
{ "device": "/dev/sda1" },
|
||||||
|
"fails": { "warning": "80%", "critical": "90%" },
|
||||||
|
"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",
|
||||||
|
"services": {
|
||||||
|
"tcpconnect":[{ "args":
|
||||||
|
{ "port": 80 },
|
||||||
|
"fails": { },
|
||||||
|
"parser": { "name": "none" }}]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"hostgroups":
|
"hostgroups":
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue