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