URL Path change Graphing error

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Post Reply
darkfortress
Posts: 1
Joined: Tue Aug 23, 2022 9:35 pm

URL Path change Graphing error

Post by darkfortress »

Following all the guides on changing the url path /nagios.

In my case i have removed the /nagios path (https://servername.domain/nagios) and now i have https://servername.domain .

This works fine for everything except charting. It seems charting is still referencing the old path /nagios/cgi-bin instead of just /cgi-bin .

cgi.config had path changed from /nagios to /
config.inc.php si set as $cfg['cgi_base_url']='/cgi-bin';

despite the above changes the charting is broken while every other aspect of the website that uses the cgi-bin works fine.

While looking for a further reference to cgi I found that it seems the anchor tags are being set using cgiurl.

The only definition I can find for this is in the map.php file but as you can see from the line below it is being injected in from the angular system.

cgiurl="{{params.cgiurl}}" map.php


If anyone knows how to correct this issue or the step I may have missed it would be very appreciated.
maverick
Posts: 3
Joined: Fri Aug 26, 2022 9:08 am

Re: URL Path change Graphing error

Post by maverick »

Hi there, I believe this is the same issue as I described here:
https://support.nagios.com/forum/viewto ... =7&t=65051
and makes me think i should have searched better.

Haven't been able to find a solution either, have you had any developments on this? Thanks
etiam si omnes, ego non
Post Reply