linspector-old/linspector.minimal.json

60 lines
2.1 KiB
JSON

{
"services": {"ping": {"command": "ping -c 1 @host"},
"tcpconnect": {"command": "tcpconnect @host @port"}},
"filters":
{
"email":
{
"command": "/usr/bin/warn_the_admin_mail @member @+message",
"comment": "Sends an E-Mail to the member.",
"priority": 1
}
},
"members":
{
"hanez":
{
"name": "Johannes Findeisen",
"comment": "Just a nerd doing admin stuff...",
"filters": {"email": "you@hanez.org"}
}
},
"periods": {"shortPeriod": {"seconds": 5, "comment": "Interval job; every 10 seconds"}},
"hosts":
{
"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":[{}]}},
"google.de": {"host": "google.de", "services": {"ping":[{}]}},
"foobar.systemchaos.org": {"host": "foobar.systemchaos.org",
"services": {
"tcpconnect":[{ "args":
{ "port": 80 },
"fails": { },
"parser": { "name": "none" }}]
}
}
},
"hostgroups":
{
"all":
{
"members": ["hanez"],
"hosts": ["a.systemchaos.org", "b.systemchaos.org", "google.de"],
"threshold": 10,
"services": {"ping": ["shortPeriod"]}
}
},
"layouts": {"production": {"hostgroups": ["all"], "enabled": true}
},
"core": {
"max_logfile_size": 1024000,
"max_logfile_count": 4
}
}