#1119 new defect

possible template issue causing broken links on the category pages with "virtual" domains

Reported by: dbalint Owned by: nobody
Priority: normal Milestone: Munin 1.4.7
Component: plugins Version: 1.4.5
Severity: minor Keywords:
Cc:

Description

I have a possibly template related (minor) issue. I'm using munin-cgi-graph, and munin-cgi-html.

If I click to a service under "Categories" I get to a page where the plugin's graphs are showed for all the machines the plugin is installed to. There is a link to the given machine above every graph like this:
machine_name :: plugin title

The machine name link is broken, it's not assembled properly.

Currently the link is the following:

http://munin_host/munin/munin-cgi/machine_name/index.html

however it should be:

http://munin_host/munin/munin-cgi/QA/machine_name/index.html

The machines are defined in munin.conf the following way:

[QA;machine1]

address machine1
use_node_name yes

[Prod;machine2]

address machine2
use_node_name yes

As you can see the machines are defined to be under a "virtual" domain, this is probably what is messing up the links.

However if I click the daily view on the overview page for a given domain, the links above the graphs are generated properly.

This is a minor issue, but maybe it can be fixed quickly (maybe via a template modification).

Change History (1)

comment:1 Changed at 2011-08-18T16:46:28+02:00 by dbalint

Forgot to mention: using 2.0 beta 4

Note: See TracTickets for help on using tickets.