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

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
serverbeheer
Posts: 4
Joined: Thu Apr 21, 2022 1:59 am

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

Post 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?
jsimon
Posts: 318
Joined: Wed Aug 23, 2023 11:27 am

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

Post 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.
serverbeheer
Posts: 4
Joined: Thu Apr 21, 2022 1:59 am

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

Post by serverbeheer »

Thank you for the response. We will keep an eye on it :)
serverbeheer
Posts: 4
Joined: Thu Apr 21, 2022 1:59 am

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

Post 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
gwesterman
Posts: 258
Joined: Wed Aug 23, 2023 11:29 am

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

Post 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!
serverbeheer
Posts: 4
Joined: Thu Apr 21, 2022 1:59 am

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

Post by serverbeheer »

@gwesterman Thank you, that was what we were looking for. It's solved now :)
gwesterman
Posts: 258
Joined: Wed Aug 23, 2023 11:29 am

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

Post by gwesterman »

You're very welcome! Glad I could help. I'm going to go ahead and lock this thread.