Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


lpi2:collectd

Minimal-Installation

Pakete

Debian 7: collectd-core

Webinterface collection3

Pakete

Debian 7: collectd apache2 libhtml-parser-perl libconfig-general-perl libregexp-common-perl librrds-perl

Apache

/etc/apache2/sites-available/default : ( Debian 7 )

/etc/apache2/sites-available/000-default.conf : ( Ubuntu 14.04 )

...
        ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/
        <Directory "/usr/share/doc/collectd/examples/collection3/bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Order allow,deny
                Allow from all
        </Directory>
...

/etc/apache2/sites-available/000-default.conf : ( Debian 8 )

<VirtualHost *:80>
…
        ScriptAlias /collection3/ /usr/share/doc/collectd/examples/collection3/bin/
        <Directory "/usr/share/doc/collectd/examples/collection3/bin">
                AllowOverride None
                Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
                Require all granted
        </Directory>
…
<VirtualHost *:80>
a2enmod cgi
service apache2 restart
lpi2/collectd.txt · Zuletzt geändert: 2016/06/20 08:45 von ingo_wichmann