Files

121 lines
4.2 KiB
YAML

zabbix_export:
version: '7.0'
template_groups:
- uuid: 36bff6c29af64692839d077febfc7079
name: 'Templates/Network devices'
templates:
- uuid: 37e5eb5606bc4abba66c8b20381a1e8a
template: 'ICMP Ping'
name: 'ICMP Ping'
description: |
Template Net ICMP Ping
Generated by official Zabbix template tool "Templator"
vendor:
name: Zabbix
version: 7.0-2
groups:
- name: 'Templates/Network devices'
items:
- uuid: db5a94f6cea14deba957202b2f014469
name: 'ICMP ping'
type: SIMPLE
key: icmpping
description: |
The host accessibility by ICMP ping.
0 - ICMP ping fails;
1 - ICMP ping successful.
valuemap:
name: 'Service state'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: b030876299434f3ba43e11c584104a81
expression: 'max(/ICMP Ping/icmpping,#3)=0'
name: 'ICMP Ping: Unavailable by ICMP ping'
priority: HIGH
description: 'Last three attempts returned timeout. Please check device connectivity.'
tags:
- tag: scope
value: availability
- uuid: 04b21adaf422473a88df2c52786474ed
name: 'ICMP loss'
type: SIMPLE
key: icmppingloss
value_type: FLOAT
units: '%'
description: 'The percentage of lost packets.'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 42c4b0310aaf4b9c8cb502542b7dea90
expression: 'min(/ICMP Ping/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/ICMP Ping/icmppingloss,5m)<100'
name: 'ICMP Ping: High ICMP ping loss'
opdata: 'Loss: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'ICMP packets loss detected.'
dependencies:
- name: 'ICMP Ping: Unavailable by ICMP ping'
expression: 'max(/ICMP Ping/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
- uuid: a79e33e5fd264725b934f603fa071555
name: 'ICMP response time'
type: SIMPLE
key: icmppingsec
value_type: FLOAT
units: s
description: 'The ICMP ping response time (in seconds).'
tags:
- tag: component
value: health
- tag: component
value: network
triggers:
- uuid: 32b4d8f3eba34bd380803410111d4b7f
expression: 'avg(/ICMP Ping/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'ICMP Ping: High ICMP ping response time'
opdata: 'Value: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'Average ICMP response time is too high.'
dependencies:
- name: 'ICMP Ping: High ICMP ping loss'
expression: 'min(/ICMP Ping/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/ICMP Ping/icmppingloss,5m)<100'
- name: 'ICMP Ping: Unavailable by ICMP ping'
expression: 'max(/ICMP Ping/icmpping,#3)=0'
tags:
- tag: scope
value: availability
- tag: scope
value: performance
tags:
- tag: class
value: network
- tag: target
value: icmp
macros:
- macro: '{$ICMP_LOSS_WARN}'
value: '20'
description: 'Warning threshold of ICMP packet loss in %.'
- macro: '{$ICMP_RESPONSE_TIME_WARN}'
value: '0.15'
description: 'Warning threshold of the average ICMP response time in seconds.'
valuemaps:
- uuid: bdb5d65d925542eaa61c302dc40fbfe8
name: 'Service state'
mappings:
- value: '0'
newvalue: Down
- value: '1'
newvalue: Up