Perl problems in Nagios 2.0a1 (Tom DE BLENDE (GCC))

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Mon Aug 16 12:35:54 CEST 2004


Dear Sir,

I am writing to thank you for your letter and say,

On Fri, Aug 13, 2004 at 08:30:39PM -0700, nagios-users-request at lists.sourceforge.net wrote:

> From: "Tom DE BLENDE (GCC)" <Tom.DeBlende at dhl.com>
> To: nagios-users <nagios-users at lists.sourceforge.net>
> Subject: [Nagios-users] Perl problems in Nagios 2.0a1
> 
> Hi folks,
> 
> Am I being a complete dork, or is there a bug in Nagios 2.0a1 that makes 
> it unable to use any of my Perl plugins? They work just fine in 1.0 (on 
> another box) and from the CLI (when being su - 'd to Nagios user).
>

There seem to be at least two issues here

1 changes to configure to use ePN by default - if that's what you got 
(<path_to_nag>/bin/nagios -m will tell you).

In any case, configure --help will show the options to disable ebedded 
Perl interpreter 

2 changes to ePN

2.1 to deal with leaks by periodically reload interp (should set  
upper bound on nag mem usage) ==> unlikely to be source of probs

2.2 changes to p1.pl and interface to nag in checks.c (me) ==> prob 
culprit.

I haven't looked at 2.0 for a while but these latter changes have been 
solid with 1.2 for yonks.

Have a look at the p1.pl text and see if you feel like enabling 'war and 
peace mode' debugging (think it's called 'debug' or sim) by editing 
p1.pl and posting me the log.

perldoc <path_to_nag>/bin/p1.p1 should tell you what to do. OTOH the 
docco is __slack__.

Since this is a bug in a devel branch may be better on nagios-devel
 
> I'm puzzled. I just get the "(No Output!)" thing...
> 
> Thanks,
> Tom
> 
> 

Yours sincerely.

-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
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