** Description changed:

  [Impact]
  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
  
  [Test Plan]
  See deployment steps in comment #15.
  Just access those links in: Current status / Hosts and Current status / 
Services and choosing a host or a service
  Test all other links following the menu/pages for no broken links / 
regressions.
  
  [Where problems could occur]
- The URLs for all cgi scripts are modified. I tested extensively but there may 
be some section of the web UI that might get affected by this change. Also 
installed nagios from source and the URLs are the same as the ones in this 
package after the change so if something breaks it's probable that it is also 
broken upstream.
+ The URLs for the affected pages have been changed from relative to absolute. 
Nothing else has changed so this patch should not affect any other page. The 
worst case scenario would be that the patch has inadvertently modified the link 
for other pages. In any case the absolute links should also work.
  
  [Other Info]
- The patch consists in changing the with-cgiurl to /nagios4/cgi-bin as, per 
limitations on the Nagios code, the html files (on /nagios4) should be one 
folder level below cgi-bin. This is because sometimes Nagios tries to reach 
html files as ../file.html while the base url is pointing to the cgi-bin folder.
- This new value is in fact very close to the upstream default for this 
parameter which is /nagios/cgi-bin (while the default for html files is 
/nagios). Thus, installations from upstream source are not affected as long as 
these are not modified. The bug occurs because this default value is changed in 
the deb packaging.
+ Upstream code has been patched to fix a bug that required that the html files 
(on /nagios4) should be one folder level below cgi-bin. This was because 
sometimes Nagios tried to reach html files as ../file.html while the base url 
was pointing to the cgi-bin folder. This relative URLs where substituted for 
absolute URLs. The deb package sets the cgi url to /cgi-bin/nagios4 so was 
affected by this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1953572

Title:
  Broken links in the View Trends and the View Histogram menu

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nagios4/+bug/1953572/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to