Add apply ping{4,6} to generic-host example config again.

Fixes #6056
This commit is contained in:
Michael Friedrich 2014-04-23 14:58:44 +02:00
parent cdd5c0a716
commit 0e42a5724b
1 changed files with 18 additions and 0 deletions

View File

@ -6,6 +6,24 @@ template Host "generic-host" {
check_command = "hostalive" check_command = "hostalive"
} }
apply Service "ping4" {
import "generic-service"
check_command = "ping4"
assign where "generic-host" in host.templates
ignore where !host.address
}
apply Service "ping6" {
import "generic-service"
check_command = "ping6"
assign where "generic-host" in host.templates
ignore where !host.address6
}
apply Notification "mail-icingaadmin" to Host { apply Notification "mail-icingaadmin" to Host {
import "mail-host-notification" import "mail-host-notification"