monitoring: fix prometheus snmp restart trigger
This commit is contained in:
parent
269fa2a67a
commit
1ec3655036
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user