Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #11851] Downtime notifications do not pass author and comment #4239
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11851
Created by sru on 2016-05-28 05:19:59 +00:00
From the gui, planned static downtime with comment "missing comment".
icinga2.log and debug.log show that it has been accepted:
Notification template used:
In the shell script, redirected the environment using "set > /tmp/nocomment.log".
2016-08-10 14:04:37 +00:00 by mfriedrich 42818ab
Updated by sru on 2016-05-28 05:22:22 +00:00
#Just created Downtime is missing after we received the notification email.
Updated by dgoetz on 2016-06-01 14:49:15 +00:00
The comment you set by the external command is on the downtime object and not the notification object, but perhaps it is possible to map this internally for notification of type DowntimeStart and DowntimeEnd.
But I would not classify this as bug, because if I remember correct it was never handled so in Icinga 1 and also Icinga 2 before 2.4 (making downtimes an object) would not be capable to do so.
Updated by mfriedrich on 2016-08-04 15:53:50 +00:00
Updated by mfriedrich on 2016-08-10 13:00:35 +00:00
Hm, I stumbled over that file looking into #12333. I doubt that this is a runtime macro issue itself but the underlaying code which requests a notification does not pass the downtime author and comment. This renders the notification email incomplete.
Sorry for the issue update, this clearly is a bug. Will be fixed together with #12333.