URL Path change Graphing error
Posted: Tue Aug 23, 2022 9:49 pm
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.
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.