[Nagios-users] Returning CHECK_NRPE: Error - Could not complete SSL handshake' on Nagios server

2010-07-01 Thread Najeeb Aslam
Hi,

I have a centos nagios server monitoring services via NRPE plugin, getting the 
following error for solaris remote host, I have checked my 
/usr/local/Nagios/etc/nrpe.cfg file and NRPE service is up and running and 
listening on port 5666 , but still cannot worked what the problem is, can 
anyone shed any light on this please.

---
CHECK_NRPE: Error - Could not complete SSL handshake.


Best regards,

-Najeeb
---
Najeeb Aslam
Unix Systems Administrator, Youthnet UK
50 Featherstone St, London, EC1Y 8RT | najeeb.as...@youthnet.org
Direct: 0207 250 5750 ext. 234 |Switchboard: 0207 250 5700 | Fax: 0207 250 3695
Websites: www.youthnet.orghttp://www.youthnet.org/ | www.do-it.org.uk | 
www.thesite.org | www.lifetracks.comhttp://www.lifetracks.com/
P Before printing, please think about the environment




YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995. Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.
--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete SSL handshake' on Nagios server

2010-07-01 Thread Najeeb Aslam
Hi Assaf and all,

The strange this is I've configured 5 other solaris based remote hosts the same 
way with ssl for nrpe but works fine with the same centos based nagios server.

Any other ideas?

Regards,

-Najeeb

-Original Message-
From: Assaf Flatto [mailto:nag...@flatto.net]
Sent: 01 July 2010 16:51
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete 
SSL handshake' on Nagios server

Najeeb Aslam wrote:

 Hi,



 I have a centos nagios server monitoring services via NRPE plugin,
 getting the following error for solaris remote host, I have checked my
 /usr/local/Nagios/etc/nrpe.cfg file and NRPE service is up and running
 and listening on port 5666 , but still cannot worked what the problem
 is, can anyone shed any light on this please.



 ---

 CHECK_NRPE: Error - Could not complete SSL handshake.





 Best regards,



Your nrpe is (host or client) demands SSL and the other does not use it .

Find out which and change it so either both use ssl or neither use it.

Assaf

--
Never,Ever Cut A Deal With a Dragon




--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Nagios-users mailing list
Nagios-users@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

YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995.  Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Nagios-users mailing list
Nagios-users@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


Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete SSL handshake' on Nagios server

2010-07-01 Thread Najeeb Aslam
Hi Benny,

Below is a successful telnet session from my centos nagios server to the 
solaris remote host. As requested in my nrpe.cfg file on the solaris remote 
host I have loop back ip address 127.0.0.1 for 'allowed_host' not the ip 
address of the centos nagios server, but before it was working fine...

[r...@centos ~]# netstat -an |grep 5666
tcp0  0 0.0.0.0:56660.0.0.0:*   
LISTEN

[r...@centos ~]# telnet 195.194.49.175 5666
Trying 195.194.49.175...
Connected to 195.194.49.175 (195.194.49.175).
Escape character is '^]'.
Connection closed by foreign host.
[r...@centos ~]#

Regards,

-Najeeb

-Original Message-
From: C. Bensend [mailto:be...@bennyvision.com]
Sent: 01 July 2010 21:02
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Returning CHECK_NRPE: Error - Could not complete 
SSL handshake' on Nagios server


 The strange this is I've configured 5 other solaris based remote hosts the
 same way with ssl for nrpe but works fine with the same centos based
 nagios server.

Is your Nagios server in the 'allowed_hosts' option in the client's
nrpe.cfg?

Can you telnet from your Nagios server to port 5666 on the client?

Benny


--
Well, we *could* hunt down the perpetrators, pool some $$, and
hire 3 or 4 baseball-bat wielding professional explainers to go
explain our position to them.  Figuring out how to do so without
breaking any laws is the tough part...
 -- Valdis Kletnieks, 2009-01-23



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Nagios-users mailing list
Nagios-users@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

YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995.  Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Nagios-users mailing list
Nagios-users@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


[Nagios-users] installation problem of nagios with make all command

2009-10-13 Thread Najeeb Aslam
/usr/local/src/nagios-3.2.0 make all
cd ./base  make
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c 
broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o 
macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o 
retention-base.o xretention-base.o comments-base.o xcomments-base.o 
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o 
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o  
../common/snprintf.o   -L/usr/local/lib  -lm  -lpthread -lltdl -lrt
Undefined   first referenced
 symbol in file
