OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003927 [nagiosp] regular use minor always 2009-09-29 19:50 2012-07-12 11:02
Reporter bchill View Status public  
Assigned To ja
Priority normal Resolution fixed  
Status closed  
Summary 0003927: 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]

Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0006772)
ja (developer)
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 (developer)
2012-07-12 11:02

Problem solved, see descriptions.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker