forked from infra/ansible
Zabbix: make ping threshold trigger configurable
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
9421accd88
commit
0655279df0
5 changed files with 9 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue