GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1.0

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
nfv_nagios
Posts: 35
Joined: Sun Jan 08, 2017 8:00 pm

GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1.0

Post by nfv_nagios »

Hi Support

I recently upgraded NagiosXI 2014r2.7 to NagiosXI 5r1.0. After upgrading, my GUI became distorted.
I have tried on IE, Chrome and Firefox browsers and all are having the same issue.
GUI_issue.PNG
Can you advise how to resolve this issue?
You do not have the required permissions to view the files attached to this post.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1

Post by npolovenko »

Hello, @nfv_nagios. Looks like some problem with the stylesheet. Can you send in your /var/log/httpd/error_log ?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
nfv_nagios
Posts: 35
Joined: Sun Jan 08, 2017 8:00 pm

Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1

Post by nfv_nagios »

Hi Support

After reviewing the error log, it seems to be some permission issue. I managed to fix most of it but there are still some more which i am not able to fix.

The error shows client is accessing an invalid location. Can you advise how can i fix this?

# find / -name modern.js
/usr/local/nagiosxi/html/includes/js/themes/modern.js

[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/
[Fri Aug 24 09:33:12 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/views/main.php?&=
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:13 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi/
[Fri Aug 24 09:33:14 2018] [error] [client 10.252.6.132] (13)Permission denied: access to /nagiosxi/includes/js/themes/modern.js denied, referer: http://10.254.98.200/nagiosxi//includes ... splash.php
GUI_issue2.PNG
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: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1

Post by lmiltchev »

Make sure apache is added to the nagios and nagcmd groups - you can check this out by running the following command from the CLI:

Code: Select all

grep nag /etc/group
Next, set ownership of all items under the html directory to nagios.nagios:

Code: Select all

chown -R nagios.nagios /usr/local/nagiosxi/html/
Check to see if this fixes your issue. It the problem is still present, run the tail on the apache error log and show us the output in code wraps:

Code: Select all

tail -100 /var/log/httpd/error_log
Be sure to check out our Knowledgebase for helpful articles and solutions!
nfv_nagios
Posts: 35
Joined: Sun Jan 08, 2017 8:00 pm

Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1

Post by nfv_nagios »

Hi Support

I managed to solve the issue.

I found /usr/local/nagiosxi/html/includes/js/themes was not given Group Execute. Did a "chmod g+x" and solved the issue.

Thanks for the support. You may close the ticket.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: GUI issue after upgrade from NagiosXI 2014r2.7 to xi-5r1

Post by lmiltchev »

I am glad your issue has been resolved!

I am closing this topic.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked