This patch:

http://munin-monitoring.org/attachment/ticket/832/fix_munin832.patch

doesn't work for me. I get a 500 error, in munin-cgi-graph.log:

oct 13 17:55:06 - Warning: Could not draw graph "if_bytes-if_1-day.png":

Indeed, it looks like the last comment on the above issue is right that
the backport is incomplete, it doesn't support nested multigraphs. The
proposed regex actually works however, so i suggest that the patch be
modified to fix the regex.

The proper regex that works for me is:

    ($dom, $host, $serv, $scale) = $path =~ 
m#^/([^/]+)/([^/]+)/((?:.*/)?\w+)-(\w+)\.png#; ## avoid bug in vim

Thanks

-- 
The reasonable man adapts himself to the world.
The unreasonable man persists in trying to adapt the world to himself.
Therefore, all progress depends on the unreasonable man.
                        - George Bernard Shaw

Attachment: pgpwueduvVor7.pgp
Description: PGP signature

Reply via email to