25
Apr
2015

Munin: Apache monitoring fixed!

I posted before that munin was not showing any Apache information:

wpid-wp-1429732629050.jpg

I figured out the problem by looking at /etc/munin/plugins/apache_processes, and I discovered that it requires access to /server-status, provided by the mod_status module in Apache. I tried accessing it locally, and it was “Not Found”.

After a bit of Googling, I came across the solution here: a WordPress issue! The URL /server-status is being redirected by WordPress to the web site end of things, not the internal Apache status page. To fix this, paste the following line below into .htaccess in your WordPress directory:

RewriteCond %{REQUEST_URI} !=/server-status

Screenshot - 240415 - 15:26:26

I could now access localhost/server-status just fine, and Munin has started picking up Apache2 data again!

apache_accesses-pinpoint=1429885030,1429885696

Only two data points so far, more to come later!

Moving to btrfs
Upgrading to Ubuntu 15.04

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.