alertmanager pain

This commit is contained in:
chris 2025-04-14 23:37:55 +02:00
parent 62ad1df154
commit c0241036c6
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
8 changed files with 413 additions and 94 deletions
systems/monitoring.noc.eh22.intern

View file

@ -23,7 +23,7 @@
user = "grafana";
host = "/run/postgresql";
};
feature_toggles.enable = "autoMigrateOldPanels newVizTooltips";
feature_toggles.enable = "newVizTooltips";
security.angular_support_enabled = false;
};
provision = {
@ -48,7 +48,10 @@
type = "alertmanager";
uid = "mimir-alertmanager";
access = "proxy";
url = "http://127.0.0.1:${toString config.services.loki.configuration.server.http_listen_port}/";
url = "http://mimir.noc.eh22.intern";
basicAuth = true;
basicAuthUser = "noc";
secureJsonData.basicAuthPassword = "$__file{${config.sops.secrets."services/mimir/basic_auth".path}}";
jsonData = {
handleGrafanaManagedAlerts = true;
implementation = "mimir";