nano /etc/munin/apache.conf
Code: Alles auswählen
Alias /munin /var/cache/munin/www
<Directory /var/cache/munin/www>
Order allow,deny
Allow from all
Options None
# This file can be used as a .htaccess file, or a part of your apache
# config file.
#
# For the .htaccess file option to work the munin www directory
# (/var/cache/munin/www) must have "AllowOverride all" or something
# close to that set.
#
# AuthUserFile /etc/munin/munin-htpasswd
# AuthName "Munin"
# AuthType Basic
# require valid-user
# This next part requires mod_expires to be enabled.
#
# Set the default expiration time for files to 5 minutes 10 seconds from
# their creation (modification) time. There are probably new files by
# that time.
#
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault M310
</IfModule>
</Directory>
cp /usr/share/munin/plugins/cpu /etc/munin/plugins/
mkdir -p /var/cache/munin/www
chown munin:munin /var/cache/munin/www
/etc/init.d/munin-node restart
sudo -u munin /usr/bin/munin-cron
Und dann surft bitte euren webserver (NICHT ipc!) mal an: http://ServerIP/munin
funzt das?
Wenn ja, dann macht mal noch folgendes:
sed -i "s/URL=.*/URL=..\/munin\"\';/" /var/www/ipc/page/graph.php
...dann sollte das übers IPC WebIf auch wieder funtzn...