Cluster Management(Luci) stopped working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
shiwpam
Posts: 6
Joined: Thu Jan 29, 2015 9:42 am

Cluster Management(Luci) stopped working

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Cluster Management(Luci) stopped working

Post 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.
Former Nagios employee
shiwpam
Posts: 6
Joined: Thu Jan 29, 2015 9:42 am

Re: Cluster Management(Luci) stopped working

Post 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?
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Cluster Management(Luci) stopped working

Post 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>
Be sure to check out our Knowledgebase for helpful articles and solutions!
cmerchant
Posts: 546
Joined: Wed Sep 24, 2014 11:19 am

Re: Cluster Management(Luci) stopped working

Post by cmerchant »

Could you check your iptable settings (as root):

Code: Select all

iptables -L
shiwpam
Posts: 6
Joined: Thu Jan 29, 2015 9:42 am

Re: Cluster Management(Luci) stopped working

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Cluster Management(Luci) stopped working

Post 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!
Former Nagios employee
Locked