The commented htmldir option in /etc/munin/munin.conf points to /usr/var/www/localhost/htdocs/munin Uncommenting this option puts munin data in this directory which doesn't seem to be appropriate. sed -i \ -e 's#htmldir /usr/var/www/localhost/htdocs/munin#htmldir /var/www/localhost/htdocs/munin#' \ /etc/munin/.conf Should fix it. Reproducible: Always Steps to Reproduce:
Sorry, there's a typo in the previous command sed -i \ -e 's#htmldir /usr/var/www/localhost/htdocs/munin#htmldir /var/www/localhost/htdocs/munin#' \ /etc/munin/munin.conf
I saw this too but assumed that the end user would be sensible enough to change it to suit their needs.
After sleeping on it, I don't agree with the change. Upstream provides that default (for whatever reason) and the comment above it says "default values are listed here." So, I feel like the end user should *know* what the defaults are and we should not change them. In short, if the change is applied, Gentoo users will not immediately know why data is being written to /usr/var/www/localhost/htdocs/munin because they will think the default is /var/...
This should be fixed because every other distro I've got munin on has set this path up correctly. Previous versions (1.3.4) did the right thing as well.
Ah, I did some more research. If I can figure out the build system...just set HTMLDIR/CGIDIR
This is what upstream said: "The bug is probably in the gentoo package. Unlike what the ticket say the "upstream" default is /opt/munin/www/docs. I have commented on the gentoo bug." I don't see the comment here so you can also check on the munin mailing list: http://sourceforge.net/mailarchive/forum.php?thread_name=4B83CEF5.6070306%40redpill-linpro.com&forum_name=munin-users
fixed in 1.4.4, thanks.