Nagios 2.3.1, problems with perl plugins

Stanley.Hopcroft at Dest.gov.au Stanley.Hopcroft at Dest.gov.au
Wed May 17 09:01:45 CEST 2006


Dear Sir,

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

>-----Original Message-----
>
>Message: 2
>Date: Tue, 16 May 2006 08:09:13 +0200
>From: Frederik Vanhee <frederik.vanhee at perso.be>
>To: nagios-users at lists.sourceforge.net
>Subject: [Nagios-users] Nagios 2.3.1, problems with perl plugins
>
>Hello,
>
>I just installed nagios-2.3.1, with perlcache and 
>embedded-perl-interpreter. Before I had Nagios-2.0rc2 with 
>perlcache and embedded-perl-interpreter. I'm using 
>nagios-plugins 1.4.3 The system is running on Debian Sarge
>
>Ever since the upgrade , I experience problems with plugins written in 
>perl. p.ex
>
>check_ntp -H xx.xx.xx.xx -w 5 -c 10
>
>returns :
>
>Argument "(not parsed)" isn't numeric in abs at ./check_ntp 
>line 408 NTP OK: Offset 0.000927 sec, jitter (not parsed) 
>msec, peer is stratum 2 
>| offset=0.000927, jitter=0,peer_stratum=2
>

I am happily using embedded Perl 2.3 (built from a SPEC based on the
Dag Wieers specfile) and there are no problems with Perl plugins.

Are all Perl plugins failing or only check_ntp ?

IIRC there has been quite a lot of comment about check_ntp; it may be
worth
checking the thread on gmane (there may be a better check_ntp than the
one
with 1.4.3 plugins).

There is an embedded Perl diagnostic with Nagios called new_mini_epn.
It is a C binary that emulates the part of checks.c that runs Perl
plugins.

To use,

cd into the directory containing new_mini_epn or copy it to /tmp or
convenient place.
cp p1.pl into that dir (if its not there).
[sh1517 at acisf011 tmp]$ ./new_mini_epn 
plugin command line: 

(the program supports readline so arrow history works etc.)

My copy of check_ntp doesn't work -it's not a plugin used here - so I
can't check
it out.


>Any hints,
>
>Frederik
>


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&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





More information about the Users mailing list