Nagios Bug and Feature Tracker
Bug and Feature Tracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000122 [Nagios Plugins] Installation minor always 2009-12-22 11:15 2012-09-18 09:11
Reporter authority View Status public  
Assigned To
Priority normal Resolution open  
Status closed  
Summary 0000122: add --with-lmstat-command to configure
Description Just upgraded nagios-plugins to 1.4.14.

The configure script has numerous options for specifying the location of various commands that may be used by the plugins.

The check_flexlm script makes use of the lmstat binary, specified in the utils.pm library, but the value is empty, which caused some minor breakage during my upgrade.

It appears that @PATH_TO_LMSTAT@ is a macro that could be used to expand to the correct value if the path to lmstat was supplied or automatically detected. I don't expect any sort of logic could find the lmstat binary on my system (and it's not in my build user's path), so some means of supplying the value should be added, presumably during the configure.
Additional Information [nagios@enigma nagios-plugins-1.4.14]$ grep -R PATH_TO_LMSTAT *
config.h:/* #undef PATH_TO_LMSTAT */
config.h.in:#undef PATH_TO_LMSTAT
config.log:PATH_TO_LMSTAT=''
config.status:s,@PATH_TO_LMSTAT@,|#_!!_#|,g
configure:PATH_TO_LMSTAT
configure:if test "${ac_cv_path_PATH_TO_LMSTAT+set}" = set; then
configure: case $PATH_TO_LMSTAT in
configure: ac_cv_path_PATH_TO_LMSTAT="$PATH_TO_LMSTAT" # Let the user override the test with a path.
configure: ac_cv_path_PATH_TO_LMSTAT="$as_dir/$ac_word$ac_exec_ext"
configure:PATH_TO_LMSTAT=$ac_cv_path_PATH_TO_LMSTAT
configure:if test -n "$PATH_TO_LMSTAT"; then
configure: { echo "$as_me:$LINENO: result: $PATH_TO_LMSTAT" >&5
configure:echo "${ECHO_T}$PATH_TO_LMSTAT" >&6; }
configure:if test -x "$PATH_TO_LMSTAT"
configure:#define PATH_TO_LMSTAT "$PATH_TO_LMSTAT"
configure:PATH_TO_LMSTAT!$PATH_TO_LMSTAT$ac_delim
configure.in:AC_PATH_PROG(PATH_TO_LMSTAT,lmstat)
configure.in:if test -x "$PATH_TO_LMSTAT"
configure.in: AC_DEFINE_UNQUOTED(PATH_TO_LMSTAT,"$PATH_TO_LMSTAT",[path to lmstat])
gl/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
gl/Makefile:PATH_TO_LMSTAT =
lib/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
lib/tests/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
lib/tests/Makefile:PATH_TO_LMSTAT =
lib/Makefile:PATH_TO_LMSTAT =
Makefile:PATH_TO_LMSTAT =
Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
perlmods/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
perlmods/Makefile:PATH_TO_LMSTAT =
plugins/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
plugins/Makefile:PATH_TO_LMSTAT =
plugins-root/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
plugins-root/Makefile:PATH_TO_LMSTAT =
plugins-scripts/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
plugins-scripts/utils.pm.in:$PATH_TO_LMSTAT = "@PATH_TO_LMSTAT@" ;
plugins-scripts/check_flexlm.pl:my $lmstat = $utils::PATH_TO_LMSTAT ;
plugins-scripts/Makefile:PATH_TO_LMSTAT =
plugins-scripts/utils.pm:$PATH_TO_LMSTAT = "" ;
plugins-scripts/check_flexlm:my $lmstat = $utils::PATH_TO_LMSTAT ;
tap/Makefile.in:PATH_TO_LMSTAT = @PATH_TO_LMSTAT@
tap/Makefile:PATH_TO_LMSTAT =
Tags No tags attached.
OS CentOS
OS Version 5.0
Attached Files

- Relationships

-  Notes
(0000540)
calestyo (reporter)
2012-07-31 19:34

Forwarded to: https://sourceforge.net/tracker/?func=detail&aid=3552862&group_id=29880&atid=397597 [^]

- Issue History
Date Modified Username Field Change
2009-12-22 11:15 authority New Issue
2009-12-22 11:15 authority OS => CentOS
2009-12-22 11:15 authority OS Version => 5.0
2012-07-31 19:34 calestyo Note Added: 0000540
2012-09-18 09:11 ageric Status new => closed


Mantis 1.1.7[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker