1
0
Fork 0
forked from infra/ansible

Zabbix: make ping threshold trigger configurable

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-06-17 10:26:33 +01:00
commit 0655279df0
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0
5 changed files with 9 additions and 1 deletions

View file

@ -11,3 +11,5 @@ postfix_group: vpn
public_ip: 13.125.120.8
sponsor: amazon
vpn: true
zabbix_macros:
ICMP_RESPONSE_TIME_WARN: 0.3 # threshold in seconds, default 0.15 (150ms)

View file

@ -11,3 +11,5 @@ postfix_group: vpn
public_ip: 13.246.137.48
sponsor: amazon
vpn: true
zabbix_macros:
ICMP_RESPONSE_TIME_WARN: 0.3 # threshold in seconds, default 0.15 (150ms)

View file

@ -11,3 +11,5 @@ postfix_group: vpn
public_ip: 13.233.183.170
sponsor: amazon
vpn: true
zabbix_macros:
ICMP_RESPONSE_TIME_WARN: 0.3 # threshold in seconds, default 0.15 (150ms)

View file

@ -11,3 +11,5 @@ postfix_group: vpn
public_ip: 13.245.77.95
sponsor: amazon
vpn: true
zabbix_macros:
ICMP_RESPONSE_TIME_WARN: 0.3 # threshold in seconds, default 0.15 (150ms)

View file

@ -66,7 +66,7 @@ zabbix_export:
value: icmp
triggers:
- uuid: ad2fe11df6c8431c96cafb98f9bdc1a9
expression: 'avg(/Ping and BMC checks/icmppingsec[{HOST.DNS}],15m)>0.15'
expression: 'avg(/Ping and BMC checks/icmppingsec[{HOST.DNS}],15m)>{$ICMP_RESPONSE_TIME_WARN}'
name: 'Host DNS: High ICMP ping response time'
priority: WARNING
description: 'Average ICMP response time is too high.'