shyamjos / HTML-email-template-for-Icinga-2

simple HTML email alert Template for Icinga 2 to replace the default boring text based email alert.
https://shyamjos.com/icinga2-html-template/
23 stars 11 forks source link

Alerts stop working from Icinga 2.14 #1

Open brummybird opened 1 year ago

brummybird commented 1 year ago

Hi All,

I am not sure if anyone is maintaining this alert but they have recently stopped working. You need to add the following to your service script: Line 33&34: -X HOSTNOTES (\$host.notes\$) -x SERVICENOTES (\$service.notes\$)

Line 67:

while getopts 4:6:b:c:d:e:f:hi:l:n:o:r:s:t:u:v:X:x: opt

Line 81&82:

X) HOSTNOTES=$OPTARG ;;

x) SERVICENOTES=$OPTARG ;;

For the host script: Line 31:

-X HOSTNOTES (\$host.notes\$)

Line 64:

while getopts 4:6::b:c:d:f:hi:l:n:o:r:s:t:v:X: opt

Line 78:

X) HOSTNOTES=$OPTARG ;;

Cheers Lyndsey

shyamjos commented 1 year ago

Hey Thanks for reporting this Lyndsey , Could you please submit a PR for this ?