diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 20:45:17 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-04-08 20:45:17 +0200 |
commit | 54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3 (patch) | |
tree | 26951833b8ebbb692d93805d2d10034b6e9e0d65 /hosts/vidhar/prometheus/default.nix | |
parent | 23fe9bd87ae23115151bd1a60cecc29930e303b0 (diff) | |
download | nixos-54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3.tar nixos-54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3.tar.gz nixos-54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3.tar.bz2 nixos-54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3.tar.xz nixos-54c76c5d9a0ce922521788c2c42f6c6c48bdf9e3.zip |
vidhar: dsl01.mgmt.yggdrasil
Diffstat (limited to 'hosts/vidhar/prometheus/default.nix')
-rw-r--r-- | hosts/vidhar/prometheus/default.nix | 8 |
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" = { |