amidaware / tacticalrmm

A remote monitoring & management tool, built with Django, Vue and Go.
https://docs.tacticalrmm.com
Other
2.92k stars 422 forks source link

Alerts Manager - Automation policies - Alerts triggering on not selected checks #1817

Open technoicon opened 3 months ago

technoicon commented 3 months ago

Server Info (please complete the following information):

Installation Method:

Agent Info (please complete the following information):

Describe the bug Alerts are being sent out via "Channel" [email, dashboard, txt] that is not selected, I've only noticed this with email "channel".

Side Note: Informational alerts are also being sent out as failure alerts with powershell scripts.

To Reproduce Steps to reproduce the behavior: email and notifications settings must be setup and working

  1. Create an Automation Policy and add checks. Tick Email alerts on one check, untick email alerts on another check.
  2. Create an Alert Policy.
  3. Under "Check Settings"
  4. Select email, select only email on alerts severity "Error"
  5. Assign this alert template to the automation policy.
  6. Assign this Automation policy to a Client.
  7. Run the checks, have them all fail.
  8. You will receive an email alert from each check, even though the Email Alert checkbox is not ticked.

Expected behavior Only email on checks and alerts that are "ticked" in the automation policy. Not all checks.

Screenshots

image

image image

Screenshot 2024-03-29 120638 Screenshot 2024-03-29 120648

image

image

Additional context Add any other context about the problem here.