From 6b6bf0dcc593593fbc0d238937d5502312c96aa7 Mon Sep 17 00:00:00 2001 From: Sam Grimee Date: Tue, 28 May 2024 15:06:55 +0000 Subject: [PATCH] librenms: add missing runtime dependencies Adds packages required by LibreNMS features. They are currently configured in the librenms module, but not available at runtime, causing some functionality to fail, e.g. graphs not rendered because rrdtool is missing, or services not working because monitoring-plugins are not available. This fixes the issue by adding the packages to buildInputs. --- pkgs/servers/monitoring/librenms/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/servers/monitoring/librenms/default.nix b/pkgs/servers/monitoring/librenms/default.nix index b286388902c0..4ba6a97b6c38 100644 --- a/pkgs/servers/monitoring/librenms/default.nix +++ b/pkgs/servers/monitoring/librenms/default.nix @@ -38,7 +38,18 @@ in phpPackage.buildComposerProject rec { php = phpPackage; buildInputs = [ + graphviz + ipmitool + libvirt + monitoring-plugins + mtr + net-snmp + nfdump + nmap + rrdtool + system-sendmail unixtools.whereis + whois (python3.withPackages (ps: with ps; [ pymysql python-dotenv