mirror of https://github.com/Icinga/icinga2.git
parent
d88d2a258a
commit
8568b4b701
|
@ -30,15 +30,38 @@ object CompatLog "compat-log" { }
|
||||||
* 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["ping4"] = { templates = [ "ping4" ] },
|
services["ping4"] = {
|
||||||
services["ping6"] = { templates = [ "ping6" ] },
|
templates = [ "ping4" ]
|
||||||
services["http"] = { templates = [ "http_ip" ] },
|
},
|
||||||
services["ssh"] = { templates = [ "ssh" ] },
|
|
||||||
services["load"] = { templates = [ "load" ] },
|
services["ping6"] = {
|
||||||
services["processes"] = { templates = [ "processes" ] },
|
templates = [ "ping6" ]
|
||||||
services["users"] = { templates = [ "users" ] },
|
},
|
||||||
services["disk"] = { templates = [ "disk" ] },
|
|
||||||
|
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 = {
|
macros = {
|
||||||
address = "127.0.0.1",
|
address = "127.0.0.1",
|
||||||
address6 = "::1",
|
address6 = "::1",
|
||||||
|
|
|
@ -37,7 +37,9 @@ 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"] = { templates = [ "ping4" ] },
|
services["ping4"] = {
|
||||||
|
templates = [ "ping4" ]
|
||||||
|
},
|
||||||
|
|
||||||
macros = {
|
macros = {
|
||||||
address = "127.0.0.1"
|
address = "127.0.0.1"
|
||||||
|
|
Loading…
Reference in New Issue