Ad Widget

Collapse

Resolved alerts aren't being sent

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • venijamin
    Junior Member
    • Aug 2024
    • 3

    #1

    Resolved alerts aren't being sent

    Hi,
    Click image for larger version

Name:	image.png
Views:	644
Size:	51.2 KB
ID:	490150
    I have one telegram bot that is setup in a way so that it sends an alert to two groups on telegram.
    The messages being sent are one for the problem and then another one when it's resolved
    I did this by setting the recovery operation to notify all.
    This used to work until yesterday when it suddenly stopped sending resolved messages on one of the groups.
    It still sends the problems to both groups but only one is getting the resolved message.
    I haven't changed anything in the alerts.
    The first action works as intended and sends both problems and resolved messages.

    The second one does not

    Could the problem be that it's hanging on sending emails? Since sometimes we hit the rate limit of sending emails, so they just keep retrying?
    ​​
    ​​Thank you.​
  • Answer selected by venijamin at 29-08-2024, 15:15.
    venijamin
    Junior Member
    • Aug 2024
    • 3

    I fixed the issue, as I suspected the telegram notifications hanged because the emails kept retrying.
    We switched to a different smtp server, and I separated the telegram alerts from the email alerts, now it all works as it should.
    Though this solution requires double the number of alert configurations I have to keep the email alerts up.

    Comment

    • kamil1
      Member
      • Aug 2024
      • 40

      #2
      I would suggest that you see the Zabbix logs. Maybe you could also test the bots manually (to see if everything is ok on the Telegram API side. Also double-check the action configurations for both groups and make sure the recovery operation for the second group is still set up properly.

      I think you could also try temporarily disabling email alerts and see if the recovery messages to the second Telegram group start coming through again.

      Comment

      • venijamin
        Junior Member
        • Aug 2024
        • 3

        #3
        I fixed the issue, as I suspected the telegram notifications hanged because the emails kept retrying.
        We switched to a different smtp server, and I separated the telegram alerts from the email alerts, now it all works as it should.
        Though this solution requires double the number of alert configurations I have to keep the email alerts up.

        Comment

        • kamil1
          Member
          • Aug 2024
          • 40

          #4
          Glad to hear that.

          Comment

          Working...