about summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus
diff options
context:
space:
mode:
authorOtto Sabart <seberm@seberm.com>2023-05-23 21:00:00 +0200
committerOtto Sabart <seberm@seberm.com>2023-05-23 21:00:00 +0200
commit2c664e3a6540b7515b5753063f03a936fdfffaf0 (patch)
treec62d894a77c830fabd9ead2561ab83cf12511cc7 /nixos/modules/services/monitoring/prometheus
parent0e3f4da01d2fa7b64cc77e70053439e6db257158 (diff)
downloadnixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar.gz
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar.bz2
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar.lz
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar.xz
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.tar.zst
nixlib-2c664e3a6540b7515b5753063f03a936fdfffaf0.zip
nixos/prometheus-ipmi-exporter: allow AF_UNIX address family
This family is required for ipmi collector.
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus')
-rw-r--r--nixos/modules/services/monitoring/prometheus/exporters/ipmi.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/ipmi.nix b/nixos/modules/services/monitoring/prometheus/exporters/ipmi.nix
index 55c4f4aa4826..9adbe31d84d6 100644
--- a/nixos/modules/services/monitoring/prometheus/exporters/ipmi.nix
+++ b/nixos/modules/services/monitoring/prometheus/exporters/ipmi.nix
@@ -37,5 +37,6 @@ in {
     ] ++ extraFlags);
 
     ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
+    RestrictAddressFamilies = [ "AF_INET" "AF_INET6" "AF_UNIX" ];
   };
 }