icinga2 icon indicating copy to clipboard operation
icinga2 copied to clipboard

Wrong Notifications in Icinga due to discrepancies between icinga2 and icingaweb

Open BT-Basit opened this issue 1 year ago • 3 comments

Describe the bug

We noticed discrepancies between Icinga and Icingaweb regarding states and notifications: image

While analyzing the icinga2 logfile we found out that Icinga executes the notification as a "Problem" although the WebUI shows that check should be ok [06:08:06 +0200] information/Notification: Sending reminder 'Problem' notification 'host_xyz!Notification_xyz' for user 'Notication Contact' [06:08:06 +0200] information/Notification: Completed sending 'Problem' notification 'host_xyz!Notification_xyz' for checkable 'host_xyz!service_abc' and user 'Notification Contact' using command 'my-notification-command'.

We couldn't find out how the states, the check output etc. come into Icingaweb. Our guess is that somewhere during the process in getting the information Icingaweb only gets some old values.

To Reproduce

We were not able to reproduce this issue.

Expected behavior

Icinga should execute a "Recovery" Notification because we tested the check command and it was OK. It shouldn't be a Problem Notification

Your Environment

Version used (icinga2 --version): r2.14.0-1 Operating System and version: RHEL 7 (7.9) Enabled features (icinga2 feature list): api checker graphite ido-mysql mainlog notification Icinga Web 2 version and modules (System - About): 2.11.4 2 Master and 2 Satellites for each Master

BT-Basit avatar Oct 30 '23 15:10 BT-Basit

Hi there, reminder :)

BT-Basit avatar Nov 27 '23 13:11 BT-Basit

Hi guys,

reminder :)

BT-Basit avatar Dec 11 '23 17:12 BT-Basit

Sounds like #9720

Al2Klimov avatar Jun 04 '24 12:06 Al2Klimov