DumbMonit

IntégrationsSites web et serveurs web

Surveiller Nginx avec 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.

DocumentationSite officiel : Nginx

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 and reverse proxy: active and waiting connections, the accept/handled/request rates, and upstream health when the commercial NGINX Plus API is available.

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

Exemples

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

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 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.

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