Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kube-prometheus-stack] removing alertmanager generates a alert #5025

Open
wattebausch opened this issue Nov 27, 2024 · 0 comments
Open

[kube-prometheus-stack] removing alertmanager generates a alert #5025

wattebausch opened this issue Nov 27, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@wattebausch
Copy link

wattebausch commented Nov 27, 2024

if we remove alertmanager and its rules (see vaules.yaml below) there is a rule ‘PrometheusNotConnectedToAlertmanagers’ under prometheus which becomes active. basically good and correct. but if someone explicitly do not use an alarm manager, the rule should also disappear? (more info in the "Additional context")

values files that we use

  values:
    alertmanager:
      enabled: false
    defaultRules:
      rules:
        alertmanager: false

Describe the solution you'd like.

move the rule PrometheusNotConnectedToAlertmanagers in prometheus to alertmanager.rules. or the splitting of Prometheus Rules

Describe alternatives you've considered.

leave alarm manager enabled and only delete the rules from alarm magner

Additional context.

our IT uses icinga2 for alerting and monitoring. with check_prometheus from NETWAYS we can query prometheus alarms. the advantage with this check is that we developers can define the alarms in our environment and provide an interface to the IT
https://github.com/NETWAYS/check_prometheus

@wattebausch wattebausch added the enhancement New feature or request label Nov 27, 2024
@zeritti zeritti changed the title [prometheus-kube-stack] removing alertmanager generates a alert [kube-prometheus-stack] removing alertmanager generates a alert Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant