From d021805e4b681e8f56abc7fc3b5bda6537b621a2 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Thu, 16 Mar 2017 12:03:28 +0100 Subject: [PATCH] pixelpark - dev-monitoring: add ping4 check for all hosts with v4-address fix --- .../dev-monitoring.pixelpark.com.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index 286ae39d..6151153c 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -63,6 +63,14 @@ site::profile::icinga2::object::service: check_interval: '1m' retry_interval: '30s' check_command: 'hostalive' + 'ping4': + target: '/etc/icinga2/conf.d/default-services.conf' + import: + - 'generic-service' + check_command: 'ping4' + apply: true + assign: + - 'host.address' site::profile::icinga2::object::hostgroup: 'linux-servers': @@ -173,16 +181,6 @@ site::profile::icinga2::object::notification: user_groups: 'host.vars.notification.mail.groups' users: 'host.vars.notification.mail.users' -site::profile::icinga2::object::service: - 'ping4': - target: '/etc/icinga2/conf.d/default-services.conf' - import: - - 'generic-service' - check_command: 'ping4' - apply: true - assign: - - 'host.address' - ## test-host site::profile::icinga2::object::host: -- 2.39.5