]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
pixelpark - dev-monitoring: upgrade b/c of Icinga 2.7 changes
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 31 Aug 2017 15:43:28 +0000 (17:43 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Thu, 31 Aug 2017 15:43:40 +0000 (17:43 +0200)
customer/pixelpark/dev-monitoring.pixelpark.com.yaml

index f344f544e4379a44779aa27e56b5f6f702dcff04..313750a7325d5cc353e1ba72e10b36726fdb8fca 100644 (file)
@@ -243,7 +243,7 @@ infra::profile::icinga2::object::notificationcommand:
     command: 'SysconfDir + /icinga2/scripts/mail-host-notification.sh'
     env:
       'NOTIFICATIONTYPE': '$notification.type$'
-      'HOSTALIAS': '$host.display_name$'
+      'HOSTNAME': '$host.hostname$'
       'HOSTADDRESS': '$address$'
       'HOSTSTATE': '$host.state$'
       'LONGDATETIME': '$icinga.long_date_time$'
@@ -257,8 +257,8 @@ infra::profile::icinga2::object::notificationcommand:
     command: 'SysconfDir + /icinga2/scripts/mail-service-notification.sh'
     env:
       'NOTIFICATIONTYPE': '$notification.type$'
-      'SERVICEDESC': '$service.name$'
-      'HOSTALIAS': '$host.display_name$'
+      'SERVICENAME': '$service.name$'
+      'HOSTNAME': '$host.hostname$'
       'HOSTADDRESS': '$address$'
       'SERVICESTATE': '$service.state$'
       'LONGDATETIME': '$icinga.long_date_time$'