Nagios 2.3.1, problems with perl plugins

Michael Hüttig Michael.Huettig at medien-systempartner.de
Wed May 17 16:45:21 CEST 2006


Dear Mr. Hopcroft,
excuse me for my previous message, it was unneccesary to post it twice.

I just tested the new_mini_epn and got the following message:

nagios at mspmgmt1:/work/nagios/nagios-2.3/contrib> ./new_mini_epn
plugin command line: /usr/local/nagios/libexec/check_cisco_env.pl -c <community> <hostname>
embedded perl plugin return code and output was: -1 & UNKNOWN: Unable to resolve destination address '-c'

nagios V2.0 works correct with perl-plugins, V2.3.1 makes errors, all services go to state unknown

Do you have any idea to let nagios 2.3.1 work correctly with perl-plugins?

Thanks for your help.
With best regards
Michael

Am Mittwoch, 17. Mai 2006 09:01 schrieb Stanley.Hopcroft at dest.gov.au:
> 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


**********************************************************************
Diese E-Mail wurde auf Viren ueberprueft.
www.mimesweeper.com
**********************************************************************



-------------------------------------------------------
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&kid=120709&bid=263057&dat=121642
_______________________________________________
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