Broken links in the View Trends and the View Histogram menu

Bug #1953572 reported by Tim Lourey
36
This bug affects 6 people
Affects Status Importance Assigned to Milestone
nagios4 (Ubuntu)
In Progress
Medium
Jorge Merlino
Focal
In Progress
Medium
Jorge Merlino
Jammy
In Progress
Medium
Jorge Merlino
Mantic
In Progress
Medium
Jorge Merlino
Noble
In Progress
Medium
Jorge Merlino

Bug Description

[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]
Just access those links in: Current status / Hosts and Current status / Services and choosing a host or a service

[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.

[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.

Tags: patch sts
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nagios4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Stefan Hattrell (stefan-hattrell) wrote :

Is there any chance this will get addressed?

Changed in nagios4 (Ubuntu):
milestone: none → noble-updates
milestone: noble-updates → none
Revision history for this message
Jorge Merlino (jorge-merlino) wrote :

Patch for Noble, Mantic and Jammy

description: updated
Changed in nagios4 (Ubuntu Noble):
assignee: nobody → Jorge Merlino (jorge-merlino)
Changed in nagios4 (Ubuntu Mantic):
assignee: nobody → Jorge Merlino (jorge-merlino)
Changed in nagios4 (Ubuntu Jammy):
assignee: nobody → Jorge Merlino (jorge-merlino)
tags: added: sts
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1953572_jammy_noble.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]

tags: added: patch
Revision history for this message
Jorge Merlino (jorge-merlino) wrote :

Patch for focal

Revision history for this message
Jorge Merlino (jorge-merlino) wrote :

Update patch for Noble, Mantic and Jammy

Changed in nagios4 (Ubuntu Focal):
assignee: nobody → Jorge Merlino (jorge-merlino)
Revision history for this message
Heitor Alves de Siqueira (halves) wrote (last edit ):

Thanks for the debdiff, Jorge! A few comments:

Even though the fix is the same for J/M/N, we'll need separate debdiffs and versions for each. We'll need to keep the upgrade path working between each release, so I'd suggest something like below (according to [0]):
- 4.4.6-4ubuntu0.22.04.1 for Jammy
- 4.4.6-4ubuntu0.23.10.1 for Mantic
- 4.4.6-4ubuntu0.24.04.1 or 4.4.6-4ubuntu1 for Noble (depending on whether O will need fixing as well)

And it's great that you ran the update-maintainer script as well. Would you be able to add a mention of this in the changelog entries, too?

Finally, I'd really appreciate it if we had any mention of the fix on the SRU template. Maybe a short section explaining why we're changing the --with-cgiurl flag, and where that fix came from?

[0] https://wiki.ubuntu.com/SecurityTeam/UpdatePreparation#Update_the_packaging

Changed in nagios4 (Ubuntu Noble):
status: Confirmed → Incomplete
Changed in nagios4 (Ubuntu Focal):
status: New → In Progress
Changed in nagios4 (Ubuntu Jammy):
status: New → In Progress
Changed in nagios4 (Ubuntu Mantic):
status: New → In Progress
Changed in nagios4 (Ubuntu Focal):
importance: Undecided → Medium
Changed in nagios4 (Ubuntu Jammy):
importance: Undecided → Medium
Changed in nagios4 (Ubuntu Mantic):
importance: Undecided → Medium
Changed in nagios4 (Ubuntu Noble):
importance: Undecided → Medium
Revision history for this message
Jorge Merlino (jorge-merlino) wrote :

New patch for focal

Revision history for this message
Jorge Merlino (jorge-merlino) wrote (last edit ):

New patch for jammy

Revision history for this message
Jorge Merlino (jorge-merlino) wrote (last edit ):

New patch for mantic

Revision history for this message
Jorge Merlino (jorge-merlino) wrote (last edit ):

New patch for noble

description: updated
description: updated
Changed in nagios4 (Ubuntu Noble):
status: Incomplete → In Progress
Changed in nagios4 (Ubuntu):
status: Incomplete → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.