Integrated Alerting: Error 'Rule with ID "mysql_version" not found' if both Security Threat Tool and Integrated Alerting enabled

Description

User impact:
User is not able to see alerts if both Integrated Alerting and STT are enabled

Steps to reproduce:

  • Set up PMM with an interval for STT checks execution
    -e PERCONA_TEST_CHECKS_INTERVAL=10s

  • Navigate to PMM>>>Settings and enable STT and Integrated alerting and Apply Settings.

  • Add slack or email settings to Communication settings to be able to receive notifications.

  • Navigate to the Integrating Alerts menu

  • Create a Notification channel

  • Add rule e.g. "MySQL down" and specify rule details

  • Emulate mysql instance down and verify Alerts tab

Actual result:
Error is shown 'Rule with ID "mysql_version" not found'
Expected result:
No errors and Alert is shown in Alerts list

Workaround:
Not to enable STT in Settings.

How to test

None

How to document

None

Smart Checklist

Activity

Zoriana Stefanyshyn January 22, 2021 at 11:27 AM

Tested on perconalab/pmm-server-fb:PR-1411-0e48399.

Alexey Palazhchenko December 29, 2020 at 4:57 PM

We should filter IA alerts by ia="1" label

Done

Details

Assignee

Reporter

Priority

Components

Needs QA

Yes

Fix versions

Sprint

Affects versions

Smart Checklist Progress

Smart Checklist

Created December 29, 2020 at 4:03 PM
Updated March 6, 2024 at 3:24 AM
Resolved January 22, 2021 at 12:26 PM