summaryrefslogtreecommitdiff
path: root/hosts/vidhar/prometheus/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r--hosts/vidhar/prometheus/default.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/hosts/vidhar/prometheus/default.nix b/hosts/vidhar/prometheus/default.nix
index 09f808a6..28336638 100644
--- a/hosts/vidhar/prometheus/default.nix
+++ b/hosts/vidhar/prometheus/default.nix
@@ -292,7 +292,7 @@ in {
292 DynamicUser = false; 292 DynamicUser = false;
293 }; 293 };
294 294
295 systemd.services."prometheus-zte-exporter@10.141.1.3" = { 295 systemd.services."prometheus-zte-exporter@dsl01.mgmt.yggdrasil" = {
296 wantedBy = [ "multi-user.target" ]; 296 wantedBy = [ "multi-user.target" ];
297 after = [ "network.target" ]; 297 after = [ "network.target" ];
298 serviceConfig = { 298 serviceConfig = {
@@ -325,12 +325,12 @@ in {
325 Type = "simple"; 325 Type = "simple";
326 ExecStart = "${pkgs.zte-prometheus-exporter}/bin/zte-prometheus-exporter"; 326 ExecStart = "${pkgs.zte-prometheus-exporter}/bin/zte-prometheus-exporter";
327 Environment = "ZTE_BASEURL=http://%I ZTE_HOSTNAME=localhost ZTE_PORT=9900"; 327 Environment = "ZTE_BASEURL=http://%I ZTE_HOSTNAME=localhost ZTE_PORT=9900";
328 EnvironmentFile = config.sops.secrets."zte_10.141.1.3".path; 328 EnvironmentFile = config.sops.secrets."zte_dsl01.mgmt.yggdrasil".path;
329 }; 329 };
330 }; 330 };
331 sops.secrets."zte_10.141.1.3" = { 331 sops.secrets."zte_dsl01.mgmt.yggdrasil" = {
332 format = "binary"; 332 format = "binary";
333 sopsFile = ./zte_10.141.1.3; 333 sopsFile = ./zte_dsl01.mgmt.yggdrasil;
334 }; 334 };
335 335
336 systemd.services."prometheus-nftables-exporter" = { 336 systemd.services."prometheus-nftables-exporter" = {