Fixed
Details
Assignee
Bonnie RobinsonBonnie RobinsonReporter
Daniel LukeDaniel LukeLabels
HB Grooming Date
May 24, 2023HB Backlog Status
BacklogOriginal estimate
Time tracking
No time logged2h remainingComponents
Sprint
NoneFix versions
Affects versions
Priority
Trivial
Details
Details
Assignee
Bonnie Robinson
Bonnie RobinsonReporter
Daniel Luke
Daniel LukeLabels
HB Grooming Date
May 24, 2023
HB Backlog Status
Backlog
Original estimate
Time tracking
No time logged2h remaining
Components
Sprint
None
Fix versions
Affects versions
Priority
PagerDuty
PagerDuty
PagerDuty
Created May 5, 2023 at 5:21 PM
Updated May 21, 2024 at 10:10 AM
Resolved June 21, 2023 at 12:38 PM
As discussed on discourse, Slack’s new ‘Slack App’ webhook API doesn’t allow setting the channel. I posted a method that works for substituting the webhook url in the notification command in that thread. The documentation should be updated to note this limitation (and possibly to recommend a way to handle things) - instead of the previously recommended method from NMS-10628). Alternatively, the implementation could be updated to support slack’s bot user API w/ oauth and chat.postMessage (which can be used to specify a channel).
BR
For documentation
In the slack notifications chapter (https://docs.opennms.com/horizon/latest/operation/deep-dive/notifications/strategies/slack.html), provide the appropriate text regarding the fact that you can’t specify the channel to send in the new slack API, and include the method described in the discourse article listed above.