[GH-ISSUE #581] [BUG] If a resource is added to Alerter blacklist and then deleted from system, UI still indicates that Alerts are blacklisted by # resources #5012

Open
opened 2026-04-22 00:11:29 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @supermarkert on GitHub (Jun 4, 2025).
Original GitHub issue: https://github.com/moghtech/komodo/issues/581

Steps to reproduce:

  1. Create a test resource, like a Stack
  2. Choose an Alerter, and add this to the Resource Blacklist
  3. Delete the test Stack
  4. Return to the Alerter: UI notes that there are alerts Blacklisted by # resource, but this resource(s) doesn't exist.
  5. To confirm, click the Edit Resource button. The deleted Resource cannot be found in the list (because it's deleted).
  6. (I only tested Blacklist, but I assume the same happens with a Whitelist)

Image

No resources are enabled:

Image

Originally created by @supermarkert on GitHub (Jun 4, 2025). Original GitHub issue: https://github.com/moghtech/komodo/issues/581 Steps to reproduce: 1. Create a test resource, like a Stack 2. Choose an Alerter, and add this to the Resource Blacklist 3. Delete the test Stack 4. Return to the Alerter: UI notes that there are alerts **Blacklisted by # resource**, but this resource(s) doesn't exist. 5. To confirm, click the Edit Resource button. The deleted Resource cannot be found in the list (because it's deleted). 6. (I only tested Blacklist, but I assume the same happens with a Whitelist) ![Image](https://github.com/user-attachments/assets/0b54fcca-0378-4901-90c7-b3acf22dd41a) No resources are enabled: ![Image](https://github.com/user-attachments/assets/505e6f8c-bebe-4f64-8004-4d616c8d6cda)
GiteaMirror added the 1.19.3bug labels 2026-04-22 00:11:29 -05:00
Author
Owner

@supermarkert commented on GitHub (Jun 4, 2025):

BTW, if I look at the Toml file, I see the "except_resources" exceptions noted. There just doesn't seem to be a way to remove them from the database:

[[alerter]]
name = "alerter-gotify"
description = "Service to send Alerts to gotify instance."
[alerter.config]
enabled = true
endpoint.type = "Custom"
endpoint.params.url = "http://komodo.lan:7000"
except_resources = [
  { type = "Stack", id = "683f0b49411909484e518cf9" },
  { type = "Stack", id = "6840391f3546524644f96293" }
]
<!-- gh-comment-id:2939852727 --> @supermarkert commented on GitHub (Jun 4, 2025): BTW, if I look at the Toml file, I see the "except_resources" exceptions noted. There just doesn't seem to be a way to remove them from the database: ``` [[alerter]] name = "alerter-gotify" description = "Service to send Alerts to gotify instance." [alerter.config] enabled = true endpoint.type = "Custom" endpoint.params.url = "http://komodo.lan:7000" except_resources = [ { type = "Stack", id = "683f0b49411909484e518cf9" }, { type = "Stack", id = "6840391f3546524644f96293" } ] ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#5012