Skip to content

Instantly share code, notes, and snippets.

@pashalvov
Last active February 27, 2024 18:15
Show Gist options
  • Save pashalvov/89ab87526dc0489483f62592beb39e05 to your computer and use it in GitHub Desktop.
Save pashalvov/89ab87526dc0489483f62592beb39e05 to your computer and use it in GitHub Desktop.
На коленке собранный шаблон для мониторинга внешних ресурсов
zabbix_export:
version: '6.4'
template_groups:
- uuid: 7df96b18c230490a9a0a9e2307226338
name: Templates
- uuid: f0af770feeaf40b7b4dfed3ff73a2a4e
name: Templates/Internet
templates:
- uuid: a425971592944c76a7911d728a4db56d
template: 'Template Monitoring external resources Zabbix agent'
name: 'Шаблон для мониторинга внешних ресурсов Zabbix agent'
description: 'Шаблон для мониторинга внешних ресурсов (Пассивные проверки)'
groups:
- name: Templates
- name: Templates/Internet
items:
- uuid: 4931e34f1a7945b2991b90debdfbb217
name: 'Telegram API потери пакетов (ICMP)'
key: 'icmppingloss[api.telegram.org]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: '%'
tags:
- tag: Application
value: ICMP
- uuid: df62f50df294483e97b49ee229f2c889
name: 'Google DNS потери пакетов (ICMP)'
key: 'icmppingloss[dns.google]'
trends: '0'
status: DISABLED
units: '%'
tags:
- tag: Application
value: ICMP
- uuid: ebbff1a5b58049d3bb4a616352fac9c3
name: 'Яндекс DNS потери пакетов (ICMP)'
key: 'icmppingloss[dns.yandex.ru]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: '%'
tags:
- tag: Application
value: ICMP
- uuid: 9877546c8f6549a9a90932300b0e21ca
name: 'Telegram API время ответа (ICMP)'
key: 'icmppingsec[api.telegram.org]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: s
tags:
- tag: Application
value: ICMP
- uuid: 18411a589fd7484c951d98478d1590cd
name: 'Google DNS время ответа (ICMP)'
key: 'icmppingsec[dns.google]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: s
tags:
- tag: Application
value: ICMP
- uuid: 02e2cd1ace0c48a0a9ec8e970ef1a35c
name: 'Яндекс DNS время ответа (ICMP)'
key: 'icmppingsec[dns.yandex.ru]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: s
tags:
- tag: Application
value: ICMP
- uuid: 2b7ed10a38914481b7f7b4487304ce77
name: 'Telegram API пинг (ICMP)'
key: 'icmpping[api.telegram.org]'
trends: '0'
status: DISABLED
valuemap:
name: 'Zabbix agent ping status'
tags:
- tag: Application
value: ICMP
- uuid: e537657c9a1942a595734a72a1e69d50
name: 'Google DNS пинг (ICMP)'
key: 'icmpping[dns.google]'
trends: '0'
status: DISABLED
valuemap:
name: 'Zabbix agent ping status'
tags:
- tag: Application
value: ICMP
- uuid: dd8956703b0147e4b132e76d8173051f
name: 'Яндекс DNS пинг (ICMP)'
key: 'icmpping[dns.yandex.ru]'
trends: '0'
status: DISABLED
valuemap:
name: 'Zabbix agent ping status'
tags:
- tag: Application
value: ICMP
- uuid: f7d45fa0cb864f3e975b919b2ee1741e
name: 'Google DNS 8.8.4.4 (TCP)'
key: 'net.tcp.service.perf[tcp,"8.8.4.4",443]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: s
tags:
- tag: Application
value: TCP
- uuid: 6537f21c8c66498ba62f7ef1ed8992dd
name: 'Google DNS 8.8.8.8 (TCP)'
key: 'net.tcp.service.perf[tcp,"8.8.8.8",443]'
trends: '0'
status: DISABLED
value_type: FLOAT
units: s
tags:
- tag: Application
value: TCP
triggers:
- uuid: 7567dff0b99944ffa02b5be4e17e1d97
expression: 'max(/Template Monitoring external resources Zabbix agent/net.tcp.service.perf[tcp,"8.8.8.8",443],5m)=0.000000'
name: 'Сервис Cloudflare DNS 8.8.8.8 недоступен'
priority: WARNING
manual_close: 'YES'
- uuid: 77b2e7325cf44c83a059860a0a8bfde7
expression: 'max(/Template Monitoring external resources Zabbix agent/net.tcp.service.perf[tcp,"8.8.8.8",443],5m)=0.000000'
name: 'Сервис Google DNS 8.8.4.4 недоступен'
priority: WARNING
manual_close: 'YES'
- uuid: 94971fb0925046c88a0fa2b884e6f129
name: 'Cloudflare DNS (TCP)'
key: 'net.tcp.service.perf[tcp,"one.one.one.one",443]'
trends: '0'
value_type: FLOAT
units: s
tags:
- tag: Application
value: TCP
triggers:
- uuid: 62c0e1fca22043428542c4f62cc71eef
expression: 'avg(/Template Monitoring external resources Zabbix agent/net.tcp.service.perf[tcp,"one.one.one.one",443],5m)>1'
name: 'Сервис Cloudflare DNS доступен с задержками'
opdata: 'Текущие задержки: {ITEM.LASTVALUE1}'
priority: WARNING
manual_close: 'YES'
dependencies:
- name: 'Сервис Cloudflare DNS недоступен'
expression: 'max(/Template Monitoring external resources Zabbix agent/net.tcp.service.perf[tcp,"one.one.one.one",443],5m)=0.000000'
- uuid: 581c05b9a91b49eb90fd8d42145dbba2
expression: 'max(/Template Monitoring external resources Zabbix agent/net.tcp.service.perf[tcp,"one.one.one.one",443],5m)=0.000000'
name: 'Сервис Cloudflare DNS недоступен'
priority: WARNING
manual_close: 'YES'
- uuid: a80e471db71a4ef58de348de54ea3bf9
name: 'Telegram API (TCP)'
key: 'net.tcp.service.perf[tcp,api.telegram.org,443]'
trends: '0'
value_type: FLOAT
units: s
tags:
- tag: Application
value: TCP
- uuid: 01b9888d3cd3494cb90039e6ed57e1c6
name: 'Яндекс DNS (TCP)'
key: 'net.tcp.service.perf[tcp,dns.yandex,53]'
trends: '0'
value_type: FLOAT
units: s
tags:
- tag: Application
value: TCP
- uuid: 8565b291b3014b7689ed83a596404176
name: 'Google Time (UDP)'
key: 'net.udp.service.perf[ntp,time.google.com,]'
trends: '0'
value_type: FLOAT
units: s
tags:
- tag: Application
value: UDP
valuemaps:
- uuid: b04258757850444cac7b6a88a467106b
name: 'Zabbix agent ping status'
mappings:
- value: '1'
newvalue: Up
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment