mirror of https://github.com/Icinga/icinga2.git
Update example config files.
This commit is contained in:
parent
1ef7399cea
commit
df4a31556a
|
@ -31,12 +31,14 @@ local object CompatComponent "compat" { }
|
|||
* And finally we define some host that should be checked.
|
||||
*/
|
||||
object Host "localhost" {
|
||||
services = {
|
||||
"ping4", "ping6",
|
||||
"http_ip", "ssh",
|
||||
"load", "processes",
|
||||
"users", "disk"
|
||||
},
|
||||
services["ping4"] = { templates = [ "ping4" ] },
|
||||
services["ping4"] = { templates = [ "ping4" ] },
|
||||
services["http"] = { templates = [ "http_ip" ] },
|
||||
services["ssh"] = { templates = [ "ssh" ] },
|
||||
services["load"] = { templates = [ "load" ] },
|
||||
services["processes"] = { templates = [ "processes" ] },
|
||||
services["users"] = { templates = [ "users" ] },
|
||||
services["disk"] = { templates = [ "disk" ] },
|
||||
|
||||
macros = {
|
||||
address = "127.0.0.1",
|
||||
|
|
|
@ -37,7 +37,7 @@ local object Component "compat" {
|
|||
* And finally we define some host that should be checked.
|
||||
*/
|
||||
object Host "localhost" inherits "itl-host" {
|
||||
services = { "ping4" },
|
||||
services["ping4"] = { templates = [ "ping4" ] },
|
||||
|
||||
macros = {
|
||||
address = "127.0.0.1"
|
||||
|
|
Loading…
Reference in New Issue