diff options
author | Tom F <tom@tom-fitzhenry.me.uk> | 2019-02-27 00:59:11 +1100 |
---|---|---|
committer | xeji <36407913+xeji@users.noreply.github.com> | 2019-02-26 14:59:11 +0100 |
commit | 9f07fa719c6538a478d0f1c096d209429205f546 (patch) | |
tree | c3ec23ab50336193440f579e2f4e37d836346994 /nixos/modules | |
parent | 5781856630d734738aae55f5bc15e71b210aeb10 (diff) | |
download | nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar.gz nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar.bz2 nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar.lz nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar.xz nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.tar.zst nixpkgs-9f07fa719c6538a478d0f1c096d209429205f546.zip |
Document the addresses Alertmanager will listen on (#56409)
https://github.com/golang/go/issues/9334 describes how net.Listen (as used by Alertmanager): * listens on 127.0.0.1 if the listenAddress is "localhost" * listens on all interfaces if the listenAddress is ""
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/alertmanager.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/alertmanager.nix b/nixos/modules/services/monitoring/prometheus/alertmanager.nix index 43b4a41eaf3..7d790b6b590 100644 --- a/nixos/modules/services/monitoring/prometheus/alertmanager.nix +++ b/nixos/modules/services/monitoring/prometheus/alertmanager.nix @@ -106,7 +106,8 @@ in { type = types.str; default = ""; description = '' - Address to listen on for the web interface and API. + Address to listen on for the web interface and API. Empty string will listen on all interfaces. + "localhost" will listen on 127.0.0.1 (but not ::1). ''; }; |