it-novum / openITCOCKPIT

openITCOCKPIT is an Open Source system monitoring tool built for different monitoring engines like Nagios, Naemon and Prometheus.
https://openitcockpit.io/
GNU General Public License v3.0
263 stars 50 forks source link

Slack notification Two-way not working #1672

Open lgcosta opened 5 months ago

lgcosta commented 5 months ago

Describe the bug I'm trying to make the Two-way option work in Slack's notification configuration using the OITC API.

Notifications are working correctly, the "acknowledge" button is functional, the Slack request arrives on the server and the response is with code 200, however, the command is not effective in OITC and the username is not shown in the action.

Anyone having any other problems related to this?

To Reproduce Steps to reproduce the behavior:

  1. Configure Slack notification (documented: https://docs.openitcockpit.io/en/alerting/slack/)
  2. On received message, click on "Acknowledge" button
  3. Check the return message without username
  4. Check the log acknowledge messages on Service/Host page information

Expected behavior That the Acknowledge command is effective and appears in the Host/Service activity log

Screenshots image

Versions