nagios 2.9 ePN INC line [SEC=UNCLASSIFIED]

Stanley.Hopcroft at Dest.gov.au Stanley.Hopcroft at Dest.gov.au
Mon Oct 15 04:51:39 CEST 2007


Dear John,

> From: john <lists at cloned.org.uk>
> Subject: Re: [Nagios-users] nagios 2.9 ePN INC line
> 
> 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.

There is no difference in ePN between v2 and v3 (or very little).

> 
> 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.

I haven't been following this thread but with respect you maybe mistaken
in blaming ePN for INC problems.

ePN is Perl no ifs or buts. If Perl can find the path to the plugin, and
Perl has not been changed since ePN was built, they should have the same
view of INC.

The standard plugins put utils.pm in a non standard Perl path, so most
of my plugins have an added

'use libs q</usr/lib/nagios/plugins>; ' #RHEL3

>From the OP point of view, if you have upgraded Perl since building ePN,
recompile ePN/Nagios so it can get the version (5.8.8) dependent paths.

Yours sincerely.


Classification: UNCLASSIFIED

-------------------------------------------------------------------------
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