Would you like to learn how to monitor an Nginx server using Zabbix? In this tutorial, we are going to show you how to configure the Zabbix HTTP agent to monitor the Nginx webserver performance on a computer running Ubuntu Linux.

• Ubuntu 18
• Ubuntu 19
• Zabbix server 4.4.1
• Nginx 1.15.9

Thsi tutorial does not require you to install the Zabbix agent on the Nginx server.

Zabbix Playlist:

On this page, we offer quick access to a list of videos related to Zabbix installation.

Don't forget to subscribe to our youtube channel named FKIT.

Tutorial Zabbix - Nginx server Installation

• IP -
• Operational System - Ubuntu 19.10
• Hostname - NGINX

Install the Nginx server.

Copy to Clipboard

Verify if the Nginx http_stub_status module was installed.

Copy to Clipboard

Edit the Nginx default configuration file.

Copy to Clipboard

Here is the original file, before our configuration.

Copy to Clipboard

Here is the file with our configuration.

Copy to Clipboard

In our example, we configure the Nginx http_stub_status module to allow only computers from the network to access the webserver status page.

Restart the Nginx service.

Copy to Clipboard

On a computer from the allowed IP address network, open your browser and enter the IP address of your web server plus /server-status.

In our example, the following URL was entered in the Browser:


You will be sent to the Nginx server status page.

ngins status page

Congratulations! You sucessfully configured the Nginx status page feature.

Tutorial Zabbix - Monitoring Nginx

• IP -
• Operational System - Ubuntu 19.10
• Hostname - ZABBIX

Now, we need to access the Zabbix server dashboard and add the Linux computer as a Host.

Open your browser and enter the IP address of your web server plus /zabbix.

In our example, the following URL was entered in the Browser:


On the login screen, use the default username and default password.

• Default Username: Admin
• Default Password: zabbix

zabbix login

After a successful login, you will be sent to the Zabbix Dashboard.

Zabbix 4.4 dashboard

On the dashboard screen, access the Configuration menu and select the Host option.

zabbix add host

On the top right of the screen, click on the Create host button.

Zabbix Create Host

On the Host configuration screen, you will have to enter the following information:

• Host Name - Enter a Hostname to identify the Nginx server.
• Visible Hostname - Repeat the hostname.
• New group - Enter a name to identify a group of similar devices.
• Agent Interface - Enter the IP address of the Nginx server.

Here is the original image, before our configuration.

zabbix linux - Antes

Here is the new image with our configuration.

Zabbix monitor Nginx

Next, we need to associate the host with a specific network monitor template.

By default, Zabbix comes with a large variety of monitoring templates.

Access the Templates tab on the top of the screen.

Click on the Select button and locate the template named: Template App Nginx by HTTP

Monitor Nginx using Zabbix

Click on the Add button to finish the configuration.

After a few minutes, you will be able to see the initial result on the Zabbix Dashboard.

In order to test your configuration, access the Monitoring menu and click on the Graphs option.

Zabbix graphic

Select your Nginx server hostname.

Select the graph named NGINX: REQUESTS PER SECONDS

Nginx performance graph

You should be able to see the Nginx performance graphic

Nginx performance monitor

To access more information, search for your Nginx server on the latest data menu.

monitor nginx zabbix

Congratulations! You have configured the Zabbix server to monitor an Nginx server.