Page 1 of 2

Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 9:58 am
by msuhr1980
We recently downloaded NagiosNA for a proof of concept. I am now at a point where I would like to start configuring network devices to send their NetFlow data to NagiosNA.

Currently I am unable to access NagiosNA via the web browser, but I can access the CLI. I was able to access it via the web browser for the last two weeks, so I am not sure what happened.

Does anyone have any suggestions? Better yet, can anyone assist me with resolving this issue?

Thanks,
Mike

Re: Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 10:16 am
by ssax
Please post the output of the following commands:

Code: Select all

sestatus

Code: Select all

service httpd status

Code: Select all

iptables -L

Re: Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 11:15 am
by msuhr1980
[root@a-nagiosms2p ~]# sestatus
SELinux status: disabled


[root@a-nagiosms2p ~]# service httpd status
httpd (pid 1088) is running...


[root@a-nagiosms2p ~]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:h
ttps
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:h
ttp

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
[root@a-nagiosms2p ~]#

Re: Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 12:59 pm
by lgroschen
try:

Code: Select all

service httpd restart
service mysqld restart
When you access the page is there any error in the browser console? Try reloading the page to see if one is generated.

Re: Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 2:06 pm
by msuhr1980
It just says...Internet Explorer cannot display the webpage


Since I don't have much configured currently, should I just blow the VM away and start from scratch?

Re: Unable to access web browser for NagiosNA

Posted: Fri Mar 20, 2015 2:33 pm
by lmiltchev
Yes, you can start from scratch. Before you do this, can you try a few things. Restart the VM and see if you will be able to log in. Make sure you are using the correct IP address. Check the IP by typing the following command in terminal:

Code: Select all

ifconfig
then try to log in web UI by typing in the browser's address bar:

Code: Select all

http://ip address/nagiosna/
If you are still not able to access the web UI, run the following command and show us the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log

Re: Unable to access web browser for NagiosNA

Posted: Mon Mar 30, 2015 3:30 pm
by msuhr1980
Yes I did try restarting the VM, but that didn't make a difference.

We ended up reinstalling the OVA file/starting from scratch, and now I'm able to access NagiosNA via the web browser.

Thanks for the help.

REPEAT TICKET, unable to access NNA via browser

Posted: Mon Mar 30, 2015 3:55 pm
by msuhr1980
I just had NNA uninstalled/reinstalled (last week Tuesday) and now today I am unable to access it via the web browser.

Re: Unable to access web browser for NagiosNA

Posted: Mon Mar 30, 2015 4:06 pm
by jdalrymple
So what has changed on the NNA server since you redeployed it?

Re: Unable to access web browser for NagiosNA

Posted: Mon Mar 30, 2015 4:21 pm
by msuhr1980
Nothing really, I added a "test" switch within NNA last week Friday. I confirmed I was able to access NNA earlier today via the browser, and now this afternoon I'm not able to access it.

I get a timeout when I try to ping the associated address.