Enable apache module

Create config to allow apache to show status:

cat > /etc/httpd/conf.d/status.conf <<EOT
# Enable apache to show status page

ExtendedStatus on
<IfModule mod_status.c>
<Location /mod_status>
    SetHandler server-status

    Order deny,allow

    Deny from all

    # allow from office net:
    #Allow from a.b.c.d

</Location>
</IfModule>

EOT

Add to collectd.conf:

LoadPlugin apache

<Plugin "apache">
   <Instance "apache80">
       URL "http://localhost/mod_status?auto"
   </Instance>
</Plugin>
collectd/enable_apache_module.txt · Last modified: 2011-11-17 15:05 by admin
Back to top
GNU Free Documentation License 1.3
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0