[Pkg-nagios-devel] Bug#1053687: /usr/lib/nagios/plugins/utils.pm should set $PATH_TO_LMSTAT to /usr/local/bin/lmstat

Christian chanlists at googlemail.com
Sun Oct 8 20:36:57 BST 2023


Package: monitoring-plugins-standard
Version: 2.3.3-5+deb12u1

Any changes to $PATH_TO_LMSTAT in /usr/lib/nagios/plugins/utils.pm will 
be overwritten by the next package upgrade. It is therefore impossible 
to tell the package in a stable way where the lmstat binary is located. 
I assume lmstat is not provided by any standard debian package, so I 
suggest setting $PATH_TO_LMSTAT to /usr/local/bin/lmstat

The sysadmin could then create a symbolic link /usr/local/bin/lmstat and 
that would fix things.

Thanks for looking into this,

Christian



More information about the Pkg-nagios-devel mailing list