Skip to content

Commit

Permalink
Merge pull request #368 from Icinga/fix/examples-notification-commands
Browse files Browse the repository at this point in the history
Examples: Fix notification commands for 2.7
  • Loading branch information
lbetz authored Sep 5, 2017
2 parents 16a317b + dd8301b commit 13d33c6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions examples/example_config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@
command => [ 'SysconfDir + /icinga2/scripts/mail-host-notification.sh' ],
env => {
'NOTIFICATIONTYPE' => '$notification.type$',
'HOSTALIAS' => '$host.display_name$',
'HOSTNAME' => '$host.name$',
'HOSTDISPLAYNAME' => '$host.display_name$',
'HOSTADDRESS' => '$address$',
'HOSTSTATE' => '$host.state$',
'LONGDATETIME' => '$icinga.long_date_time$',
Expand All @@ -237,8 +238,9 @@
command => [ 'SysconfDir + /icinga2/scripts/mail-service-notification.sh' ],
env => {
'NOTIFICATIONTYPE' => '$notification.type$',
'SERVICEDESC' => '$service.name$',
'HOSTALIAS' => '$host.display_name$',
'SERVICENAME' => '$service.name$',
'HOSTNAME' => '$host.name$',
'HOSTDISPLAYNAME' => '$host.display_name$',
'HOSTADDRESS' => '$address$',
'SERVICESTATE' => '$service.state$',
'LONGDATETIME' => '$icinga.long_date_time$',
Expand Down

0 comments on commit 13d33c6

Please sign in to comment.