[bug-notifications] [nagios_plugins 0003927]: check_mailq in 1.4.13, REV=2009.04.26 (& possibly other perl-based plugins) need /opt/csw/libexec/nagios-plugins in INC

Mantis Bug Tracker noreply at opencsw.org
Tue Sep 29 20:22:33 CEST 2009


The following issue has been ASSIGNED. 
====================================================================== 
http://www.opencsw.org/mantis/view.php?id=3927 
====================================================================== 
Reported By:                bchill
Assigned To:                ja
====================================================================== 
Project:                    nagios_plugins
Issue ID:                   3927
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2009-09-29 19:50 CEST
Last Modified:              2009-09-29 20:22 CEST
====================================================================== 
Summary:                    check_mailq in 1.4.13,REV=2009.04.26  (& possibly
other perl-based plugins) need /opt/csw/libexec/nagios-plugins in INC
Description: 
check_mailq cannot find utils.pm:

# /opt/csw/libexec/nagios-plugins/check_mailq
Can't locate utils.pm in @INC (@INC contains: nagios-plugins
/opt/csw/lib/perl/5
.8.8 /opt/csw/share/perl/5.8.8 /opt/csw/lib/perl/site_perl
/opt/csw/share/perl/s
ite_perl /opt/csw/lib/perl/csw /opt/csw/share/perl/csw .) at
/opt/csw/libexec/na
gios-plugins/check_mailq line 36.
BEGIN failed--compilation aborted at
/opt/csw/libexec/nagios-plugins/check_mailq
 line 36.


But adding /opt/csw/libexec/nagios-plugins fixes it:

# PERL5LIB=/opt/csw/libexec/nagios-plugins
/opt/csw/libexec/nagios-plugins/check
_mailq
Usage: check_mailq -w <warn> -c <crit> [-W <warn>] [-C <crit>] [-M <MTA>]
[-t <t
imeout>] [-v verbose]


======================================================================




More information about the bug-notifications mailing list