nagios 2.9 ePN INC line

john lists at cloned.org.uk
Sat Oct 13 07:15:11 CEST 2007


I guess that is an option, but I'd prefer not to have to do that for all 
the additional modules/plugins that I end up with. Does version 3 behave 
better as I may be able to hold off for that before changing the main 
monitoring node.

Thanks,

john

On Fri, 12 Oct 2007, David Fulton wrote:

> Symbolic link the NET::DNS plugin to one of those directories (like
> /usr/lib/perl5/site_perl/5.8.8) and it should find the module after
> that. I gave up on trying to change how ePN looks for modules when it
> couldn't find  utils.pm in my plugin directory. Since all the default
> PERL nagios plugins need that I just made a symlink. Works smooth as
> silk.
>
>
> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net
> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of john
> Sent: Friday, October 12, 2007 1:31 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] nagios 2.9 ePN INC line
>
> Any suggestions on how to make ePN play fair?
>
> I'm using nagios 2.9, and trying to use a plugin that uses Net::DNS.
>
> I installed Net::DNS using gentoo package management all fine and dandy,
>
> scripts work on command line, but not through embedded perl. Mainly
> because ePN has an include line that misses out where the plugin is..
> (/usr/lib/perl5/5.8.8/...)
>
> Here's the (truncated) error message that seems to get output (not sure
> what the tailing missing bit is):
>
> **ePN failed to compile /usr/nagios/libexec/check_dns_host: "Can't
> locate
> Net/DNS.pm in @INC (@INC contains: /etc/perl
> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux
> /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl
> /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8
>
> /usr/lib/perl5/site_p" at /usr/nagi
>
> So how do I adjust the INC line that ePN tries to use? I can't find
> anything in docs about it and my google-foo is failing. I don't really
> wanna modify each plugin..
>
> I've currently disabled ePN as I'd like the thing to work for now. Is
> there a general guide anywhere on how to make ePN not be so annoying and
>
> unusable? I tried to use it once before on a box that does several
> hundred checks but ended up turning it off as I couldn't get it to play
> nice, but would like to gain back some performance benefits if possible
> :-)
>
> Cheers,
>
> john
>
> ------------------------------------------------------------------------
> -
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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