Mantis - nagiosp
Viewing Issue Advanced Details
3927 regular use minor always 2009-09-29 19:50 2012-07-12 11:02
bchill  
ja  
normal  
closed  
fixed  
none    
none  
0003927: check_mailq in 1.4.13,REV=2009.04.26 (& possibly other perl-based plugins) need /opt/csw/libexec/nagios-plugins in INC
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]

Issue History
2009-09-29 19:50 bchill New Issue
2009-09-29 20:22 ja Status new => assigned
2009-09-29 20:22 ja Assigned To => ja
2009-09-29 22:40 ja Status assigned => confirmed
2009-09-29 22:54 ja Note Added: 0006772
2009-09-29 22:54 ja Status confirmed => feedback
2012-07-12 11:02 ja Note Added: 0010015
2012-07-12 11:02 ja Status feedback => closed
2012-07-12 11:02 ja Resolution open => fixed

Notes
(0006772)
ja   
2009-09-29 22:54   
there are updated packages in testing. Please try them out.

The perl script now use "/opt/csw/libexec/nagios-plugins" as a library path.
(0010015)
ja   
2012-07-12 11:02   
Problem solved, see descriptions.