#1237 new defect

host domain missing in host-link on warning page

Reported by: ussmark Owned by: nobody
Priority: low Milestone: Munin 2.0.0
Component: master Version: 2.0.2
Severity: minor Keywords:


Munin: 2.0.2

The host link is wrong in "Warnings" (and Probably "Critical" and "Unknown") view/page (domain for the host is not used in the link to the host)

My setup: I am using munin-cgi-html and munin-cgi-graph with fast-cgi. My munin URL is http://<munin-master>/munin

Steps to reproduce:

  • click on "Warning" in the navigation on the left (-> URL: http://<munin-master>/munin/problems.html#warnings)
  • the graph(s) with the warning is now displayed (my case: load)
  • if you now click on the hostname above the warning graph (in my case: <hostname>::"Load average"), the host domain ist forgotten in the link
  • the link should be: http://<munin-master>/munin/<domain>/<hostname>/index.html
  • the link used is: http://<munin-master>/munin/<hostname>/index.html
  • the link to the graph of the monitor itself (right next to the <hostname>::) works (i.e. http://<munin-master>/munin/<domain>/<hostname>/load.html)

Hope you understand what I am trying to explain :)
I can not exclude that this may be a setup problem of my munin master, but I think not...

Attachments (1)

munin-wrong-url1.gif (4.0 KB) - added by ussmark at 2012-07-04T14:32:10+02:00.

Download all attachments as: .zip

Change History (5)

Changed at 2012-07-04T14:32:10+02:00 by ussmark

comment:1 Changed at 2012-07-04T14:35:53+02:00 by ussmark

In my attachement, if I click on "hdc210" that is where the wrong link is generated. (should be http://<munin-master>/munin/<domain>/hdc210/index.html, but the link generated is http://<munin-master>/munin/hdc210/index.html)

comment:2 Changed at 2012-07-04T14:40:11+02:00 by ussmark

come to think of it, the actual problem is that the link above the chart on the problems page should actually be <domain>::<hostname>::<chart> and not <hostanme>::<chart>

comment:3 Changed at 2012-08-14T23:14:21+02:00 by ze

Should be fixed in 2.0.5

comment:4 Changed at 2012-08-15T09:01:11+02:00 by ze

rmmm... sorry, I meanth devel (not integrated in 2.0.5)

in git log:

templates: fix mulitple bad links (mostly with subgroups)

Note: See TracTickets for help on using tickets.