[Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

Peter Spatz peter.spatz at xchanging.com
Fri May 8 13:40:29 CEST 2009


Your check_nrpe want´s to talk encrpyted SSL with your clients nrpe, which works without SSL 

 

On your server set nrpe check command setting to avoid using ssl:

 

RTM:

 

root at sis102f0:/opt/XTBnagios/libexec# ./check_nrpe -h

 

NRPE Plugin for Nagios

Copyright (c) 1999-2008 Ethan Galstad (nagios at nagios.org)

Version: 2.12

Last Modified: 03-10-2008

License: GPL v2 with exemptions (-l for more info)

SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required

 

Usage: check_nrpe -H <host> [-n] [-u] [-p <port>] [-t <timeout>] [-c <command>] [-a <arglist...>]

 

Options:

 -n         = Do no use SSL

 


Mit freundlichen Grüßen / Best Regards

Peter Spatz.

________________________________

Von: VINEET MITTAL [mailto:vineetmittal.83 at gmail.com] 
Gesendet: Freitag, 8. Mai 2009 13:23
An: Nagios Plugin Help List
Betreff: Re: [Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

 

Hello AL,

I already perform all the steps  you have mentioned.

1. modify the /etc/xintetd.d/nrpe  in the remote host

           only_from         = 127.0.0.1 192.168.1.100  -------------done

 

2. Add the following entry to /etc/services, save and exit

            Nrpe     5666/tcp            # NRPE    --------------------------------done

3. Type "service xinetd restart" -------------------------------------------------done

 

For testing purpose i run     "netstat -at | grep nrpe"

It show output         "tcp 0 0 *:nrpe *:* LISTEN"

 

4. Testing the connection by following

            /usr/local/Nagios/libexec/check_nrpe -H 127.0.0.1 -----------------done

 

After that I got the following error instead of nrpe V.2.xx

 

"CHECK_NRPE: Error - Could not complete SSL handshake.but after that its shows an error"  

 

Thanks& Regards

Vineet Mittal

 

 

On Fri, May 8, 2009 at 3:32 PM, AL Chow (LWHKG-S) <al.chow at logwin-logistics.com> wrote:

Sample Scenario: 

-          Monitoring Server: 192.168.1.100

-          Remote Host: 192.168.1.11

 

1. modify the /etc/xintetd.d/nrpe  in the remote host

           only_from         = 127.0.0.1 192.168.1.100

2. Add the following entry to /etc/services, save and exit

            Nrpe     5666/tcp            # NRPE

3. Type "service xinetd restart"

4. Testing the connection by following

            /usr/local/Nagios/libexec/check_nrpe -H 127.0.0.1

5. NRPE v.2.XX   <== Should be display

 

Thanks,

AL

 

________________________________

From: VINEET MITTAL [mailto:vineetmittal.83 at gmail.com] 
Sent: Friday, May 08, 2009 17:20


To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

 

Thanks AL for your valuble help,

The error got resolved but while processing whole steps of configuration it leads to another error.

I follow the steps in nrpe document of nagios.

I successfully installed the following things:
1) nagios plugin
2) install xinetd
3) install nrpe daemon

After that i started xinetd service 

During testing i run a command

/usr/local/nagios/libexec/check_nrpe -H localhost

its give me following error

CHECK_NRPE: Error - Could not complete SSL handshake.

I searched through google but not able to get satisfactory response.

Please help me to come out of this.
Thanks & Regards
Vineet Mittal 

On Fri, May 8, 2009 at 1:08 PM, AL Chow (LWHKG-S) <al.chow at logwin-logistics.com> wrote:

I mean you may use the previous version e.g. 1.4.3 or 1.4.5

Because your remote host had not installed the following component:

-          gcc

-          openssl-devel

 

Regards,AL

________________________________

From: VINEET MITTAL [mailto:vineetmittal.83 at gmail.com] 
Sent: Friday, May 08, 2009 15:07


To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

 

I am already using nagios plugin 1.4.6 

On Fri, May 8, 2009 at 9:37 AM, AL Chow (LWHKG-S) <al.chow at logwin-logistics.com> wrote:

I had also faced this problem before.

I just download and use another version of Nagios-plugin. E.g. 1.4.3 or 1.4.5

 

________________________________

From: VINEET MITTAL [mailto:vineetmittal.83 at gmail.com] 
Sent: Friday, May 08, 2009 11:37
To: Nagios Plugin Help List
Subject: Re: [Nagiosplug-help] PROBLEM IN INSTALLATION OF NAGIOS PLUGIN

 

Hello  Erik,
I tried it but result is same.
I continuously got that damm error.

Regards,
Vineet Mittal  

On Wed, May 6, 2009 at 7:18 PM, Erik Wasser <erik.wasser at iquer.net> wrote:

On Wednesday 06 May 2009, VINEET MITTAL wrote:
> Hello Team,
>
> I am using nagios-plugins-1.4.6. During installtion I use the
> following command to configure:
>
> * ./configure --with-ssl=/usr/bin/openssl
> --with-ssl-lib=/usr/lib/ssl/ *
>
> Configuration goes successfully.Then i run  *make* commnad.
>
> Its give a following error which is in bold.
>

> [...]


> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/sysadmin/down/nagios-plugins-1.4.6'

> make: *** [all] Error 2*
>
>undefined reference to `dlsym'

Have to tried the solution of this link?

http://www.linuxquestions.org/questions/linux-server-73/nagios-nrpe-make-all-fails-with-ssl-558277/?s=46627b070c84fb061a6f7c675e934ba6

--
So long... Fuzz


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

 


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

 


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

 


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Nagiosplug-help mailing list
Nagiosplug-help at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
::: Please include plugins version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

 

Xchanging Transaction Bank GmbH - HRB 58 951 - Sitz Frankfurt - Amtsgericht Frankfurt am Main
Vorsitzender des Aufsichtsrats: David Andrews - Geschaeftsfuehrer: Joerg Brand, Andreas Povel, Thomas Runge, Matthias Sohler


-----------------------------------------------------------------------------------------------
"Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden."
-----------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20090508/d89497b0/attachment.html>


More information about the Help mailing list