IntégrationsSites web et serveurs web
Surveiller Apache httpd avec DumbMonit
The web server: busy and idle workers, the worker scoreboard by state, and request/byte rates when ExtendedStatus is on.
DocumentationSite officiel : Apache HTTP Server
Les descriptions des produits sont en anglais, comme dans le produit. Les libellés de la page suivent votre langue.
Ce que DumbMonit surveille
The web server: busy and idle workers, the worker scoreboard by state, and request/byte rates when ExtendedStatus is on.
Usage typique. Web server: busy/idle workers, scoreboard by state, request and byte rates
Exemples
- Apache in Docker
- Apache on a Linux host
- A LAMP stack
Comment il se connecte
Ce qu'il faut
- Basic authIf the status page sits behind a basic auth block or directive.
Aucun compte nécessaire.
Ports réseau à ouvrir
80/TCPStatus page (HTTP, default)443/TCPOnly if the status page is served over HTTPS
Étapes de mise en place: Enable Apache's mod_status
Enable mod_status (it ships with Apache and is usually on already).
a2enmod statusAdd this location to the Apache configuration, restricted to the DumbMonit host (adjust the address).
<Location "/server-status"> SetHandler server-status Require ip 10.0.0.5 </Location>Optional: turn on the request and byte counters.
ExtendedStatus OnReload Apache, then open http://apache.lan/server-status?auto from the DumbMonit host.
apachectl gracefulIn DumbMonit, enter the Apache host, for example apache.lan, and the path if it is not /server-status.
À savoir. Without ExtendedStatus, requests and bytes are not reported at all: the chart stays empty rather than flat.