[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
Thu Jul 12 11:02:21 CEST 2012


The following issue has been CLOSED 
====================================================================== 
https://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:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-09-29 19:50 CEST
Last Modified:              2012-07-12 11:02 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]


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

---------------------------------------------------------------------- 
 (0010015) ja (manager) - 2012-07-12 11:02
 https://www.opencsw.org/mantis/view.php?id=3927#c10015 
---------------------------------------------------------------------- 
Problem solved, see descriptions.



More information about the bug-notifications mailing list