Nginx Monitoring: monitor your Nginx HTTP server through Domotz

Try Nginx Monitoring for HTTP servers through Domotz. Nginx is a web server you can use as a reverse proxy, load balancer, mail proxy, and HTTP cache. Many web servers use Nginx, often as a load balancer.

We offer proactive Nginx monitoring for the status and statistics of your Server by extracting information related to the ActiveState processes, connections, tasks, and more.

Start Your Free Trial
Integration Domotz + Nginx monitoring

checkiconReview the configuration and essential performance of your Ngnix Server

checkiconNgnix monitoring for Server resource consumption

checkiconReview the ngx_http_stub_status_module information

checkiconCheck the CNX and Request statistics

How our Nginx Monitoring works

Our Nginx monitoring leverages the “Custom Integration” functionality, allowing you to monitor your Nginx process on your server.

The scripts use HTTP and SSH protocols to connect to the Nginx instance and extract the required information.

Our Custom Integration scripts offer a complete set of variables and stats that you can monitor through Domotz:

  • nginx_status.js - this uses HTTP Protocol to extract http_stub_status variables (like active_cnx, accepted_cnx, handled_cnx, requests, etc)
  • nginx_stats.js - this uses SSH to the server hosting Nginx to extract performance statistics and configuration from the Ngnix server (such as CPU usage, System and Load configuration, build configuration.

You can find the Nginx Monitoring driver codes in our examples library. Just customize the drivers to fit your needs.


How to enable the Nginx monitoring driver

Enabling the NGINX driver on Domotz NGINX example driver code

To enable the custom integration for Nginx monitoring, open the WebApp and follow these few steps:

  1. From the left menu, click on "Integration" then on the tab "Custom Integration"
  2. By clicking on “Create a new driver” will open a window where you need to choose the “Driver name” and the “Driver description”
    For example: “Nginx Status” as a Driver name and a brief description of the purpose for this integration (e.g., “This uses HTTP Protocol to extract http_stub_status variables”).
  3. Copy the content of the following scripts from the example in the Driver code area (the empty space for the code):
    • nginx_status.js
    • nginx_stats.js
  4. Apply the Custom Integration to the machine hosting Nginx HTTP Server.

You can find the example driver code for Nginx monitoring below:

  • nginx_status.js - this uses HTTP Protocol to extract http_stub_status variables (like active_cnx, accepted_cnx, handled_cnx, requests, etc)
  • nginx_stats.js - this uses SSH to the server hosting Nginx to extract performance statistics and configuration from the Ngnix server (such as CPU usage, System and Load configuration, build configuration.

Want to learn more about how to set up the Nginx monitoring integration with Domotz?

Ready to get started with Domotz?

  • Powerful
  • Automated
  • Simple
  • Affordable
Start Your Free Trial Contact Sales