mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 08:53:21 +00:00
librenms: fix nagios plugin dir
The monitoring-plugins package used by LibreNMS services installs its binaries in the bin folder, not libexec,
as seen in b3b2b28c1d/pkgs/servers/monitoring/plugins/default.nix (L92)
This commit is contained in:
parent
4397a6d0a6
commit
150125abe2
@ -80,7 +80,7 @@ in phpPackage.buildComposerProject rec {
|
||||
--replace '"default": "/usr/bin/snmpwalk",' '"default": "${net-snmp}/bin/snmpwalk",' \
|
||||
--replace '"default": "/usr/bin/virsh",' '"default": "${libvirt}/bin/virsh",' \
|
||||
--replace '"default": "/usr/bin/whois",' '"default": "${whois}/bin/whois",' \
|
||||
--replace '"default": "/usr/lib/nagios/plugins",' '"default": "${monitoring-plugins}/libexec",' \
|
||||
--replace '"default": "/usr/lib/nagios/plugins",' '"default": "${monitoring-plugins}/bin",' \
|
||||
--replace '"default": "/usr/sbin/sendmail",' '"default": "${system-sendmail}/bin/sendmail",'
|
||||
|
||||
substituteInPlace $out/LibreNMS/wrapper.py --replace '/usr/bin/env php' '${phpPackage}/bin/php'
|
||||
|
Loading…
Reference in New Issue
Block a user