From: Thomas Dalichow Date: Thu, 17 May 2018 14:33:19 +0000 (+0200) Subject: bmwi - add check for fault manager X-Git-Tag: v0.1.0~1018 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=cfc9c9915ae4c3d9d9dc4ceb3f1020f01750d9f8;p=pixelpark%2Fhiera.git bmwi - add check for fault manager --- 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: