1
0

monitoring: fix prometheus snmp restart trigger

This commit is contained in:
Garionion 2022-07-25 17:31:40 +02:00
parent 269fa2a67a
commit 1ec3655036

View File

@ -292,10 +292,10 @@ with lib;
rules = [ (readFile ./alertmanager-rules.yml) ]; rules = [ (readFile ./alertmanager-rules.yml) ];
}; };
systemd.services.prometheus.restartTriggers = [ systemd.services.prometheus-snmp-exporter.restartTriggers = [
config.environment.etc."snmp-exporter/snmp.yml".source config.environment.etc."snmp-exporter/snmp.yml".source
]; ];
services.grafana = { services.grafana = {
enable = true; enable = true;
domain = "grafana.bula22.de"; domain = "grafana.bula22.de";