From 54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 8 Apr 2022 20:45:17 +0200 Subject: vidhar: dsl01.mgmt.yggdrasil --- hosts/vidhar/prometheus/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'hosts/vidhar/prometheus/default.nix') 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 { DynamicUser = false; }; - systemd.services."prometheus-zte-exporter@10.141.1.3" = { + systemd.services."prometheus-zte-exporter@dsl01.mgmt.yggdrasil" = { wantedBy = [ "multi-user.target" ]; after = [ "network.target" ]; serviceConfig = { @@ -325,12 +325,12 @@ in { Type = "simple"; ExecStart = "${pkgs.zte-prometheus-exporter}/bin/zte-prometheus-exporter"; Environment = "ZTE_BASEURL=http://%I ZTE_HOSTNAME=localhost ZTE_PORT=9900"; - EnvironmentFile = config.sops.secrets."zte_10.141.1.3".path; + EnvironmentFile = config.sops.secrets."zte_dsl01.mgmt.yggdrasil".path; }; }; - sops.secrets."zte_10.141.1.3" = { + sops.secrets."zte_dsl01.mgmt.yggdrasil" = { format = "binary"; - sopsFile = ./zte_10.141.1.3; + sopsFile = ./zte_dsl01.mgmt.yggdrasil; }; systemd.services."prometheus-nftables-exporter" = { -- cgit v1.2.3