Update example config files.

This commit is contained in:
Gunnar Beutner 2013-03-14 13:18:20 +01:00
parent 1ef7399cea
commit df4a31556a
2 changed files with 9 additions and 7 deletions

View File

@ -31,12 +31,14 @@ local object CompatComponent "compat" { }
* And finally we define some host that should be checked. * And finally we define some host that should be checked.
*/ */
object Host "localhost" { object Host "localhost" {
services = { services["ping4"] = { templates = [ "ping4" ] },
"ping4", "ping6", services["ping4"] = { templates = [ "ping4" ] },
"http_ip", "ssh", services["http"] = { templates = [ "http_ip" ] },
"load", "processes", services["ssh"] = { templates = [ "ssh" ] },
"users", "disk" services["load"] = { templates = [ "load" ] },
}, services["processes"] = { templates = [ "processes" ] },
services["users"] = { templates = [ "users" ] },
services["disk"] = { templates = [ "disk" ] },
macros = { macros = {
address = "127.0.0.1", address = "127.0.0.1",

View File

@ -37,7 +37,7 @@ local object Component "compat" {
* And finally we define some host that should be checked. * And finally we define some host that should be checked.
*/ */
object Host "localhost" inherits "itl-host" { object Host "localhost" inherits "itl-host" {
services = { "ping4" }, services["ping4"] = { templates = [ "ping4" ] },
macros = { macros = {
address = "127.0.0.1" address = "127.0.0.1"