Available versions




NGINX_http_agent

Overview

Nginx template based on http agent

Nginx configuration example:

server {

listen 0.0.0.0:8080;

server_name status.localhost;

keepalive_timeout 0;

allow 127.0.0.1;

allow 192.168.11.254;

deny all;

location /server-status {

stub_status on;

}

access_log off;

}

P.S. item “Number of nginx running” using zabbix agent (active), you can change it,

use macros to specify the ip address and port of nginx

Macros used

Name Description Default Type
{$HOST.NGINX} <p>-</p> 127.0.0.1:8080 Text macro
{$PROTO} <p>-</p> http Text macro

There are no template links in this template.

Discovery rules

There are no discovery rules in this template.

Items collected

Name Description Type Key and additional info
Nginx: handled per second <p>-</p> Dependent item nginx.handled<p>Update: 0</p>
Get NGINX status page <p>-</p> HTTP agent nginx.get<p>Update: 30s</p>
Nginx: accepts per second <p>-</p> Dependent item nginx.accepts<p>Update: 0</p>
Nginx active connections <p>-</p> Dependent item nginx.connections.active<p>Update: 0</p>
Nginx: requests per second <p>-</p> Dependent item nginx.requests<p>Update: 0</p>
Nginx: number of connections in waiting state <p>-</p> Dependent item nginx.connections.waiting<p>Update: 0</p>
Number of nginx running <p>-</p> Zabbix agent (active) proc.num[nginx]<p>Update: 90</p>
Nginx: number of connections in writing state <p>-</p> Dependent item nginx.connections.writing<p>Update: 0</p>
Nginx: number of connections in reading state <p>-</p> Dependent item nginx.connections.reading<p>Update: 0</p>

Triggers

There are no triggers in this template.

NGINX_http_agent

Overview

Nginx template based on http agent

Nginx configuration example:

server {

listen 0.0.0.0:8080;

server_name status.localhost;

keepalive_timeout 0;

allow 127.0.0.1;

allow 192.168.11.254;

deny all;

location /server-status {

stub_status on;

}

access_log off;

}

P.S. item “Number of nginx running” using zabbix agent (active), you can change it,

use macros to specify the ip address and port of nginx

Macros used

Name Description Default Type
{$HOST.NGINX} <p>-</p> 127.0.0.1:8080 Text macro
{$PROTO} <p>-</p> http Text macro

There are no template links in this template.

Discovery rules

There are no discovery rules in this template.

Items collected

Name Description Type Key and additional info
Nginx: requests per second <p>-</p> Dependent item nginx.requests<p>Update: 0</p>
Nginx active connections <p>-</p> Dependent item nginx.connections.active<p>Update: 0</p>
Nginx: accepts per second <p>-</p> Dependent item nginx.accepts<p>Update: 0</p>
Nginx: handled per second <p>-</p> Dependent item nginx.handled<p>Update: 0</p>
Nginx: number of connections in waiting state <p>-</p> Dependent item nginx.connections.waiting<p>Update: 0</p>
Nginx: number of connections in writing state <p>-</p> Dependent item nginx.connections.writing<p>Update: 0</p>
Get NGINX status page <p>-</p> HTTP agent nginx.get<p>Update: 30s</p>
Number of nginx running <p>-</p> Zabbix agent (active) proc.num[nginx]<p>Update: 90</p>
Nginx: number of connections in reading state <p>-</p> Dependent item nginx.connections.reading<p>Update: 0</p>

Triggers

There are no triggers in this template.

NGINX_http_agent

Overview

Nginx template based on http agent

Nginx configuration example:

server {

listen 0.0.0.0:8080;

server_name status.localhost;

keepalive_timeout 0;

allow 127.0.0.1;

allow 192.168.11.254;

deny all;

location /server-status {

stub_status on;

}

access_log off;

}

P.S. item “Number of nginx running” using zabbix agent (active), you can change it,

use macros to specify the ip address and port of nginx

Macros used

Name Description Default Type
{$HOST.NGINX} <p>-</p> 127.0.0.1:8080 Text macro
{$PROTO} <p>-</p> http Text macro

There are no template links in this template.

Discovery rules

There are no discovery rules in this template.

Items collected

Name Description Type Key and additional info
Nginx: requests per second <p>-</p> Dependent item nginx.requests<p>Update: 0</p>
Nginx active connections <p>-</p> Dependent item nginx.connections.active<p>Update: 0</p>
Nginx: accepts per second <p>-</p> Dependent item nginx.accepts<p>Update: 0</p>
Nginx: handled per second <p>-</p> Dependent item nginx.handled<p>Update: 0</p>
Nginx: number of connections in waiting state <p>-</p> Dependent item nginx.connections.waiting<p>Update: 0</p>
Nginx: number of connections in writing state <p>-</p> Dependent item nginx.connections.writing<p>Update: 0</p>
Get NGINX status page <p>-</p> HTTP agent nginx.get<p>Update: 30s</p>
Number of nginx running <p>-</p> Zabbix agent (active) proc.num[nginx]<p>Update: 90</p>
Nginx: number of connections in reading state <p>-</p> Dependent item nginx.connections.reading<p>Update: 0</p>

Triggers

There are no triggers in this template.