Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alerts stop working from Icinga 2.14 #1

Open
brummybird opened this issue Aug 4, 2023 · 1 comment
Open

Alerts stop working from Icinga 2.14 #1

brummybird opened this issue Aug 4, 2023 · 1 comment

Comments

@brummybird
Copy link

brummybird commented Aug 4, 2023

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
Copy link
Owner

shyamjos commented Aug 8, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants