Page 1 of 1

Applets are showing slower when Nagios hosted on Internet

Posted: Wed Dec 20, 2017 2:27 am
by rifelixd
Dear Nagios Gurus,

I have a got a question on my current setup. I hosted my Nagios server IP on Internet for testing purpose and it went all well after i masked it behind a DNS. The problem is whenever I try to open the Host Status Detail or Service Status Detail, the applet takes a significant long time to populate the information. Its taking approx 2 minutes to show the details. All other information seems to be showing fine.

There are no issues when i access to the details on Intranet environment. Is there something I may need to tweak to get the applets show faster?

I have attached the screenshot as well for better understanding.

Re: Applets are showing slower when Nagios hosted on Interne

Posted: Wed Dec 20, 2017 11:35 am
by npolovenko
Hello, @rifelixd. In XI web interface please navigate to the Admin menu, then System Config/System Settings in the left column. Under general tab please fill out the External URL field and click on Update Settings.
That should hopefully fix your problem.

Re: Applets are showing slower when Nagios hosted on Interne

Posted: Thu Dec 21, 2017 3:20 am
by rifelixd
npolovenko wrote:Hello, @rifelixd. In XI web interface please navigate to the Admin menu, then System Config/System Settings in the left column. Under general tab please fill out the External URL field and click on Update Settings.
That should hopefully fix your problem.
Hi @npolovenko, I have tried as advised but no changes happen. The frame is still taking approx 2 minutes to show the details.

Re: Applets are showing slower when Nagios hosted on Interne

Posted: Thu Dec 21, 2017 11:21 am
by npolovenko
@rifelixd, You may also go to the Security tab in System Settings and click on Disable - Do not restrict pages from being opened in iframes from anywhere. (Will not apply X-Frame-Options or Content-Security-Policy: frame-ancestors headers). After that in linux console please type the following:

Code: Select all

service nagios restart
and

Code: Select all

service httpd restart
If the above doesn't help please share your system profile.
To send us your system profile. Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and attach it with your next post. Or you may upload it to a cloud storage of your choice and share a link with me in pm.

Re: Applets are showing slower when Nagios hosted on Interne

Posted: Fri Dec 22, 2017 9:35 am
by rifelixd
npolovenko wrote:@rifelixd, You may also go to the Security tab in System Settings and click on Disable - Do not restrict pages from being opened in iframes from anywhere. (Will not apply X-Frame-Options or Content-Security-Policy: frame-ancestors headers). After that in linux console please type the following:

Code: Select all

service nagios restart
and

Code: Select all

service httpd restart
@Hi npolovenko, youre the best. That did solved my problem :)

Re: Applets are showing slower when Nagios hosted on Interne

Posted: Fri Dec 22, 2017 10:11 am
by npolovenko
@rifelixd, Awesome! I'll close this forum thread as resolved then.