mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
parent
cac4167e79
commit
1b6637b981
@ -242,7 +242,7 @@ router's firewall.
|
|||||||
templates = "generic-service",
|
templates = "generic-service",
|
||||||
check_command = "ping4"
|
check_command = "ping4"
|
||||||
}
|
}
|
||||||
|
|
||||||
macros = {
|
macros = {
|
||||||
address = "192.168.1.1",
|
address = "192.168.1.1",
|
||||||
},
|
},
|
||||||
@ -251,10 +251,12 @@ router's firewall.
|
|||||||
object Host "google-dns" {
|
object Host "google-dns" {
|
||||||
services["ping4"] = {
|
services["ping4"] = {
|
||||||
templates = "generic-service",
|
templates = "generic-service",
|
||||||
check_command = "ping4"
|
check_command = "ping4",
|
||||||
service_dependencies = { "dsl-router", "ping4" }
|
service_dependencies = [
|
||||||
|
{ host = "dsl-router", service = "ping4" }
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
macros = {
|
macros = {
|
||||||
address = "8.8.8.8",
|
address = "8.8.8.8",
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user