Linux server"connection refused by host"

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Linux server"connection refused by host"

Post 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
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Linux server"connection refused by host"

Post by inderraw »

I also followed attached documment.
Please suggest as it is urgent, why information not fetching from Linux server.

Regards
Inder Singh Rawat
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux server"connection refused by host"

Post by scottwilkerson »

To be clear what distro, version and architecture are you running?

Which of the 2 files in the PDF did you install
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Linux server"connection refused by host"

Post by inderraw »

Dear Team,

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

Regards
Inder Singh Rawat
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Linux server"connection refused by host"

Post by inderraw »

My linux Machine is on Amazon cloud.

Regards
Inder Singh Rawat
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Linux server"connection refused by host"

Post by scottwilkerson »

Is it RHEL or CentOS?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Linux server"connection refused by host"

Post by inderraw »

This is RHEL.

Regards
Inder Singh Rawat.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Linux server"connection refused by host"

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
inderraw
Posts: 61
Joined: Fri Apr 26, 2013 1:40 am
Location: India (Delhi)
Contact:

Re: Linux server"connection refused by host"

Post by inderraw »

Dear Team,

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

Regards
Inder Singh Rawat
You do not have the required permissions to view the files attached to this post.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Linux server"connection refused by host"

Post 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
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked