From cfc9c9915ae4c3d9d9dc4ceb3f1020f01750d9f8 Mon Sep 17 00:00:00 2001 From: Thomas Dalichow Date: Thu, 17 May 2018 16:33:19 +0200 Subject: [PATCH] bmwi - add check for fault manager --- .../pixelpark/dev-monitoring.pixelpark.com.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml index b5dbb851..04a426e2 100644 --- a/customer/pixelpark/dev-monitoring.pixelpark.com.yaml +++ b/customer/pixelpark/dev-monitoring.pixelpark.com.yaml @@ -166,7 +166,18 @@ infra::profile::icinga2::object::service: apply: true assign: - 'host.address && (host.name == dev-bmwi.pixelpark.net) && host.vars.os == Solaris' - notes: 'This checks whether there is enough local disk space left. Check runs via SSH.' + notes: 'This checks whether the Solaris system log daemon is running' + 'service-fault-manager': + target: '/etc/icinga2/conf.d/default-services.conf' + import: + - 'generic-service' + - 'check-by-ssh-service' + vars: + 'by_ssh_command': '/opt/pixelpark-monitoring-checks/check_service_solaris fmd' + apply: true + assign: + - 'host.address && (host.name == dev-bmwi.pixelpark.net) && host.vars.os == Solaris' + notes: 'This checks whether the Solaris Fault Manager daemon is running' 'systemd-status': target: '/etc/icinga2/conf.d/default-services.conf' import: -- 2.39.5