nixpkgs/nixos/modules/services/monitoring/prometheus
Bjørn Forsman 86a6ef5f15 nixos/prometheus-smartctl-exporter: fix NVMe scanning
smartctl_exporter already runs with SupplementaryGroups "disk", which
gives full access to SATA drives, but NVMe devices are owned by
root:root, resulting in no access:

  [...] msg="Smartctl open device: /dev/nvme0 failed: Permission denied"

This patch introduces a "smartctl-exporter-access" supplementary
group, and an udev rule with setfacl to give the exporter access to NVMe
drives, without changing the base root:root ownership.

Fixes https://github.com/NixOS/nixpkgs/issues/210041
2024-09-19 17:28:30 +02:00
..
exporters nixos/prometheus-smartctl-exporter: fix NVMe scanning 2024-09-19 17:28:30 +02:00
alertmanager-irc-relay.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
alertmanager-webhook-logger.nix nixos/prometheus: Harden alertmanager/webhook-logger/pushgateway systemd definitions 2024-07-07 00:15:57 +01:00
alertmanager.nix nixos/prometheus: Harden alertmanager/webhook-logger/pushgateway systemd definitions 2024-07-07 00:15:57 +01:00
default.nix nixos/prometheus: Add query_log_file option 2024-05-25 17:03:24 +02:00
exporters.md nixos/services.prometheus.exporters: remove with lib; 2024-08-30 00:30:58 +02:00
exporters.nix nixos/prometheus-smartctl-exporter: fix NVMe scanning 2024-09-19 17:28:30 +02:00
pushgateway.nix nixos/prometheus: Harden alertmanager/webhook-logger/pushgateway systemd definitions 2024-07-07 00:15:57 +01:00
sachet.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
xmpp-alerts.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00