Page 1 of 1

URL Path change Graphing error

Posted: Tue Aug 23, 2022 9:49 pm
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.

Re: URL Path change Graphing error

Posted: Fri Aug 26, 2022 11:55 am
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