1
0
Fork 0
forked from infra/ansible

Zabbix: Improve vpnclients connectivity check

Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
Greg Sutcliffe 2026-05-12 11:11:46 +01:00
commit dfa0766cff
Signed by: gwmngilfen
SSH key fingerprint: SHA256:dNHcz65ApR68w2TkCIAXDBdt4oNL62Fyx48U7dXWuk0

View file

@ -14,7 +14,7 @@ zabbix_export:
- uuid: eb73132afa214eb483990804bd4cb4bf
name: 'OpenVPN Client connectivity performance'
type: ZABBIX_ACTIVE
key: 'net.tcp.service.perf[http,192.168.1.41,80]'
key: 'net.tcp.service.perf[http,bastion.vpn.fedoraproject.org,25]'
value_type: FLOAT
units: ms
preprocessing:
@ -26,23 +26,27 @@ zabbix_export:
value: openvpn
- tag: component
value: network
- tag: scope
value: performance
triggers:
- uuid: d81b2b0d733f4cb09cb83d8fbf627b4f
expression: 'min(/OpenVPN Client/net.tcp.service.perf[http,192.168.1.41,80],5m)>{$OPENVPN.PING_TIME.MAX}'
expression: 'min(/OpenVPN Client/net.tcp.service.perf[http,bastion.vpn.fedoraproject.org,25],5m)>{$OPENVPN.PING_TIME.MAX}'
name: 'OpenVPN: Ping time is too high (over {$OPENVPN.PING_TIME.MAX}ms for 5m)'
priority: WARNING
- uuid: cd9f75e2ee7540d3a5d00a48c5aa00f1
name: 'OpenVPN Client connectivity'
type: ZABBIX_ACTIVE
key: 'net.tcp.service[http,192.168.1.41,80]'
key: 'net.tcp.service[http,bastion.vpn.fedoraproject.org,25]'
tags:
- tag: application
value: openvpn
- tag: component
value: network
- tag: scope
value: connectivity
triggers:
- uuid: d82801a9fe9b405890b0a46705fe6599
expression: 'max(/OpenVPN Client/net.tcp.service[http,192.168.1.41,80],#3)<1'
expression: 'max(/OpenVPN Client/net.tcp.service[http,bastion.vpn.fedoraproject.org,25],#3)=0'
name: 'OpenVPN: Client cannot ping batcave01'
priority: AVERAGE
- uuid: 93da423abd37459e9d5478e183048bd9
@ -81,5 +85,5 @@ zabbix_export:
value: openvpn
macros:
- macro: '{$OPENVPN.PING_TIME.MAX}'
value: '400'
value: '1000'
description: 'ms warning time for openvpn performance'