nagios 2.9 ePN INC line

john lists at cloned.org.uk
Fri Oct 12 19:30:31 CEST 2007


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





More information about the Users mailing list