diff options
author | Jakub Sokołowski <jakub@status.im> | 2023-04-12 23:04:50 +0200 |
---|---|---|
committer | Jakub Sokołowski <jakub@status.im> | 2023-04-12 23:56:32 +0200 |
commit | 3c61665b7f5c8520706e445201b1a6509eb09997 (patch) | |
tree | 15a65eaddea3138d084f1922cb8b79e0910a1cbb /nixos/modules/services/monitoring/prometheus | |
parent | 097f7df150059147a91b8f6bcf0033004fbc8f12 (diff) | |
download | nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar.gz nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar.bz2 nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar.lz nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar.xz nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.tar.zst nixpkgs-3c61665b7f5c8520706e445201b1a6509eb09997.zip |
nixos/prometheus-smartctl-exporter: support extraFlags
Seems to be ignored currently. Useful for `-verbose` flag. Signed-off-by: Jakub Sokołowski <jakub@status.im>
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix index 0c5648c1414..f80aeae9c6b 100644 --- a/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix +++ b/nixos/modules/services/monitoring/prometheus/exporters/smartctl.nix @@ -9,7 +9,7 @@ let "--smartctl.path=\"${pkgs.smartmontools}/bin/smartctl\" " "--smartctl.interval=\"${cfg.maxInterval}\" " "${concatMapStringsSep " " (device: "--smartctl.device=${device}") cfg.devices}" - ]; + ] ++ cfg.extraFlags; in { port = 9633; |