ncc.zabbix_templates
35:308f360346c8
Go to Latest
ncc.zabbix_templates/HTTP/zbx_export_templates.yaml
* PGBouncer: Не верно считалось и отображалось время операций с базой
3 date: '2023-12-09T11:04:11Z'
5 - uuid: 22941f4e01294888a9bed3aae15f6ef9
8 - uuid: c40bb45aea654661ad8d08af056cc7fd
9 template: 'Monitoring HTTP AWNET'
10 name: 'Мониторинг HTTP AWNET'
11 description: 'Версия: v0.r202312.1'
13 - name: Templates/AWNET
15 - uuid: 0c18593e50564c28b81f1670e1b926ca
16 name: 'Потеря пакетов'
18 key: 'icmppingloss["{HOST.CONN}",100,700,1000,5000]'
27 - uuid: e4a815685f5a4d2386d81cc3d9080d15
28 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
29 name: 'Большой уровень потерь пакетов'
32 - name: 'Потеря сетевой связности с сервисом'
33 expression: 'last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,max])=0 or last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,min])=0'
34 - uuid: 74f3b5e5a64d44a793ca7274c05f657a
35 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>30'
36 name: 'Плохая связность с сервисом'
39 - name: 'Большой уровень потерь пакетов'
40 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
44 - uuid: b29a8e52cc3444d28c53a53f12970d15
45 name: 'Максимальная сетевая задержка сервиса'
47 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,max]'
54 - uuid: 98f8f82c16a04dd49e3b9edacfb484a4
55 expression: 'last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,max])>"200ms"'
56 name: 'Больная сетевая задержка при доступе к сервису'
59 - name: 'Большой уровень потерь пакетов'
60 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
64 - uuid: dd7ae5e67efe43f2a47b437d232079cb
65 name: 'Минимальная сетевая задержка сервиса'
67 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,min]'
73 - uuid: 8a682b9de14249d196886de1f6c4aace
74 name: 'Время доступа к сервису - вторичный порт'
76 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT_EX}"]'
85 - uuid: 169c70370d5a41e18827d52de8706d36
86 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT_EX}"])=0'
87 name: 'Сервис не доступен - вторичный порт'
92 - uuid: d276f7bdf45b45c18fd5e6dcd2d72b26
93 name: 'Время доступа к сервису'
95 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"]'
104 - uuid: 3f26d6ca37c6486a8967901bc466e5b2
105 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"])=0'
106 name: 'Сервис не доступен'
112 - uuid: da4b90b9053a43f195553c0a6634409b
113 name: 'Основная проверка'
114 agent: '{$AW.HTTP.AGENT_NAME}'
116 - name: 'Запрос страницы проверки'
117 url: '{$AW.HTTP.SCHEMA}://{HOST.CONN}:{$AW.HTTP.PORT}{$AW.HTTP.TEST_URL}'
118 follow_redirects: 'NO'
119 status_codes: '{$AW.HTTP.HTTP_CHECK_RESPONSE_CODE}'
126 - macro: '{$AW.HTTP.AGENT_NAME}'
128 description: 'Имя клиента для проверки'
129 - macro: '{$AW.HTTP.HTTP_CHECK_RESPONSE_CODE}'
131 description: 'Статус код проверочного ссайта'
132 - macro: '{$AW.HTTP.PORT}'
134 description: 'Основной порт сайта'
135 - macro: '{$AW.HTTP.PORT_EX}'
137 description: 'Дополнительный порт, с него например могут идти перенаправления или там развёрнута система мониторинга сайта'
138 - macro: '{$AW.HTTP.SCHEMA}'
140 description: 'Основная адресная схема сайта'
141 - macro: '{$AW.HTTP.TEST_URL}'
143 description: 'URL для тестирования'
144 - uuid: 0f6efdd37f094f65bf3c53fd6f1f551c
145 template: 'Monitoring HTTP AWNET - PHP'
146 name: 'Мониторинг HTTP AWNET - PHP'
147 description: 'Версия: v0.r202312.1'
149 - name: 'Monitoring HTTP AWNET'
151 - name: Templates/AWNET
153 - uuid: 1c50367c783a44ae928e584aedc02b33
154 name: 'PHP-FPM: Accepted connections per second'
156 key: php-fpm.conn_accepted.rate
160 description: 'The number of accepted requests per second.'
164 - '$.[''accepted conn'']'
165 - type: CHANGE_PER_SECOND
169 key: php-fpm.get_status
173 - uuid: 9cc132b46638463da970001ae4c85159
174 name: 'PHP-FPM: Get ping page'
176 key: php-fpm.get_ping
180 url: '{$PHP_FPM.SCHEME}://{HOST.CONN}:{$AW.HTTP.PORT_EX}{$PHP_FPM.PING.PAGE}'
184 value: 'Zabbix raw items'
185 - uuid: 95f0f1fda78c49038802375a232fe539
186 name: 'PHP-FPM: Get status page'
188 key: php-fpm.get_status
192 url: '{$PHP_FPM.SCHEME}://{HOST.CONN}:{$AW.HTTP.PORT_EX}{$PHP_FPM.STATUS.PAGE}?json'
195 value: 'Zabbix raw items'
196 - uuid: 71b9110791e34264bb707e1aeb0032f9
197 name: 'PHP-FPM: Listen queue'
199 key: php-fpm.listen_queue
202 description: 'The current number of connections that have been initiated, but not yet accepted.'
206 - '$.[''listen queue'']'
208 key: php-fpm.get_status
212 - uuid: 95bba027ff08422ebfeef4b664e7d9ba
213 name: 'PHP-FPM: Listen queue, len'
215 key: php-fpm.listen_queue_len
218 description: 'Size of the socket queue of pending connections.'
222 - '$.[''listen queue len'']'
224 key: php-fpm.get_status
228 - uuid: 3abbb29d356c4191b84dec5cc227cc5e
229 name: 'PHP-FPM: Listen queue, max'
231 key: php-fpm.listen_queue_max
234 description: 'The maximum number of requests in the queue of pending connections since this FPM pool has started.'
238 - '$.[''max listen queue'']'
240 key: php-fpm.get_status
244 - uuid: 9c0a29e0da454a0bb43ca71dd33ba668
245 name: 'PHP-FPM: Queue usage'
247 key: php-fpm.listen_queue_usage
251 params: 'last(//php-fpm.listen_queue)/(last(//php-fpm.listen_queue_len)+(last(//php-fpm.listen_queue_len)=0))*100'
252 description: 'Queue utilization'
257 - uuid: b4dbc689bd8f499b8f1dc5e94ddf0b04
258 expression: 'min(/Monitoring HTTP AWNET - PHP/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}'
259 name: 'PHP-FPM: Queue utilization is high (over {$PHP_FPM.QUEUE.WARN.MAX}% for 15m)'
261 description: 'The queue for this pool reached {$PHP_FPM.QUEUE.WARN.MAX}% of its maximum capacity. Items in queue represent the current number of connections that have been initiated on this pool, but not yet accepted.'
262 - uuid: 047799c9fe31465ba3e450ae81cbb755
263 name: 'PHP-FPM: Max children reached'
265 key: php-fpm.max_children
268 description: 'The number of times that pm.max_children has been reached since the php-fpm pool started'
272 - '$.[''max children reached'']'
273 - type: SIMPLE_CHANGE
277 key: php-fpm.get_status
281 - uuid: 6c65341ed101462d89f6ef4eaf3fac6e
282 name: 'PHP-FPM: Pool name'
289 description: 'The name of current pool.'
294 - type: DISCARD_UNCHANGED_HEARTBEAT
298 key: php-fpm.get_status
302 - uuid: d55bd360ac85416aa4a2c9fd233c7076
303 name: 'PHP-FPM: Ping'
311 - '{$PHP_FPM.PING.REPLY}($|\n)'
313 error_handler: CUSTOM_VALUE
314 error_handler_params: '0'
316 key: php-fpm.get_ping
321 - uuid: a2cbca03ee18478cba2771ceed2eb3cc
322 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.ping)=0 or nodata(/Monitoring HTTP AWNET - PHP/php-fpm.ping,3m)=1'
323 name: 'PHP-FPM: Service is down'
326 - uuid: 3f4b713fd09c40fabd843f19ce78dac4
327 name: 'PHP-FPM: Processes, active'
329 key: php-fpm.processes_active
332 description: 'The total number of active processes.'
336 - '$.[''active processes'']'
338 key: php-fpm.get_status
342 - uuid: 48f6cbea84a849f498d6e834960da817
343 name: 'PHP-FPM: Processes, idle'
345 key: php-fpm.processes_idle
348 description: 'The total number of idle processes.'
352 - '$.[''idle processes'']'
354 key: php-fpm.get_status
358 - uuid: e60f966ef0d3496188054307d963583e
359 name: 'PHP-FPM: Processes, max active'
361 key: php-fpm.processes_max_active
364 description: 'The highest value that ''active processes'' has reached since the php-fpm server started.'
368 - '$.[''max active processes'']'
370 key: php-fpm.get_status
374 - uuid: eca836fc846b4140bfb8a7dcd77f2a6b
375 name: 'PHP-FPM: Processes, total'
377 key: php-fpm.processes_total
380 description: 'The total number of server processes currently running.'
384 - '$.[''total processes'']'
386 key: php-fpm.get_status
390 - uuid: 8f0bc115b7a94021a56d82858cc020cd
391 name: 'PHP-FPM: Process manager'
393 key: php-fpm.process_manager
398 description: 'The method used by the process manager to control the number of child processes for this pool.'
402 - '$.[''process manager'']'
403 - type: DISCARD_UNCHANGED_HEARTBEAT
407 key: php-fpm.get_status
412 - uuid: 5303f276e90746dba1909c6a8d24455e
413 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.process_manager,#1)<>last(/Monitoring HTTP AWNET - PHP/php-fpm.process_manager,#2)'
414 name: 'PHP-FPM: Manager changed (new value received: {ITEM.VALUE})'
416 description: 'PHP-FPM manager changed. Ack to close.'
418 - uuid: d362245503f4424e8a794bc2374a6f93
419 name: 'PHP-FPM: Slow requests'
421 key: php-fpm.slow_requests
424 description: 'The number of requests that exceeded your request_slowlog_timeout value.'
428 - '$.[''slow requests'']'
429 - type: SIMPLE_CHANGE
433 key: php-fpm.get_status
438 - uuid: 97c7a387c57245a6a9a4a23f3fb3ef58
439 expression: 'min(/Monitoring HTTP AWNET - PHP/php-fpm.slow_requests,#3)>0'
440 name: 'PHP-FPM: Detected slow requests'
442 description: 'PHP-FPM detected slow request. A slow request means that it took more time to execute than expected (defined in the configuration of your pool).'
443 - uuid: bed55b93e18041c8ad623ee4c9895f1f
444 name: 'PHP-FPM: Start time'
446 key: php-fpm.start_time
450 description: 'The time when this pool was started.'
454 - '$.[''start time'']'
456 key: php-fpm.get_status
460 - uuid: e8fdb88860454b6cb9a0f78f57838cd3
461 name: 'PHP-FPM: Uptime'
467 description: 'How long has this pool been running.'
471 - '$.[''start since'']'
473 key: php-fpm.get_status
478 - uuid: cb7285bc9a4a473a909354c9b9dabce4
479 expression: 'nodata(/Monitoring HTTP AWNET - PHP/php-fpm.uptime,30m)=1'
480 name: 'PHP-FPM: Failed to fetch info data (or no data for 30m)'
482 description: 'Zabbix has not received data for items for the last 30 minutes'
485 - name: 'PHP-FPM: Service is down'
486 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.ping)=0 or nodata(/Monitoring HTTP AWNET - PHP/php-fpm.ping,3m)=1'
487 - uuid: 81a7e762da1e4c56841206a60940c123
488 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.uptime)<10m'
489 name: 'PHP-FPM: has been restarted (uptime < 10m)'
491 description: 'Uptime is less than 10 minutes'
493 - uuid: 7f6ef0a370074296972af02183ea9551
494 name: 'PHP-FPM: Version'
501 description: 'Current version PHP. Get from HTTP-Header "X-Powered-By" and may not work if you change default HTTP-headers.'
505 - '^[.\s\S]*X-Powered-By: PHP/([.\d]{1,})'
507 error_handler: DISCARD_VALUE
508 - type: DISCARD_UNCHANGED_HEARTBEAT
512 key: php-fpm.get_ping
517 - uuid: ce0882caba9b4b8a8ab5d8b119713757
518 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.version,#1)<>last(/Monitoring HTTP AWNET - PHP/php-fpm.version,#2) and length(last(/Monitoring HTTP AWNET - PHP/php-fpm.version))>0'
519 name: 'PHP-FPM: Version has changed (new version: {ITEM.VALUE})'
521 description: 'PHP-FPM version has changed. Ack to close.'
524 - macro: '{$PHP_FPM.PING.PAGE}'
526 - macro: '{$PHP_FPM.PING.REPLY}'
528 - macro: '{$PHP_FPM.QUEUE.WARN.MAX}'
530 - macro: '{$PHP_FPM.SCHEME}'
532 - macro: '{$PHP_FPM.STATUS.PAGE}'
535 - uuid: 963920735f48419eb8894454bf7f9806
536 expression: 'last(/Monitoring HTTP AWNET/web.test.fail[Основная проверка])<>0 and (length(last(/Monitoring HTTP AWNET/web.test.error[Основная проверка]))=0 or length(last(/Monitoring HTTP AWNET/web.test.error[Основная проверка]))<>0)'
537 name: 'Ошибка сервиса'
538 opdata: 'Ошибка: {ITEM.VALUE2}'
541 - name: 'Сервис не доступен'
542 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"])=0'
546 - uuid: 7902643a93f84303b7df08b3fd9634a3
547 expression: 'last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,max])=0 or last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,min])=0'
548 name: 'Потеря сетевой связности с сервисом'
554 - uuid: ee0d4a5ec50c4ce09275e9b214311338
555 name: 'PHP-FPM: Process'
559 host: 'Monitoring HTTP AWNET - PHP'
560 key: php-fpm.processes_max_active
564 host: 'Monitoring HTTP AWNET - PHP'
565 key: php-fpm.processes_idle
569 host: 'Monitoring HTTP AWNET - PHP'
570 key: php-fpm.processes_total
574 host: 'Monitoring HTTP AWNET - PHP'
575 key: php-fpm.processes_active
576 - uuid: 14dc2b1cb210498aa0f912d0316f4799
577 name: 'PHP-FPM: Queue'
581 host: 'Monitoring HTTP AWNET - PHP'
582 key: php-fpm.listen_queue_len
586 host: 'Monitoring HTTP AWNET - PHP'
587 key: php-fpm.listen_queue
591 host: 'Monitoring HTTP AWNET - PHP'
592 key: php-fpm.listen_queue_max
593 - uuid: 1e7b8c02fbf341379c938e24e3196574
594 name: 'Время доступа к сервису'
599 host: 'Monitoring HTTP AWNET'
600 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"]'
605 host: 'Monitoring HTTP AWNET'
606 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,max]'
611 host: 'Monitoring HTTP AWNET'
612 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,min]'
618 host: 'Monitoring HTTP AWNET'
619 key: 'web.test.time[Основная проверка,Запрос страницы проверки,resp]'