Hi Stanley, i´ve posted on monday the following message. I think there was a problem with embedded perl. Which perl-plugins do you use?
I just upgraded my Nagios-2.0 to nagios-2.3. Both Versions were compiled with epn-support with --enable-embedded-perl --with-perlcache Runnning nagios-2.0 all checks using perl-plugins (check_smart, check_cisco_env, check_ifoperstatus and others) were doing fine. Using nagios-2.3 i got the following errors: check_ciscoenv.pl ;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to resolve destination address '-c' check_load.pl ;Load;UNKNOWN;SOFT;2;**ePN /usr/local/nagios/libexec/check_load.pl: "Argument "" isn't numeric in numeric lt (<) at (eval 12) line 61,". check_ifoperstatus.pl ;UNKNOWN;notify-by-email;**ePN /usr/local/nagios/libexec/check_ifoperstatus: Option d requires an argument. check_smart.pl ;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN /usr/local/nagios/libexec/check_smart.pl: "Can't exec "sudo": No such file or directory at (eval 15) line 119,". check_traffic.pl ;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: Could not match ISDN Basic Rate Interface (S0) After downgrading to nagios-2.0 all services recovered. Anyone else having this strange problems? How do i get rid of this messages/errors? Thanks for your help. With best regards Michael Am Mittwoch, 17. Mai 2006 09:01 schrieb [EMAIL PROTECTED]: > 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 <[EMAIL PROTECTED]> > >To: [email protected] > >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). > [EMAIL PROTECTED] 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 > [email protected] > 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&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list [email protected] 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
