#1063514 Broken links in the View Trends and the View Histogram menu

Package:
nagios4
Source:
nagios4
Description:
host/service/network monitoring and management system
Submitter:
Rubenb
Date:
2024-04-24 14:27:02 UTC
Severity:
normal
#1063514#5
Date:
2024-02-09 10:20:00 UTC
From:
To:
The links for the following are broken in the Service Information or the Host Information menus for the following links.

View Trends For This Service

View Alert Histogram For This Service

View Trends For This Host

View Alert Histogram For This Host

Reported on ubuntu:

https://bugs.launchpad.net/ubuntu/+source/nagios4/+bug/1953572


Maybe similar to

https://support.nagios.com/forum/viewtopic.php?f=7&t=42728  <https://support.nagios.com/forum/viewtopic.php?f=7&t=42728>

https://bugzilla.redhat.com/show_bug.cgi?id=1428111  <https://bugzilla.redhat.com/show_bug.cgi?id=1428111>


the legacy links seem to work (.cgi) if you manually type them in.

The next links come from:

  /cgi-bin/nagios4/extinfo.cgi?type=1&host=localhost

Example

View Trends For This Host

/cgi-bin/trends.html?host=localhost

by

/nagios4/trends.html?host=localhost

another example

View Alert Histogram For This Host

/cgi-bin/histogram.html?host=localhost

by

/nagios4/histogram.html?host=localhost

#1063514#10
Date:
2024-04-24 14:24:25 UTC
From:
To:
I found that, in the case of the Ubuntu bug, the issue was the
--with-cgiurl parameter in the debian/rules file. I changed it from 
/cgi-bin/nagios4 to /nagios4/cgi-bin to fix this issue.

Regards
	Jorge