moved all old json files to examples/ and deleted old linspector exe. the json files are for historical evaluation and don't have to be in root anymore.
This commit is contained in:
parent
b94ed73e17
commit
8ba987f572
4 changed files with 0 additions and 183 deletions
76
test/linspector.minimal.json
Normal file
76
test/linspector.minimal.json
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
{
|
||||
"services": {"ping": {"command": "ping -c 1 @host"},
|
||||
"tcpconnect": {"command": "tcpconnect @host @port"}},
|
||||
"filters":
|
||||
{
|
||||
"email":
|
||||
{
|
||||
"command": "email @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": "100ms", "critical": "150ms" },
|
||||
"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": { },
|
||||
"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, "path": "/status.cgi", "string": "<h1>I am up!</h1>" },
|
||||
"fails": { },
|
||||
"threshold": 2,
|
||||
"parser": { "name": "none" },
|
||||
"comment": "Just a string grep"}]
|
||||
}
|
||||
}
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue