Hi fellows,
I set up Munin according to this how to http://munin-monitoring.org/wiki/CgiHowto2. It partially works. The main site loads proper as well as I can click two levels into the graphs - but unfortunately I can't get the dynamic zoom feature working.
It seems like it's looking for this:
cgitmpdir /usr/local/www/Munin.MyDomain.Local/tmp/munin
But it's not redirecting into it ;/
Changes I made in the munin.conf:
I modified the following lines of the given httpd-vhosts.conf:
I'm totally lost - can't find my blunder ;/ Any ideas?
I set up Munin according to this how to http://munin-monitoring.org/wiki/CgiHowto2. It partially works. The main site loads proper as well as I can click two levels into the graphs - but unfortunately I can't get the dynamic zoom feature working.
Code:
cat httpd-error.log
[Mon Mar 04 21:14:04 2013] [error] [client 10.0.10.10] File does not exist: /usr/local/www/Munin.MyDomain.Local/sites/MyDomain.Local, referer: http://munin.MyDomain.Local/MyDomain.Local/Storage-10.MyDomain.Local/static/dynazoom.html?MyDomain.Local=/cgi-bin/munin-cgi-graph&plugin_name=MyDomain.Local/Storage-10.MyDomain.Local/iostat&size_x=800&size_y=400&start_epoch=1362319810&stop_epoch=1362427810
cgitmpdir /usr/local/www/Munin.MyDomain.Local/tmp/munin
Code:
ls -lach /usr/local/www/Munin.MyDomain.Local/tmp/munin/munin-cgi-graph/
total 12
drwxr-xr-x 3 admin admin 512B 4 Mär 02:37 .
drwxrwxrwx 3 admin admin 512B 4 Mär 02:38 ..
drwxr-xr-x 3 admin admin 512B 4 Mär 02:37 MyDomain.Local
But it's not redirecting into it ;/
Changes I made in the munin.conf:
Code:
htmldir /usr/local/www/Munin.MyDomain.Local/sites/Munin
html_strategy cgi
graph_strategy cgi
cgitmpdir /usr/local/www/MyDomain.Local/tmp/munin
cgiurl_graph /cgi-bin/munin-cgi-graph
logdir /usr/local/www/MyDomain.Local/logs/munin
log_file /usr/local/www/MyDomain.Local/logs/munin/munin-node.log
I modified the following lines of the given httpd-vhosts.conf:
Code:
<VirtualHost *:80>
[...]
Alias /cgi-bin/munin-cgi-html/static /usr/local/www/MyDomain.Local/sites/Munin/static
RedirectMatch ^/$ /cgi-bin/munin-cgi-html/
[...]
RewriteRule ^/favicon.ico /usr/local/www/MyDomain.Local/sites/Munin/static/favicon.ico [L]
RewriteRule ^/static/(.*) /usr/local/www/MyDomain.Local/sites/Munin/static/$1 [L]
[...]
RewriteRule ^(/.*\.html)?$ /cgi-bin/munin-cgi-html/$1 [PT]
[...]
RewriteRule ^/cgi-bin/munin-cgi-graph/(.*) /$1
[...]
RewriteRule ^/(.*.png)$ /cgi-bin/munin-cgi-graph/$1 [L,PT]
[...]
ScriptAlias /cgi-bin/munin-cgi-graph "/usr/local/www/MyDomain.Local/cgi-bin/munin-cgi-graph"
<Location /cgi-bin/munin-cgi-graph>
[...]
ScriptAlias /cgi-bin/munin-cgi-html "/usr/local/www/MyDomain.Local/cgi-bin/munin-cgi-html"
<Location /cgi-bin/munin-cgi-html>
[...]
<Location /cgi-bin/munin-cgi-html/static>
[...]
</VirtualHost>
I'm totally lost - can't find my blunder ;/ Any ideas?