forked from infra/ansible
Add OpenVPN connectivity check & triggers to Zabbix
Signed-off-by: Greg Sutcliffe <fedora@emeraldreverie.org>
This commit is contained in:
parent
eef6c7bc89
commit
769ffc446f
1 changed files with 38 additions and 0 deletions
|
|
@ -11,6 +11,40 @@ zabbix_export:
|
|||
groups:
|
||||
- name: Fedora
|
||||
items:
|
||||
- uuid: eb73132afa214eb483990804bd4cb4bf
|
||||
name: 'OpenVPN Client connectivity performance'
|
||||
type: ZABBIX_ACTIVE
|
||||
key: 'net.tcp.service.perf[http,192.168.1.41,80]'
|
||||
value_type: FLOAT
|
||||
units: ms
|
||||
preprocessing:
|
||||
- type: MULTIPLIER
|
||||
parameters:
|
||||
- '1000'
|
||||
tags:
|
||||
- tag: application
|
||||
value: openvpn
|
||||
- tag: component
|
||||
value: network
|
||||
triggers:
|
||||
- uuid: d81b2b0d733f4cb09cb83d8fbf627b4f
|
||||
expression: 'min(/OpenVPN Client/net.tcp.service.perf[http,192.168.1.41,80],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]'
|
||||
tags:
|
||||
- tag: application
|
||||
value: openvpn
|
||||
- tag: component
|
||||
value: network
|
||||
triggers:
|
||||
- uuid: d82801a9fe9b405890b0a46705fe6599
|
||||
expression: 'max(/OpenVPN Client/net.tcp.service[http,192.168.1.41,80],#3)<1'
|
||||
name: 'OpenVPN: Client cannot ping batcave01'
|
||||
priority: AVERAGE
|
||||
- uuid: 93da423abd37459e9d5478e183048bd9
|
||||
name: 'Time left on OpenVPN Cert'
|
||||
type: TRAP
|
||||
|
|
@ -45,3 +79,7 @@ zabbix_export:
|
|||
tags:
|
||||
- tag: service
|
||||
value: openvpn
|
||||
macros:
|
||||
- macro: '{$OPENVPN.PING_TIME.MAX}'
|
||||
value: '400'
|
||||
description: 'ms warning time for openvpn performance'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue