Page 1 of 2

Linux server"connection refused by host"

Posted: Sat Aug 03, 2013 4:12 am
by inderraw
Dear Team,

i have installed Nagios patch in Linux server 4.4 , but it is showing Nagios console" connection refused by host"

1-I have installed linux nrpe agent in to server.
2-i also opend port 12489,5666,5667.

Please help.

Regards
Inder Singh Rawat

Re: Linux server"connection refused by host"

Posted: Sun Aug 04, 2013 4:25 am
by inderraw
I also followed attached documment.
Please suggest as it is urgent, why information not fetching from Linux server.

Regards
Inder Singh Rawat

Re: Linux server"connection refused by host"

Posted: Sun Aug 04, 2013 8:55 pm
by scottwilkerson
To be clear what distro, version and architecture are you running?

Which of the 2 files in the PDF did you install

Re: Linux server"connection refused by host"

Posted: Mon Aug 05, 2013 1:32 am
by inderraw
Dear Team,

I have linux 4.4 version and i installed second option (RHEL 4 & CentOS 4 (el4);

Regards
Inder Singh Rawat

Re: Linux server"connection refused by host"

Posted: Mon Aug 05, 2013 1:33 am
by inderraw
My linux Machine is on Amazon cloud.

Regards
Inder Singh Rawat

Re: Linux server"connection refused by host"

Posted: Mon Aug 05, 2013 8:00 am
by scottwilkerson
Is it RHEL or CentOS?

Re: Linux server"connection refused by host"

Posted: Mon Aug 05, 2013 11:47 am
by inderraw
This is RHEL.

Regards
Inder Singh Rawat.

Re: Linux server"connection refused by host"

Posted: Mon Aug 05, 2013 12:48 pm
by lmiltchev
Can you telnet to port 5666 on the client (remote) machine from your nagios server? What is the output of the following two commands, ran on the nagios server?

Code: Select all

telnet <client_IP> 5666
/usr/local/nagios/libexec/check_nrpe -H <client_IP>
You can also look for clues in the system log on the remote server:

Code: Select all

cat /var/log/messages | grep nrpe

Re: Linux server"connection refused by host"

Posted: Tue Aug 13, 2013 12:56 pm
by inderraw
Dear Team,

I tried to monitor linux server, but not able to instal patch getting error.

Regards
Inder Singh Rawat

Re: Linux server"connection refused by host"

Posted: Tue Aug 13, 2013 1:03 pm
by sreinhardt
Is this actually RHEL, or amazons ami\ec2 altered version? Let's try checking a few things.

Code: Select all

rpm -qa | grep release
cat /etc/*elease