Open B1ue-W01f opened 3 years ago
I think the problem here is just misconfiguration.
Your pillar has component: alertmanager
present for apache_rules. Thing is, rules aren't dealt with by Alertmanager, they're dealt with by Prometheus itself and Alertmanager is just used to fire off alerts. Remove the component part of this (so as to use the default prometheus
value), or set it to component: prometheus
. That will make Prometheus reload instead of Alertmanager and you should be set to jet.
It looks like pillar.example
is misleading in this regard.
Your setup
Formula commit hash / release tag
n/a
Versions reports (master & minion)
n/a
Pillar / config used
Bug details
Describe the bug
Changing the extra_files alerts appears to result in a restart of the alertmanager service but needs to restart the prometheus process too otherwise changes arent updated in prometheus.
Steps to reproduce the bug
Expected behaviour
Prometheus service should be restarted on change to extra_files / alerts
Attempts to fix the bug
None yet.