Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'templates/app/nginx_agent/template_app_nginx_agent.yaml')
-rw-r--r--templates/app/nginx_agent/template_app_nginx_agent.yaml33
1 files changed, 32 insertions, 1 deletions
diff --git a/templates/app/nginx_agent/template_app_nginx_agent.yaml b/templates/app/nginx_agent/template_app_nginx_agent.yaml
index a53b02ab125..047c8aaebe7 100644
--- a/templates/app/nginx_agent/template_app_nginx_agent.yaml
+++ b/templates/app/nginx_agent/template_app_nginx_agent.yaml
@@ -1,11 +1,13 @@
zabbix_export:
version: '5.4'
- date: '2021-05-09T00:00:00Z'
+ date: '2021-05-10T19:41:39Z'
groups:
-
+ uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
name: Templates/Applications
templates:
-
+ uuid: 27f6424905884dbb96ab9210d987a56c
template: 'Nginx by Zabbix agent'
name: 'Nginx by Zabbix agent'
description: |
@@ -21,6 +23,7 @@ zabbix_export:
name: Templates/Applications
items:
-
+ uuid: 75a7795df3034835bcfd143f7c3e9b94
name: 'Nginx: Service response time'
key: 'net.tcp.service.perf[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"]'
history: 7d
@@ -32,6 +35,7 @@ zabbix_export:
value: Nginx
triggers:
-
+ uuid: 3c1994614cc84792b97a5531484825e1
expression: 'min(/Nginx by Zabbix agent/net.tcp.service.perf[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"],5m)>{$NGINX.RESPONSE_TIME.MAX.WARN}'
name: 'Nginx: Service response time is too high (over {$NGINX.RESPONSE_TIME.MAX.WARN}s for 5m)'
priority: WARNING
@@ -44,6 +48,7 @@ zabbix_export:
name: 'Nginx: Service is down'
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0'
-
+ uuid: f06e76888f464e13b7cc4c3db33e8131
name: 'Nginx: Service status'
key: 'net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"]'
history: 7d
@@ -60,6 +65,7 @@ zabbix_export:
value: Nginx
triggers:
-
+ uuid: c043191c22f34522ba4f83430d9f88b1
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0'
name: 'Nginx: Service is down'
priority: AVERAGE
@@ -69,6 +75,7 @@ zabbix_export:
name: 'Nginx: Process is not running'
expression: 'last(/Nginx by Zabbix agent/proc.num[nginx])=0'
-
+ uuid: 9e2be446ac79491c8be1bcd789392066
name: 'Nginx: Connections accepted per second'
type: DEPENDENT
key: nginx.connections.accepted.rate
@@ -93,6 +100,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 436f2dc87cda418eb8f19ed6910c7bd0
name: 'Nginx: Connections active'
type: DEPENDENT
key: nginx.connections.active
@@ -112,6 +120,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 4027e6db5e024aff98056faa2d4b43cd
name: 'Nginx: Connections dropped per second'
type: DEPENDENT
key: nginx.connections.dropped.rate
@@ -140,6 +149,7 @@ zabbix_export:
value: Nginx
triggers:
-
+ uuid: 3907ed4e3e5d4caa83d76e2a3db45b1a
expression: 'min(/Nginx by Zabbix agent/nginx.connections.dropped.rate,5m) > {$NGINX.DROP_RATE.MAX.WARN}'
name: 'Nginx: High connections drop rate (more than {$NGINX.DROP_RATE.MAX.WARN} for 5m)'
opdata: 'Current rate: {ITEM.LASTVALUE1}'
@@ -153,6 +163,7 @@ zabbix_export:
name: 'Nginx: Service is down'
expression: 'last(/Nginx by Zabbix agent/net.tcp.service[http,"{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PORT}"])=0'
-
+ uuid: 06191636a7104e1bb40d197493b80958
name: 'Nginx: Connections handled per second'
type: DEPENDENT
key: nginx.connections.handled.rate
@@ -177,6 +188,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: f5925c78389143c7924432483a5c716c
name: 'Nginx: Connections reading'
type: DEPENDENT
key: nginx.connections.reading
@@ -196,6 +208,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: d6cfa828ba344ffe948d8d985b849316
name: 'Nginx: Connections waiting'
type: DEPENDENT
key: nginx.connections.waiting
@@ -215,6 +228,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: c038a572f73f4a418ddcc5aeb8b0a547
name: 'Nginx: Connections writing'
type: DEPENDENT
key: nginx.connections.writing
@@ -234,6 +248,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: b28444fb9b834d03a72036882c80b921
name: 'Nginx: Requests total'
type: DEPENDENT
key: nginx.requests.total
@@ -253,6 +268,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 2600a696278f490f86cadd8c8836f269
name: 'Nginx: Requests per second'
type: DEPENDENT
key: nginx.requests.total.rate
@@ -277,6 +293,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 3dcc81006977478f92be6dd040d66eb5
name: 'Nginx: Version'
type: DEPENDENT
key: nginx.version
@@ -302,12 +319,14 @@ zabbix_export:
value: Nginx
triggers:
-
+ uuid: 942f2c45b40b424ea0f87aad863f0dac
expression: '(last(/Nginx by Zabbix agent/nginx.version,#1)<>last(/Nginx by Zabbix agent/nginx.version,#2))=1 and length(last(/Nginx by Zabbix agent/nginx.version))>0'
name: 'Nginx: Version has changed (new version: {ITEM.VALUE})'
priority: INFO
description: 'Nginx version has changed. Ack to close.'
manual_close: 'YES'
-
+ uuid: 84c95c1955bf4ccaa12a060a9acdb478
name: 'Nginx: CPU utilization'
key: 'proc.cpu.util[nginx]'
history: 7d
@@ -319,6 +338,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 64d208475c034bae953a64cde1833ebb
name: 'Nginx: Memory usage (rss)'
key: 'proc.mem[nginx,,,,rss]'
history: 7d
@@ -329,6 +349,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: 21fccb0286fb407c85f1972e994c698e
name: 'Nginx: Memory usage (vsize)'
key: 'proc.mem[nginx,,,,vsize]'
history: 7d
@@ -339,6 +360,7 @@ zabbix_export:
tag: Application
value: Nginx
-
+ uuid: ba3da6baccee4b31947bf20d3cae0e5f
name: 'Nginx: Number of processes running'
key: 'proc.num[nginx]'
history: 7d
@@ -349,10 +371,12 @@ zabbix_export:
value: Nginx
triggers:
-
+ uuid: 903e6a1f30154ee49df3f8d87e0164cc
expression: 'last(/Nginx by Zabbix agent/proc.num[nginx])=0'
name: 'Nginx: Process is not running'
priority: HIGH
-
+ uuid: 52a23a9f6d60490c8f5565b938154f61
name: 'Nginx: Get stub status page'
key: 'web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"]'
history: 1h
@@ -374,6 +398,7 @@ zabbix_export:
value: 'Zabbix raw items'
triggers:
-
+ uuid: 15d2fc675d774274b2d85562cc30352e
expression: |
find(/Nginx by Zabbix agent/web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"],,"like","HTTP/1.1 200")=0 or
nodata(/Nginx by Zabbix agent/web.page.get["{$NGINX.STUB_STATUS.HOST}","{$NGINX.STUB_STATUS.PATH}","{$NGINX.STUB_STATUS.PORT}"],30m)=1
@@ -411,6 +436,7 @@ zabbix_export:
description: 'The port of Nginx stub_status host or container.'
dashboards:
-
+ uuid: 9d071e3a148c405e85c53ef25d54efaf
name: 'Nginx performance'
pages:
-
@@ -464,6 +490,7 @@ zabbix_export:
host: 'Nginx by Zabbix agent'
valuemaps:
-
+ uuid: 53c8528c18814f30a45d1540ab9e5c00
name: 'Service state'
mappings:
-
@@ -474,6 +501,7 @@ zabbix_export:
newvalue: Up
graphs:
-
+ uuid: ba234158aeca468a8592d944f9aae691
name: 'Nginx: Connections by state'
graph_items:
-
@@ -501,6 +529,7 @@ zabbix_export:
host: 'Nginx by Zabbix agent'
key: nginx.connections.reading
-
+ uuid: b82a5b89864a47638421458f3e74563d
name: 'Nginx: Connections per second'
graph_items:
-
@@ -521,6 +550,7 @@ zabbix_export:
host: 'Nginx by Zabbix agent'
key: nginx.connections.dropped.rate
-
+ uuid: 69ca908afa1d468d983a263d06910925
name: 'Nginx: Memory usage'
graph_items:
-
@@ -535,6 +565,7 @@ zabbix_export:
host: 'Nginx by Zabbix agent'
key: 'proc.mem[nginx,,,,rss]'
-
+ uuid: a2d2fec823514df09731381304c245e9
name: 'Nginx: Requests per second'
graph_items:
-