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