# More Munin monitoring – track apache web server health — Liran Tal

Using mod_status plugin for apache and munin to track apache health

Canonical: https://lirantal.com/blog/2013-05-09

## Monitoring apache

Monitoring internal `apache` information is useful if you’re using it to serve your web application requests. It has an internal module which you can load (and probably loaded by default already) called `mod_status`. To add monitoring for apache you need to enable `mod_status` module and uncomment the `/server-status` directory.

If you’re working with an .htaccess that overrides the vhost/normal configuration you probably also need to skip re-writing the url if the `/server-status` is request so add the following rule to the `.htaccess` file:

```
RewriteCond %{REQUEST_URI} !=/server-status
```

and make sure the following is in `httpd.conf`:

```
ExtendedStatus On

SetHandler server-status
Order deny,allow
Deny from all
Allow from XX.YY
Allow from 127.0.0.1
```

With munin and the bundled apache plugin for it, you get the following metrics for free:
[![apache\_1](https://web.archive.org/web/20140703112135im_/http://enginx.com/wp-content/uploads/2013/08/apache_1-300x243.png)](http://enginx.com/wp-content/uploads/2013/08/apache_1.png)

Side-note - on some installs, like on my RHEL5, there’s a bug which will spam you with emails (if you configured those to work and being processed through a mail server). The bug is fairly described here [https://253965.bugs.gentoo.org/attachment.cgi?id=177568](https://253965.bugs.gentoo.org/attachment.cgi?id=177568) and to amend this you will need to apply the following patch: [http://phil.ro/patches/munin\_1.3.4-r1\_utf8.patch](http://phil.ro/patches/munin_1.3.4-r1_utf8.patch)

## More writing

[All writing →](/blog)

*   Sep 5, 2026

    ### [Self-Hosting Hermes Agent with Matrix E2EE on Proxmox](/blog/self-host-hermes-agent-matrix-e2ee-proxmox)

*   Aug 2, 2026

    ### [The Practical Second Brain: Building an LLM-Operated Markdown Knowledge Graph](/blog/practical-second-brain-llm-markdown-knowledge-graph)

*   Aug 1, 2026

    ### [Building a Second Brain with LLMs and AI Agents](/blog/building-second-brain-llms-ai-agents)


* * *

Liran Tal is the author of the book [Node.js Secure Coding: Defending Against Command Injection Vulnerabilities](https://www.nodejs-security.com/)

[Start Building Secure Node.js Applications ↗](https://www.nodejs-security.com/)

 [![](/_astro/nodejs-secure-coding-book-3d-style.DiTWpzFs_Z3c7s1.png)](https://www.nodejs-security.com/)
