IntegraçõesSites e servidores web
Monitorizar Apache httpd com o DumbMonit
The web server: busy and idle workers, the worker scoreboard by state, and request/byte rates when ExtendedStatus is on.
DocumentaçãoSite oficial: Apache HTTP Server
As descrições estão em inglês, como no produto. Os rótulos da página seguem o seu idioma.
O que o DumbMonit vigia
The web server: busy and idle workers, the worker scoreboard by state, and request/byte rates when ExtendedStatus is on.
Utilização típica. Web server: busy/idle workers, scoreboard by state, request and byte rates
Exemplos
- Apache in Docker
- Apache on a Linux host
- A LAMP stack
Como se liga
O que precisa
- Basic authIf the status page sits behind a basic auth block or directive.
Não é preciso nenhuma conta.
Portas de rede a abrir
80/TCPStatus page (HTTP, default)443/TCPOnly if the status page is served over HTTPS
Passos de configuração: 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.
Atenção. Without ExtendedStatus, requests and bytes are not reported at all: the chart stays empty rather than flat.