Opened 11 months ago
Last modified 9 months ago
#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: | |
| Cc: |
Description
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)
Change History (5)
Changed 11 months ago by ussmark
comment:1 Changed 11 months ago by ussmark
comment:2 Changed 11 months ago 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 9 months ago by ze
Should be fixed in 2.0.5
comment:4 Changed 9 months ago by ze
rmmm... sorry, I meanth devel (not integrated in 2.0.5)
in git log:
templates: fix mulitple bad links (mostly with subgroups)

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)