ncc.zabbix_templates
14:56cc91e6e5b1
Go to Latest
ncc.zabbix_templates/HTTP/zbx_export_templates.yaml
. Наблюдаем за версией ОС для FreeBSD
3 date: '2023-09-30T19:28:07Z'
5 - uuid: 22941f4e01294888a9bed3aae15f6ef9
8 - uuid: c40bb45aea654661ad8d08af056cc7fd
9 template: 'Monitoring HTTP AWNET'
10 name: 'Мониторинг HTTP AWNET'
12 - name: Templates/AWNET
14 - uuid: 0c18593e50564c28b81f1670e1b926ca
15 name: 'Потеря пакетов'
17 key: 'icmppingloss["{HOST.CONN}",100,700,1000,5000]'
25 - uuid: e4a815685f5a4d2386d81cc3d9080d15
26 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
27 name: 'Большой уровень потерь пакетов'
30 - name: 'Потеря сетевой связности с сервисом'
31 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'
32 - uuid: 74f3b5e5a64d44a793ca7274c05f657a
33 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>30'
34 name: 'Плохая связность с сервисом'
37 - name: 'Большой уровень потерь пакетов'
38 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
42 - uuid: b29a8e52cc3444d28c53a53f12970d15
43 name: 'Максимальная сетевая задержка сервиса'
45 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,max]'
52 - uuid: 98f8f82c16a04dd49e3b9edacfb484a4
53 expression: 'last(/Monitoring HTTP AWNET/icmppingsec["{HOST.CONN}",10,700,1000,5000,max])>"200ms"'
54 name: 'Больная сетевая задержка при доступе к сервису'
57 - name: 'Большой уровень потерь пакетов'
58 expression: 'last(/Monitoring HTTP AWNET/icmppingloss["{HOST.CONN}",100,700,1000,5000])>50'
62 - uuid: dd7ae5e67efe43f2a47b437d232079cb
63 name: 'Минимальная сетевая задержка сервиса'
65 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,min]'
71 - uuid: 8a682b9de14249d196886de1f6c4aace
72 name: 'Время доступа к сервису - вторичный порт'
74 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT_EX}"]'
83 - uuid: 169c70370d5a41e18827d52de8706d36
84 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT_EX}"])=0'
85 name: 'Сервис не доступен - вторичный порт'
90 - uuid: d276f7bdf45b45c18fd5e6dcd2d72b26
91 name: 'Время доступа к сервису'
93 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"]'
102 - uuid: 3f26d6ca37c6486a8967901bc466e5b2
103 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"])=0'
104 name: 'Сервис не доступен'
110 - uuid: da4b90b9053a43f195553c0a6634409b
111 name: 'Основная проверка'
112 agent: '{$AW.HTTP.AGENT_NAME}'
114 - name: 'Запрос страницы проверки'
115 url: '{$AW.HTTP.SCHEMA}://{HOST.CONN}:{$AW.HTTP.PORT}{$AW.HTTP.TEST_URL}'
116 follow_redirects: 'NO'
117 status_codes: '{$AW.HTTP.HTTP_CHECK_RESPONSE_CODE}'
124 - macro: '{$AW.HTTP.AGENT_NAME}'
126 description: 'Имя клиента для проверки'
127 - macro: '{$AW.HTTP.HTTP_CHECK_RESPONSE_CODE}'
129 description: 'Статус код проверочного ссайта'
130 - macro: '{$AW.HTTP.PORT}'
132 description: 'Основной порт сайта'
133 - macro: '{$AW.HTTP.PORT_EX}'
135 description: 'Дополнительный порт, с него например могут идти перенаправления или там развёрнута система мониторинга сайта'
136 - macro: '{$AW.HTTP.SCHEMA}'
138 description: 'Основная адресная схема сайта'
139 - macro: '{$AW.HTTP.TEST_URL}'
141 description: 'URL для тестирования'
142 - uuid: 0f6efdd37f094f65bf3c53fd6f1f551c
143 template: 'Monitoring HTTP AWNET - PHP'
144 name: 'Мониторинг HTTP AWNET - PHP'
146 - name: 'Monitoring HTTP AWNET'
148 - name: Templates/AWNET
150 - uuid: 1c50367c783a44ae928e584aedc02b33
151 name: 'PHP-FPM: Accepted connections per second'
153 key: php-fpm.conn_accepted.rate
157 description: 'The number of accepted requests per second.'
161 - '$.[''accepted conn'']'
162 - type: CHANGE_PER_SECOND
166 key: php-fpm.get_status
170 - uuid: 9cc132b46638463da970001ae4c85159
171 name: 'PHP-FPM: Get ping page'
173 key: php-fpm.get_ping
177 url: '{$PHP_FPM.SCHEME}://{HOST.CONN}:{$AW.HTTP.PORT_EX}{$PHP_FPM.PING.PAGE}'
181 value: 'Zabbix raw items'
182 - uuid: 95f0f1fda78c49038802375a232fe539
183 name: 'PHP-FPM: Get status page'
185 key: php-fpm.get_status
189 url: '{$PHP_FPM.SCHEME}://{HOST.CONN}:{$AW.HTTP.PORT_EX}{$PHP_FPM.STATUS.PAGE}?json'
192 value: 'Zabbix raw items'
193 - uuid: 71b9110791e34264bb707e1aeb0032f9
194 name: 'PHP-FPM: Listen queue'
196 key: php-fpm.listen_queue
199 description: 'The current number of connections that have been initiated, but not yet accepted.'
203 - '$.[''listen queue'']'
205 key: php-fpm.get_status
209 - uuid: 95bba027ff08422ebfeef4b664e7d9ba
210 name: 'PHP-FPM: Listen queue, len'
212 key: php-fpm.listen_queue_len
215 description: 'Size of the socket queue of pending connections.'
219 - '$.[''listen queue len'']'
221 key: php-fpm.get_status
225 - uuid: 3abbb29d356c4191b84dec5cc227cc5e
226 name: 'PHP-FPM: Listen queue, max'
228 key: php-fpm.listen_queue_max
231 description: 'The maximum number of requests in the queue of pending connections since this FPM pool has started.'
235 - '$.[''max listen queue'']'
237 key: php-fpm.get_status
241 - uuid: 9c0a29e0da454a0bb43ca71dd33ba668
242 name: 'PHP-FPM: Queue usage'
244 key: php-fpm.listen_queue_usage
248 params: 'last(//php-fpm.listen_queue)/(last(//php-fpm.listen_queue_len)+(last(//php-fpm.listen_queue_len)=0))*100'
249 description: 'Queue utilization'
254 - uuid: b4dbc689bd8f499b8f1dc5e94ddf0b04
255 expression: 'min(/Monitoring HTTP AWNET - PHP/php-fpm.listen_queue_usage,15m) > {$PHP_FPM.QUEUE.WARN.MAX}'
256 name: 'PHP-FPM: Queue utilization is high (over {$PHP_FPM.QUEUE.WARN.MAX}% for 15m)'
258 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.'
259 - uuid: 047799c9fe31465ba3e450ae81cbb755
260 name: 'PHP-FPM: Max children reached'
262 key: php-fpm.max_children
265 description: 'The number of times that pm.max_children has been reached since the php-fpm pool started'
269 - '$.[''max children reached'']'
270 - type: SIMPLE_CHANGE
274 key: php-fpm.get_status
278 - uuid: 6c65341ed101462d89f6ef4eaf3fac6e
279 name: 'PHP-FPM: Pool name'
286 description: 'The name of current pool.'
291 - type: DISCARD_UNCHANGED_HEARTBEAT
295 key: php-fpm.get_status
299 - uuid: d55bd360ac85416aa4a2c9fd233c7076
300 name: 'PHP-FPM: Ping'
308 - '{$PHP_FPM.PING.REPLY}($|\n)'
310 error_handler: CUSTOM_VALUE
311 error_handler_params: '0'
313 key: php-fpm.get_ping
318 - uuid: a2cbca03ee18478cba2771ceed2eb3cc
319 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.ping)=0 or nodata(/Monitoring HTTP AWNET - PHP/php-fpm.ping,3m)=1'
320 name: 'PHP-FPM: Service is down'
323 - uuid: 3f4b713fd09c40fabd843f19ce78dac4
324 name: 'PHP-FPM: Processes, active'
326 key: php-fpm.processes_active
329 description: 'The total number of active processes.'
333 - '$.[''active processes'']'
335 key: php-fpm.get_status
339 - uuid: 48f6cbea84a849f498d6e834960da817
340 name: 'PHP-FPM: Processes, idle'
342 key: php-fpm.processes_idle
345 description: 'The total number of idle processes.'
349 - '$.[''idle processes'']'
351 key: php-fpm.get_status
355 - uuid: e60f966ef0d3496188054307d963583e
356 name: 'PHP-FPM: Processes, max active'
358 key: php-fpm.processes_max_active
361 description: 'The highest value that ''active processes'' has reached since the php-fpm server started.'
365 - '$.[''max active processes'']'
367 key: php-fpm.get_status
371 - uuid: eca836fc846b4140bfb8a7dcd77f2a6b
372 name: 'PHP-FPM: Processes, total'
374 key: php-fpm.processes_total
377 description: 'The total number of server processes currently running.'
381 - '$.[''total processes'']'
383 key: php-fpm.get_status
387 - uuid: 8f0bc115b7a94021a56d82858cc020cd
388 name: 'PHP-FPM: Process manager'
390 key: php-fpm.process_manager
395 description: 'The method used by the process manager to control the number of child processes for this pool.'
399 - '$.[''process manager'']'
400 - type: DISCARD_UNCHANGED_HEARTBEAT
404 key: php-fpm.get_status
409 - uuid: 5303f276e90746dba1909c6a8d24455e
410 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.process_manager,#1)<>last(/Monitoring HTTP AWNET - PHP/php-fpm.process_manager,#2)'
411 name: 'PHP-FPM: Manager changed (new value received: {ITEM.VALUE})'
413 description: 'PHP-FPM manager changed. Ack to close.'
415 - uuid: d362245503f4424e8a794bc2374a6f93
416 name: 'PHP-FPM: Slow requests'
418 key: php-fpm.slow_requests
421 description: 'The number of requests that exceeded your request_slowlog_timeout value.'
425 - '$.[''slow requests'']'
426 - type: SIMPLE_CHANGE
430 key: php-fpm.get_status
435 - uuid: 97c7a387c57245a6a9a4a23f3fb3ef58
436 expression: 'min(/Monitoring HTTP AWNET - PHP/php-fpm.slow_requests,#3)>0'
437 name: 'PHP-FPM: Detected slow requests'
439 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).'
440 - uuid: bed55b93e18041c8ad623ee4c9895f1f
441 name: 'PHP-FPM: Start time'
443 key: php-fpm.start_time
447 description: 'The time when this pool was started.'
451 - '$.[''start time'']'
453 key: php-fpm.get_status
457 - uuid: e8fdb88860454b6cb9a0f78f57838cd3
458 name: 'PHP-FPM: Uptime'
464 description: 'How long has this pool been running.'
468 - '$.[''start since'']'
470 key: php-fpm.get_status
475 - uuid: cb7285bc9a4a473a909354c9b9dabce4
476 expression: 'nodata(/Monitoring HTTP AWNET - PHP/php-fpm.uptime,30m)=1'
477 name: 'PHP-FPM: Failed to fetch info data (or no data for 30m)'
479 description: 'Zabbix has not received data for items for the last 30 minutes'
482 - name: 'PHP-FPM: Service is down'
483 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.ping)=0 or nodata(/Monitoring HTTP AWNET - PHP/php-fpm.ping,3m)=1'
484 - uuid: 81a7e762da1e4c56841206a60940c123
485 expression: 'last(/Monitoring HTTP AWNET - PHP/php-fpm.uptime)<10m'
486 name: 'PHP-FPM: has been restarted (uptime < 10m)'
488 description: 'Uptime is less than 10 minutes'
490 - uuid: 7f6ef0a370074296972af02183ea9551
491 name: 'PHP-FPM: Version'
498 description: 'Current version PHP. Get from HTTP-Header "X-Powered-By" and may not work if you change default HTTP-headers.'
502 - '^[.\s\S]*X-Powered-By: PHP/([.\d]{1,})'
504 error_handler: DISCARD_VALUE
505 - type: DISCARD_UNCHANGED_HEARTBEAT
509 key: php-fpm.get_ping
514 - uuid: ce0882caba9b4b8a8ab5d8b119713757
515 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'
516 name: 'PHP-FPM: Version has changed (new version: {ITEM.VALUE})'
518 description: 'PHP-FPM version has changed. Ack to close.'
521 - macro: '{$PHP_FPM.PING.PAGE}'
523 - macro: '{$PHP_FPM.PING.REPLY}'
525 - macro: '{$PHP_FPM.QUEUE.WARN.MAX}'
527 - macro: '{$PHP_FPM.SCHEME}'
529 - macro: '{$PHP_FPM.STATUS.PAGE}'
532 - uuid: 963920735f48419eb8894454bf7f9806
533 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)'
534 name: 'Ошибка сервиса'
535 opdata: 'Ошибка: {ITEM.VALUE2}'
538 - name: 'Сервис не доступен'
539 expression: 'last(/Monitoring HTTP AWNET/net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"])=0'
543 - uuid: 7902643a93f84303b7df08b3fd9634a3
544 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'
545 name: 'Потеря сетевой связности с сервисом'
551 - uuid: ee0d4a5ec50c4ce09275e9b214311338
552 name: 'PHP-FPM: Process'
556 host: 'Monitoring HTTP AWNET - PHP'
557 key: php-fpm.processes_max_active
561 host: 'Monitoring HTTP AWNET - PHP'
562 key: php-fpm.processes_idle
566 host: 'Monitoring HTTP AWNET - PHP'
567 key: php-fpm.processes_total
571 host: 'Monitoring HTTP AWNET - PHP'
572 key: php-fpm.processes_active
573 - uuid: 14dc2b1cb210498aa0f912d0316f4799
574 name: 'PHP-FPM: Queue'
578 host: 'Monitoring HTTP AWNET - PHP'
579 key: php-fpm.listen_queue_len
583 host: 'Monitoring HTTP AWNET - PHP'
584 key: php-fpm.listen_queue
588 host: 'Monitoring HTTP AWNET - PHP'
589 key: php-fpm.listen_queue_max
590 - uuid: 1e7b8c02fbf341379c938e24e3196574
591 name: 'Время доступа к сервису'
596 host: 'Monitoring HTTP AWNET'
597 key: 'net.tcp.service.perf[tcp,"{HOST.CONN}","{$AW.HTTP.PORT}"]'
602 host: 'Monitoring HTTP AWNET'
603 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,max]'
608 host: 'Monitoring HTTP AWNET'
609 key: 'icmppingsec["{HOST.CONN}",10,700,1000,5000,min]'
615 host: 'Monitoring HTTP AWNET'
616 key: 'web.test.time[Основная проверка,Запрос страницы проверки,resp]'