Nagios Monitoring for Application Logs

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Monitoring for Application Logs

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: Nagios Monitoring for Application Logs

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Monitoring for Application Logs

Post 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
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: Nagios Monitoring for Application Logs

Post by phani.kolli »

[root@szxdcc016 libexec]# ./check_nrpe -H 172.20.54.194
CHECK_NRPE: Socket timeout after 10 seconds.
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: Nagios Monitoring for Application Logs

Post by phani.kolli »

This what I did

please find attached document about what I tried
You do not have the required permissions to view the files attached to this post.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Monitoring for Application Logs

Post 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
Former Nagios employee
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: Nagios Monitoring for Application Logs

Post by phani.kolli »

libexec]$ ./check_nrpe -H localhost
CHECK_NRPE: Error - Could not complete SSL handshake.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios Monitoring for Application Logs

Post 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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios Monitoring for Application Logs

Post by tmcdonald »

And if you try 127.0.0.1 instead of localhost?
Former Nagios employee
phani.kolli
Posts: 24
Joined: Tue Nov 19, 2013 2:49 pm

Re: Nagios Monitoring for Application Logs

Post 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
Locked