Package: monitoring-plugins-common Version: 2.3.3-5+deb12u2 Severity: normal Tags: patch
Dear Maintainer, The command check_flexlm from montoring-plugins-standard is useless because it relies on the setting PATH_TO_LMSTAT from monitoring-plugins-common, which is unfortunately empty. AFAIK, no Debian package provides lmstat. So I suggest setting PATH_TO_LMSTAT to /usr/local/bin/lmstat so that somebody who wants to use the plugin can provide a symbolic link under /usr/local/bin/lmstat or place the exectutable right there. Even if there were a debian package that provided lmstat, the mechanism would still allow to make things work... Thanks for considering my suggesion. Here is my patch: --- /usr/lib/nagios/plugins/utils.pm 2024-02-11 17:57:02.238612539 +0100 +++ /usr/lib/nagios/plugins/utils.pm.orig 2024-02-11 17:58:59.337727843 +0100 @@ -19,7 +19,7 @@ ## updated by autoconf $PATH_TO_SUDO = "/usr/bin/sudo"; $PATH_TO_RPCINFO = "/usr/sbin/rpcinfo" ; -$PATH_TO_LMSTAT = "/usr/local/bin/lmstat" ; +$PATH_TO_LMSTAT = "" ; $PATH_TO_SMBCLIENT = "/usr/bin/smbclient" ; $PATH_TO_MAILQ = "/usr/bin/mailq"; $PATH_TO_QMAIL_QSTAT = ""; Best wishes, Christian -- System Information: Debian Release: 12.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-17-amd64 (SMP w/32 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages monitoring-plugins-common depends on: ii libc6 2.36-9+deb12u4 ii ucf 3.0043+nmu1 monitoring-plugins-common recommends no packages. Versions of packages monitoring-plugins-common suggests: ii icinga2 2.13.6-2 -- no debconf information