From: Thomas Dalichow Date: Thu, 3 May 2018 14:06:35 +0000 (+0200) Subject: pixelpark - dev-monitoring: add checks for rsyslogd and postfix (fix) X-Git-Tag: v0.1.0~1149^2 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=9f8a89c75e276730f4bd69c608e1a2c4a4770cb0;p=pixelpark%2Fhiera.git pixelpark - dev-monitoring: add checks for rsyslogd and postfix (fix) --- diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index 5c2d497e..29cef29d 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -160,7 +160,7 @@ infra::profile::icinga2::object::service: target: '/etc/icinga2/conf.d/default-services.conf' import: - 'generic-service' - check_command: 'check_rsyslogd' + check_command: 'check_service_rsyslogd' #_ppplugindir_ command_endpoint: 'host.name' apply: true @@ -171,13 +171,13 @@ infra::profile::icinga2::object::service: target: '/etc/icinga2/conf.d/default-services.conf' import: - 'generic-service' - check_command: 'check_postfix' + check_command: 'check_service_postfix' #_ppplugindir_ command_endpoint: 'host.name' apply: true assign: - 'host.address && (host.name == dev-monitoring-client.pixelpark.com || host.name == dev-monitoring.pixelpark.com)' - notes: 'This checks, whether the rsyslogd unit exists, is enabled and is running' + notes: 'This checks, whether the postfix unit exists, is enabled and is running' # 'disk': # target: '/etc/icinga2/conf.d/default-services.conf' # import: