Hi!
Please can I Have some assistance on the configuration of my nagios
installation?
For evaluation purposes, I have installed nagios xi for virtual machine,
onto a vmware player, I have managed to use SNMP to configure some hp-ux
parameters on a server, and on solaris I have used NRPE to configure,
but I am getting the following error:
“connection refused by host”
FR
connection refused by host
-
sathiyaraj
- Posts: 17
- Joined: Tue Feb 12, 2013 8:03 am
- Location: Bangalore, INDIA
Re: connection refused by host
Hi,...
Install NRPE in client server. (which one you want monitor, install in that system NRPE)
you need to make sure that port 5666 is open.
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
Install NRPE in client server. (which one you want monitor, install in that system NRPE)
you need to make sure that port 5666 is open.
http://assets.nagios.com/downloads/nagi ... _Agent.pdf
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: connection refused by host
Thanks for the tips sathiyaraj,
In addition to making sure port 5666 is open on both the Remote NRPE monitored host and the Nagios XI server, be sure that you have the XI server's IP in the allowed_ section within the nrpe.cfg file on the remote host.
In addition to making sure port 5666 is open on both the Remote NRPE monitored host and the Nagios XI server, be sure that you have the XI server's IP in the allowed_ section within the nrpe.cfg file on the remote host.
Re: connection refused by host
Hi
Yes I did make port 5666 open because when I do:
# netstat -an | grep 5666
*.5666 *.* 0 0 49152 0 LISTEN
on the nrpe.cfg file I have also included the IP address of the nagios server, but on the front end I still have "connection refused by host" message
Yes I did make port 5666 open because when I do:
# netstat -an | grep 5666
*.5666 *.* 0 0 49152 0 LISTEN
on the nrpe.cfg file I have also included the IP address of the nagios server, but on the front end I still have "connection refused by host" message
Re: connection refused by host
Make sure you can nmap/telnet the remote host on port 5666 from the nagios XI server. Also try to run NRPE from the cli on the nagios server:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <remote host ip>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.
"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.