DumbMonit

IntegracionesSitios web y servidores web

Monitorizar Nginx con DumbMonit

The web server and reverse proxy: active and waiting connections, the accept/handled/request rates, and upstream health when the commercial NGINX Plus API is available.

DocumentaciónSitio web oficial: Nginx

Las descripciones están en inglés, como en el producto. Las etiquetas de la página siguen su idioma.

Qué vigila DumbMonit

The web server and reverse proxy: active and waiting connections, the accept/handled/request rates, and upstream health when the commercial NGINX Plus API is available.

Uso habitual. Web server: active/waiting connections, accept/handled/request rates, NGINX Plus upstream health

Ejemplos

  • Nginx in Docker
  • Nginx as a reverse proxy
  • Nginx on a Linux host

Cómo se conecta

Qué necesita

  • Basic authIf the status page sits behind a basic auth block or directive.

No hace falta ninguna cuenta.

Puertos de red que abrir

  • 80/TCPStatus page (HTTP, default)
  • 443/TCPOnly if the status page is served over HTTPS
Pasos de configuración: Enable Nginx's stub_status module
  1. Add this location to the server block Nginx already serves, restricted to the DumbMonit host (adjust the address).

    location /basic_status {
    stub_status;
    allow 10.0.0.5;
    deny all;
    }
  2. Reload Nginx.

    nginx -s reload
  3. Open http://nginx.lan/basic_status from the DumbMonit host: it must show Active connections.

  4. In DumbMonit, enter the Nginx host, for example nginx.lan, and the path if it is not /basic_status.

  5. If NGINX Plus is installed, tick Read the NGINX Plus API to add upstream health and per-zone counters.

Ojo. stub_status only counts connections and requests: a configuration error in a server block or an unreachable backend does not show there.