Changelogs » Apache-manager




- Added Python 3.6 and 3.7 to test suite and documented support for them (based
on the fact that the test suite passes).

- Bug fix to improve compatibility with newer Apache versions:

In Ubuntu 18.04 the plain text server status page response contains multiple
uptime entries and because the regular expressions used by apache-manager
weren't anchored to the start of the line, this new status page contents
confused apache-manager.

On Ubuntu 14.04::

$ curl -s http://localhost/server-status?auto | grep -i uptime
Uptime: 96606

On Ubuntu 18.04::

$ curl -s http://localhost/server-status?auto | grep -i uptime
ServerUptimeSeconds: 5163
ServerUptime: 1 hour 26 minutes 3 seconds
Uptime: 5163

- Include documentation in source distributions (````).

- Changed Sphinx documentation theme (to the 'nature' theme).

- Added license=MIT to ```` script.

.. _Release 1.2:



- Added hanging worker detection based on hard coded five minute threshold (to
be made configurable in a future release).

- Made ``test_refresh()`` compatible with Ubuntu 16.04:

I've just upgraded my personal and work laptops to Ubuntu 16.04 and noticed
that several tests have started failing. Most noticeably the server uptime
reported on the status page is no longer updated consistently. I'm changing
this test to check a different status page item which should be more

- Made worker kill tests compatible with Ubuntu 16.04 (Apache 2.4).

.. _Release 1.1:



- Refactor ``WorkerStatus`` class to properly use property-manager_.

Strictly speaking this change set breaks backwards compatibility, however 99%
percent of the functionality is the same, I've mostly just changed a whole
lot of undocumented implementation details. Nevertheless I'm bumping the
major version number because "explicit is better than implicit".

- Use six_ instead of homegrown ``apache_manager.compat`` module.

Six_ was already included in the transitive requirements via executor_ so
there was really no point in not using it 🙂.

- Refactor makefile & setup script (checkers, docs, wheels, twine, etc).

- Improve test coverage of port discovery

.. _Release 1.0:
.. _six:
.. _executor:



Make it easy to silence apache-manager in cron jobs.

.. _Release 0.6:



Enable Zabbix low level discovery of WSGI process groups.

.. _Release 0.5:



Expose Apache worker memory usage in data file.

.. _Release 0.4:



Properly parse ``Listen`` directives in ``/etc/apache2/ports.conf`` (not so
much a bug fix but definitely a quality boost).

.. _Release 0.3:



Internal refactoring: Switch from cached-property_ to property-manager_.

.. _Release 0.2:
.. _cached-property:
.. _property-manager:



Bug fix: Explicitly specify BeautifulSoup parser.

This avoids BeautifulSoup from emitting the following warning:

"No parser was explicitly specified, so I'm using the best available HTML
parser for this system ("html.parser"). This usually isn't a problem, but if
you run this code on another system, or in a different virtual environment, it
may use a different parser and behave differently."

About the choice for ``html.parser``: This is the only parser built into the
Python standard library and it seems to work fine for Apache status pages
(which makes sense because these pages don't contain arbitrary invalid HTML,
they are fairly well formed and simple) so I don't see any point in pulling in
another external dependency.

.. _Release 0.1.1: