]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
bmwi - add check for fault manager
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 17 May 2018 14:33:19 +0000 (16:33 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 17 May 2018 14:33:23 +0000 (16:33 +0200)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index b5dbb851423e275657bbcf28aed3cf7dd71bd407..04a426e2fb5b65c10bd01d7b8f90259399ba2d61 100644 (file)
@@ -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: