I've made a "localhost" virtual host that serves munin with data:

<VirtualHost *:80>
    # vim:syntax=apache
    ServerAdmin [EMAIL PROTECTED]
    ServerName  localhost
    ServerAlias 127.0.0.1

    DocumentRoot /srv/http/localhost/

    <Location /server-status>
        SetHandler server-status
    </Location>

    <Location />
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1
        Allow from ::1
    </Location>

    # Logging
    ErrorLog /var/log/apache2/localhost.error.log
    LogLevel warn
    CustomLog /var/log/apache2/localhost.access.log combined
</VirtualHost>

Copy into /etc/apache2/sites-available/localhost.conf, then run a2ensite
localhost.conf and /etc/init.d/apache2 reload

-- 
munin apache plugin no data
https://bugs.launchpad.net/bugs/231706
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to