Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

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.

URL Path change Graphing error

Postby darkfortress » 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.
Posts: 1
Joined: Tue Aug 23, 2022 9:35 pm

Re: URL Path change Graphing error

Postby maverick » Fri Aug 26, 2022 11:55 am

Hi there, I believe this is the same issue as I described here:
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
Posts: 2
Joined: Fri Aug 26, 2022 9:08 am

Return to Open Source Nagios Projects

Who is online

Users browsing this forum: Google [Bot] and 32 guests