Check_NTP (embedded perl) Problem

Kevin Stussman kevins at solium.com
Mon May 12 22:20:57 CEST 2003


Have been using Netsaint / Nagios for a while now (thank you very much!)
but our recent migration to Redhat 9 and Nagios 1.0 has a few problems:

---------
Problem 1
---------
1. I cannot get the check_ntp perl script to work properly inside of
nagios. For example, the command run by itself works fine:

# ./check_ntp -H jessie
NTP OK: Offset -0.001372 secs, jitter 2.986 msec, peer is stratum 3

Now when I start up nagios:

[1052766953] SERVICE ALERT: jessie;Simple NTP Service
Response;CRITICAL;SOFT;1;(No output!)

I *believe* this has to do with embedded perl. So I decided to turn
off embedded perl...which brings me to problem number two:

---------
Problem 2
---------
2. No matter how I try from the command line, I cannot turn off embedded
perl. I use this command line configure (I tried a lot of combinations):

./configure --prefix=/monitor/nagios --with-nagios-user=nagios
--with-nagios-group=nagios  --with-command-user=nagioscmd
--with-cgiurl=/monitor/nagios/cgi-bin --with-htmurl=/nagios
--enable-embedded-perl=no --disable-embedded-perl
--without-embedded-perl 

and the results are:
*** Configuration summary for nagios 1.0 11-24-2002 ***:

 General Options:
 -------------------------
        Nagios executable:  nagios
        Nagios user/group:  nagios,nagios
       Command user/group:  nagioscmd,nagios
            Embedded Perl:  yes, without caching
        Install ${prefix}:  /monitor/nagios
                Lock file:  ${prefix}/var/nagios.lock
           Init directory:  /etc/rc.d/init.d

The only solution was to hack configure to force a no embedded
version.....but unfortunately, I still get a version of nagios
that does not like the check_ntp command output. 

Any help appreciated.

Regards,

Kevin.

Nagios : 1.0 and 1.0b6
Plugins : nagios-plugins-1.3.0-beta3
Linux : Linux rex 2.4.20-9 #1 Wed Apr 2 13:42:50 EST 2003 i686 i686 i386
GNU/Linux
GCC : gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)




-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.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