recvnetutils.o
sendnetutils.o
socket  netutils.o
getsockopt  netutils.o
connect netutils.o
getaddrinfo netutils.o
freeaddrinfonetutils.o
ld: fatal: Symbol referencing errors. No output written to nagios
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nagios'
Current working directory /usr/local/src/nagios-3.2.0/base
*** Error code 1
make: Fatal error: Command failed for target `all'
/usr/local/src/nagios-3.2.0

Best regards,

-Najeeb
---
Najeeb Aslam
Unix Systems Administrator
Youthnet UK - 50 Featherstone St, London, EC1Y 8RT
Direct: 0207 250 5750 | Switchboard: 0207 250 5700 | Email: 
najeeb.as...@youthnet.orgmailto:najeeb.as...@youthnet.org
Websites: www.youthnet.orghttp://www.youthnet.org/ | www.do-it.org.uk | 
www.thesite.org | www.lifetracks.comhttp://www.lifetracks.com/
P Before printing, please think about the environment




YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995. Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] help

2009-10-13 Thread Najeeb Aslam
Btw, I am using Nagios v3 on solaris 10 x86 platform...

From: Najeeb Aslam [mailto:najeeb.as...@youthnet.org]
Sent: 13 October 2009 11:33
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] installation problem of nagios with make all command

/usr/local/src/nagios-3.2.0 make all
cd ./base  make
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c 
broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o 
macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o 
retention-base.o xretention-base.o comments-base.o xcomments-base.o 
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o 
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o  
../common/snprintf.o   -L/usr/local/lib  -lm  -lpthread -lltdl -lrt
Undefined   first referenced
 symbol in file
recvnetutils.o
sendnetutils.o
socket  netutils.o
getsockopt  netutils.o
connect netutils.o
getaddrinfo netutils.o
freeaddrinfonetutils.o
ld: fatal: Symbol referencing errors. No output written to nagios
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nagios'
Current working directory /usr/local/src/nagios-3.2.0/base
*** Error code 1
make: Fatal error: Command failed for target `all'
/usr/local/src/nagios-3.2.0

Best regards,

-Najeeb
---
Najeeb Aslam
Unix Systems Administrator
Youthnet UK - 50 Featherstone St, London, EC1Y 8RT
Direct: 0207 250 5750 | Switchboard: 0207 250 5700 | Email: 
najeeb.as...@youthnet.orgmailto:najeeb.as...@youthnet.org
Websites: www.youthnet.orghttp://www.youthnet.org/ | www.do-it.org.uk | 
www.thesite.org | www.lifetracks.comhttp://www.lifetracks.com/
P Before printing, please think about the environment




YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995. Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.


YouthNet UK is a limited company registered in England and Wales. Company 
registration number: 3031098. Charity registration number 1048995. Registered 
office: 100 Victoria Embankment, London, EC4Y 0DH.
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] FW: installation problem of nagios with make all command

2009-10-13 Thread Najeeb Aslam
Hi,

Tried configure with CC=gcc which was good, then no luck  after doing make all.

Any further ideas? See message below...

---
[r...@sysmon]# /usr/local/bin/make all
cd ./base  /usr/local/bin/make
make[1]: Entering directory `/usr/local/src/nagios-3.2.0/base'
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o broker.o 
broker.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o nebmods.o 
nebmods.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o checks.o 
checks.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o config.o 
config.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o commands.o 
commands.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o events.o 
events.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o flapping.o 
flapping.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o logging.o 
logging.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o macros-base.o 
../common/macros.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o netutils.o 
netutils.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o 
notifications.o notifications.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o sehandlers.o 
sehandlers.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o skiplist.o 
../common/skiplist.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o utils.o utils.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o 
sretention.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o 
xretention-base.o ../xdata/xrddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o 
../common/comments.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o 
../xdata/xcddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o 
../common/objects.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o 
../xdata/xodtemplate.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o 
statusdata-base.o ../common/statusdata.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o 
xstatusdata-base.o ../xdata/xsddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o 
perfdata.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o 
../xdata/xpddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o 
../common/downtime.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o 
../xdata/xdddefault.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE   -c -o 
../common/snprintf.o ../common/snprintf.c
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c 
broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o 
macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o 
retention-base.o xretention-base.o comments-base.o xcomments-base.o 
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o 
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o  
../common/snprintf.o   -L/usr/local/lib  -lm  -lpthread -lltdl -lrt
Undefined   first referenced
 symbol in file
recvnetutils.o
sendnetutils.o
socket  netutils.o
getsockopt  netutils.o
connect netutils.o
getaddrinfo netutils.o
freeaddrinfonetutils.o
ld: fatal: Symbol referencing errors. No output written to nagios
collect2: ld returned 1 exit status
make[1]: *** [nagios] Error 1
make[1]: Leaving directory `/usr/local/src/nagios-3.2.0/base'
make: *** [all] Error 2



From: Michael Friedrich [mailto:michael.friedr...@univie.ac.at]
Sent: 13 October 2009 12:17
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] installation problem of nagios with make all command

just as it says...

undefined symbol recv in file netutils.o comes up with

SOCKETLIBS= -lnsl -lsocket

or furthermore compiling with gcc and gmake.

./configure ... 'CC=gcc' ...

Kind regards,
Michael



Najeeb Aslam wrote the following on 13.10.2009 12:32:
/usr/local/src/nagios-3.2.0 make all
cd ./base  make
gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c 
broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o 
macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o 
retention-base.o xretention-base.o comments-base.o xcomments-base.o 
objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o 
perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o  
../common/snprintf.o   -L/usr/local/lib  -lm  -lpthread -lltdl -lrt