Page 2 of 3

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 2:56 pm
by abrist
Is the agent installed on the remote host?

Code: Select all

nmap -p 5666 <remote host ip>
If it is closed, lets check to see if it is running:

Code: Select all

service xinetd status

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:10 pm
by phani.kolli
[root@szxdcc016 etc]# nmap -p 5666 172.20.54.194

Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2014-02-03 12:01 PST
Interesting ports on izxuap8.ivdc.kp.org (172.20.54.194):
PORT STATE SERVICE
5666/tcp open unknown

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:12 pm
by abrist
Alright, lets try to just check the version number as a test. From the remote host:

Code: Select all

/usr/local/nagios/check_nrpe -H localhost
From the nagios system:

Code: Select all

/usr/local/nagios/check_nrpe -H 172.20.54.194

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:21 pm
by phani.kolli
[root@szxdcc016 libexec]# ./check_nrpe -H 172.20.54.194
CHECK_NRPE: Socket timeout after 10 seconds.

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:31 pm
by phani.kolli
This what I did

please find attached document about what I tried

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:32 pm
by tmcdonald
Can you also try running it locally as abrist suggested?
abrist wrote:Alright, lets try to just check the version number as a test. From the remote host:

Code: Select all

/usr/local/nagios/check_nrpe -H localhost

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:52 pm
by phani.kolli
libexec]$ ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:55 pm
by abrist
Alright, we are getting closer. Was the command bleow run on the *remote host* ?
phani.kolli wrote:libexec]$ ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 3:55 pm
by tmcdonald
And if you try 127.0.0.1 instead of localhost?

Re: Nagios Monitoring for Application Logs

Posted: Mon Feb 03, 2014 4:04 pm
by phani.kolli
[nagios@izxuap8 libexec]$ ./check_nrpe -H 127.0.0.1
CHECK_NRPE: Error - Could not complete SSL handshake.


Did you get a chance to look at the document... that I tried to do