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

2024-04-24 Thread Jorge Merlino

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



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

2024-02-09 Thread Rubenb

Package: nagios4
Version: 4.4.6-4

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://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