Page 1 of 1

Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Mon Feb 17, 2025 7:39 am
by serverbeheer
After an upgrade of Nagios XI from 2024R1.3.3 to 2024R1.3.4 I get

Code: Select all

Error: Unable to access URL. Please verify the URL is correct and accessible
on 2 different Custom URL dashlets which refer to an URL on the server itself

e.g.

Code: Select all

https://<nagiosurl>/nagiosxi/includes/components/xicore/status.php?&servicegroup=auto-running-services&show=services&hoststatustypes=15&servicestatustypes=16
other URL's don't seem to work either.

Anyone knows why this happens?

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Tue Feb 18, 2025 10:48 am
by jsimon
Hi @serverbeheer,

Thanks for letting us know about this, it appears this is a bug. I've created issue #1501 to track resolution of the problem. Please keep an eye on the Nagios XI changelog for lines tagged with this issue # for further updates.

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Wed Feb 19, 2025 3:20 am
by serverbeheer
Thank you for the response. We will keep an eye on it :)

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Mon Mar 10, 2025 7:32 am
by serverbeheer
Hi,

We have upgraded Nagios XI to version 2024R1.4.1 today, but we get another error. (Also after adding the Custom URL Dashlet again.)

Code: Select all

Error: Access denied due to cross-origin policy or content security policy.
URL:

Code: Select all

https://nagios03.<ourdomain>.nl/nagiosxi/includes/components/xicore/status.php?&servicegroup=auto-running-services&show=services&hoststatustypes=15&servicestatustypes=16

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Mon Mar 10, 2025 4:32 pm
by gwesterman
Hi @serverbeheer,

Since you're referring to your own XI, take a look at the Frame Restrictions settings in Admin -> System Settings -> Security. What do you have set? Try allowing your server or disabling the restrictions.

Thank you!

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Tue Mar 11, 2025 5:32 am
by serverbeheer
@gwesterman Thank you, that was what we were looking for. It's solved now :)

Re: Nagios XI - Custom URL Dashlet (Error: Unable to access URL)

Posted: Thu Mar 13, 2025 2:56 pm
by gwesterman
You're very welcome! Glad I could help. I'm going to go ahead and lock this thread.