Embedded Perl and check_disk_smb stopped working

Don Lewis donnell.lewis at icoretechnology.com
Tue Feb 7 19:42:18 CET 2006


I have my plugins in /usr/local/bin on the client and had a similiar
issue and wound up just making a /usr/local/nagios directory and inside
that directory created a symlink to /usr/local/bin as libexec and now
everything works fine.

-Don

On Tue, 2006-02-07 at 08:32 -0500, Chad Osmond wrote:
> I just upgraded to 2.0rc2 and it seems that my check_disk_smb.pl doesn't
> work any more. Any one have a suggestion?
> I've verified that utils.pm does exist in the /usr/lib/nagios/plugins
> directory and tried copying it to one of the @INC directories
> (/usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi ) but it still
> doesn't seem to work.
> 
> Here is the error message:
> 
> **ePN failed to compile /usr/lib/nagios/plugins/check_disk_smb: "Can't
> locate utils.pm in @INC (@INC contains: nagios/plugins
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.3" at /usr/sbin/p1.pl line
> 
> Thanks,
> 
> Chad 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list