Icinga / icinga-doc

Icinga 1.x documentation in Docbook (EOL)
https://www.icinga.org/download/
4 stars 9 forks source link

[dev.icinga.com #9550] Missing line continuation character in notification commands #463

Closed icinga-migration closed 9 years ago

icinga-migration commented 9 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/9550

Created by mfriedrich on 2015-07-03 07:35:41 +00:00

Assignee: mfriedrich Status: Resolved (closed on 2015-07-03 08:06:55 +00:00) Target Version: 1.13.3 Last Update: 2015-07-03 08:06:55 +00:00 (in Redmine)

Icinga Version: 1.13.2

http://docs.icinga.org/latest/de/notifications2.html

 # 'notify-service-by-email' command definition
 define command {
        command_name   notify-service-by-email
        command_line   /usr/bin/printf "%b" "***** Icinga *****\n\n \
                       Notification Type: $NOTIFICATIONTYPE$\n\n \
                       Service: $SERVICEDESC$\n \
                       Host: $HOSTALIAS$\n \
                       Address: $HOSTADDRESS$\n \
                       State: $SERVICESTATE$\n\n \
                       Date/Time: $LONGDATETIME$\n\n \
                       Additional Info:\n\n \
                       $SERVICEOUTPUT$\n" 
                       | /usr/bin/mailx -s \
                         "** $NOTIFICATIONTYPE$ Service Alert: \
                         $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" \
                         $CONTACTEMAIL$
        }

Changesets

2015-07-03 08:05:37 +00:00 by (unknown) 6716ce9d1398ec2e2ecbd9497af6b4a05f49221f

Fix missing line continuation char in notification commands

fixes #9550
icinga-migration commented 9 years ago

Updated by Anonymous on 2015-07-03 08:06:55 +00:00

Applied in changeset 6716ce9d1398ec2e2ecbd9497af6b4a05f49221f.