added very minimal json config for just pinging two hosts. just as example on how easy it could be to monitor the uptime of hosts.
This commit is contained in:
parent
ef5551b232
commit
fecc9a66e1
1 changed files with 43 additions and 0 deletions
43
linspector.minimal.json
Normal file
43
linspector.minimal.json
Normal file
|
|
@ -0,0 +1,43 @@
|
||||||
|
{
|
||||||
|
"services": {"ping": {"command": "ping @host"}},
|
||||||
|
"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": {"twentyfourseven": {"minute": "*/1", "second": "0", "comment": "Cron Job / Every minute"}},
|
||||||
|
"hosts":
|
||||||
|
{
|
||||||
|
"hanez1": {"host": "www1.hanez.org", "services": {}},
|
||||||
|
"hanez2": {"host": "www2.hanez.org", "services": {}}
|
||||||
|
},
|
||||||
|
"hostgroups":
|
||||||
|
{
|
||||||
|
"all":
|
||||||
|
{
|
||||||
|
"members": ["hanez"],
|
||||||
|
"hosts": ["hanez1", "hanez2"],
|
||||||
|
"threshold": 10,
|
||||||
|
"services": {"ping": ["twentyfourseven"]}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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