Description
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