Simple Apache access logs monitor
Find a file
2026-02-27 10:58:05 +01:00
.gitignore init 2026-02-19 11:38:36 +01:00
apmon.py Actually stop watching error.log 2026-02-27 10:58:05 +01:00
example.png add example image 2026-02-19 11:43:27 +01:00
LICENSE Add license 2026-02-19 11:44:28 +01:00
README.md Link to mod_status 2026-02-19 11:59:40 +01:00
requirements.txt init 2026-02-19 11:38:36 +01:00

apmon

Terminal dashboard for Apache httpd.

It shows:

  • the Apache scoreboard (from server-status?auto) with color-coded states
  • live-tailed Apache access logs from /var/log/apache2/*.log

Requirements

  • Python 3.11+
  • Apache mod_status enabled and reachable at http://localhost/server-status?auto
  • Read access to /var/log/apache2/*.log

Python dependencies are listed in requirements.txt.

Install

apmon.py is executable and has a shebang pointing at the repo's virtualenv Python (apachemonitorvenv/bin/python). That means you can run it directly without “activating” a venv in your shell; it will use that interpreter automatically.

You still need to install dependencies into that same virtualenv.

python3 -m venv apachemonitorvenv
./apachemonitorvenv/bin/pip install -r requirements.txt

Run

./apmon.py

If you see errors fetching the scoreboard, verify Apache exposes server-status locally and that access restrictions allow localhost.

Screenshot

apmon screenshot

License

WTFPL. See LICENSE.