Nginx, with configured http\_stub\_status\_module
- Active
- Reading
- Waiting
- Writing
- Accepted
- Handled
- Total
- 'Requests Statistics' graph
- 'Connection Status' graph
- Screen combining both graph
- {$NGINX_HOST}
- {$NGINX_STATS_URI}
- {$NGINX_PORT}
- {$NGINX_REQ_NUM}
- {$NGINX_CON_NUM}
Add the following example to your default vhost configuration file:
location /nginx\_status {
stub\_status on;
access\_log off;
allow 127.0.0.1;
allow ::1;
deny all;
}
- Import XML template file (
zbx\_template\_nginx.xml
) into Zabbix via Web GUI (Configuration -> Templates -> Import). - Assign the imported template to a host and enjoy!
Alex Gluck
Name | Description | Default | Type |
---|---|---|---|
{$NGINX_CON_NUM} | - |
2500 |
Text macro |
{$NGINX_HOST} | - |
localhost |
Text macro |
{$NGINX_PORT} | - |
80 |
Text macro |
{$NGINX_REQ_NUM} | - |
600 |
Text macro |
{$NGINX_STATS_URI} | - |
nginx-stats |
Text macro |
There are no template links in this template.
There are no discovery rules in this template.
Name | Description | Type | Key and additional info |
---|---|---|---|
Nginx: connections handled per sec | - |
Dependent item |
nginx.handled Update: 0 |
Nginx: connections writing | - |
Dependent item |
nginx.writing Update: 0 |
Nginx: connects active | - |
Dependent item |
nginx.active.connect Update: 0 |
Nginx: requests per sec | - |
Dependent item |
nginx.requests Update: 0 |
Get Nginx stat page | - |
Zabbix agent |
web.page.get[{$NGINX_HOST},{$NGINX_STATS_URI},{$NGINX_PORT}] Update: 60s |
Nginx: connections reading | - |
Dependent item |
nginx.reading Update: 0 |
Nginx: Number of processes $1 | - |
Zabbix agent |
proc.num[nginx] Update: 60s |
Nginx: connections accepted per sec | - |
Dependent item |
nginx.accepts Update: 0 |
Nginx: connections waiting | - |
Dependent item |
nginx.waiting Update: 0 |
There are no triggers in this template.