Page 1 of 1

Cluster Management(Luci) stopped working

Posted: Sun Feb 08, 2015 9:51 pm
by shiwpam
Hi guys,
We have redhat oracle clustered environment and manage it through LUCI via web interface http://servername:8084. After the install of the nrpe agent, we not longer can access the web page. For not I have uninstalled the agent.

I believe there's a port(8084) conflict but not sure what area of nagios is using it. Any ideas?

Re: Cluster Management(Luci) stopped working

Posted: Mon Feb 09, 2015 9:54 am
by tmcdonald
NRPE uses port 5666 by default, so unless it was configured specifically to use 8084 there is no reason there should be a conflict.

Re: Cluster Management(Luci) stopped working

Posted: Tue Feb 10, 2015 9:26 am
by shiwpam
Default setting were used to install the agent on this machine and all our other systems. The only input during the install was the ip of the nagios server. I did a search in the install.log(attached) file for port 8084 and nothing was found. I will re-install and see what happens, but in the mean time... any other ideas/suggestion?

Re: Cluster Management(Luci) stopped working

Posted: Tue Feb 10, 2015 10:38 am
by lmiltchev
To see what is the port that you are currently using and to make sure that you have entered the correct IP of the Nagios XI server, open the "/etc/xinetd.d/nrpe" file in a text editor.

Code: Select all

vi /etc/xinetd.d/nrpe
If you make any changes to this file, you will need to restart xinetd so that changes can take effect:

Code: Select all

service xinetd restart
Test the connectivity from the Nagios XI server:

Code: Select all

nmap <client ip> -p <your port>
/usr/local/nagios/libexec/check_nrpe -H <client ip> -p <your port>

Re: Cluster Management(Luci) stopped working

Posted: Tue Feb 10, 2015 10:52 am
by cmerchant
Could you check your iptable settings (as root):

Code: Select all

iptables -L

Re: Cluster Management(Luci) stopped working

Posted: Thu Feb 12, 2015 11:24 am
by shiwpam
Ok guys, I checked the firewall and all looks fine. Nagios doesn't have any issue once installed, but it was causing us to not access the luci web console.

What I did was uninstall with the following commands
groupdel nagcmd
userdel nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
rm -rf /tmp/linux-nrpe-agent

stopped the luci service
service luci stop

reinstalled the nagios agent and verified communicate with the nagios server

I then started the luci service and was able to access both apps and we are back in business! :D

Thanks for all the help.

Re: Cluster Management(Luci) stopped working

Posted: Thu Feb 12, 2015 12:56 pm
by tmcdonald
Good to hear!

I'll be closing this thread now, but feel free to open another if you need anything in the future!