about summary refs log tree commit diff
path: root/nixos/doc
diff options
context:
space:
mode:
authorWilliButz <willibutz@posteo.de>2024-01-12 18:42:37 +0100
committerWilliButz <willibutz@posteo.de>2024-01-17 20:34:30 +0100
commitbb9c7762bcdab1e9d697a0e521ae8078c7e10d7f (patch)
tree12fdc20f0367e79de39916bc52db836060ca0225 /nixos/doc
parenta8ea9fe49250d2d8e3d41a10a0f21e326c87fbad (diff)
downloadnixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar.gz
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar.bz2
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar.lz
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar.xz
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.tar.zst
nixlib-bb9c7762bcdab1e9d697a0e521ae8078c7e10d7f.zip
nixos/prometheus-snmp-exporter: add config check
This is introduced and enabled by default because the config syntax for
the exporter changed with release 0.23.0.

This should make the breaking config change obvious before services are
deployed with an incompatible old config.

The check is based on the check present in the blackbox-exporter module.
Diffstat (limited to 'nixos/doc')
-rw-r--r--nixos/doc/manual/release-notes/rl-2405.section.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2405.section.md b/nixos/doc/manual/release-notes/rl-2405.section.md
index c075149a0e5d..724307c0940a 100644
--- a/nixos/doc/manual/release-notes/rl-2405.section.md
+++ b/nixos/doc/manual/release-notes/rl-2405.section.md
@@ -124,6 +124,10 @@ The pre-existing [services.ankisyncd](#opt-services.ankisyncd.enable) has been m
 - `security.pam.enableSSHAgentAuth` now requires `services.openssh.authorizedKeysFiles` to be non-empty,
   which is the case when `services.openssh.enable` is true. Previously, `pam_ssh_agent_auth` silently failed to work.
 
+- The configuration format for `services.prometheus.exporters.snmp` changed with release 0.23.0.
+  The module now includes an optional config check, that is enabled by default, to make the change obvious before any deployment.
+  More information about the configuration syntax change is available in the [upstream repository](https://github.com/prometheus/snmp_exporter/blob/b75fc6b839ee3f3ccbee68bee55f1ae99555084a/auth-split-migration.md).
+
 ## Other Notable Changes {#sec-release-24.05-notable-changes}
 
 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. -->