Загрузить файлы в «/»
This commit is contained in:
1 parent
cc72cd16d1
commit
031307fb6e
1 file changed
+80
@@ -0,0 +1,80 @@
|
|||||||
|
{
|
||||||
|
"zabbix_export": {
|
||||||
|
"version": "7.4",
|
||||||
|
"template_groups": [
|
||||||
|
{
|
||||||
|
"uuid": "7df96b18c230490a9a0a9e2307226338",
|
||||||
|
"name": "Templates"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"templates": [
|
||||||
|
{
|
||||||
|
"uuid": "3d9b1bbc54214dc0b1a86dc144481069",
|
||||||
|
"template": "Amnezia WG",
|
||||||
|
"name": "Amnezia WG",
|
||||||
|
"groups": [
|
||||||
|
{
|
||||||
|
"name": "Templates"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"discovery_rules": [
|
||||||
|
{
|
||||||
|
"uuid": "20b0b70d714045c4a37bdbb61cab1da9",
|
||||||
|
"name": "AmneziaWG Peers Discovery",
|
||||||
|
"type": "ZABBIX_ACTIVE",
|
||||||
|
"key": "amnezia.discovery",
|
||||||
|
"item_prototypes": [
|
||||||
|
{
|
||||||
|
"uuid": "a12755ab918f41f4bfd44244b89eff2d",
|
||||||
|
"name": "Peer {#PEER_IP} ({#PEER_KEY}) - Last Handshake Time",
|
||||||
|
"key": "amnezia.handshake[{#PEER_IP}]",
|
||||||
|
"units": "unixtime",
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"tag": "AmneziaWG"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"trigger_prototypes": [
|
||||||
|
{
|
||||||
|
"uuid": "9640b3b27c8240579e2161c26e64e2e6",
|
||||||
|
"expression": "(now() - last(/Amnezia WG/amnezia.handshake[{#PEER_IP}])) > 600 and last(/Amnezia WG/amnezia.handshake[{#PEER_IP}]) > 0",
|
||||||
|
"name": "Client IS Online"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "1faeea3cbfad46f39163e4cb4a63a612",
|
||||||
|
"name": "Peer {#PEER_IP} ({#PEER_KEY}) - Traffic Received",
|
||||||
|
"type": "ZABBIX_ACTIVE",
|
||||||
|
"key": "amnezia.rx[{#PEER_IP}]",
|
||||||
|
"units": "B",
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"tag": "AmneziaWG"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"uuid": "91985553e12b44a09ed63eaaaa21759d",
|
||||||
|
"name": "Peer {#PEER_IP} ({#PEER_KEY}) - Traffic Sent",
|
||||||
|
"type": "ZABBIX_ACTIVE",
|
||||||
|
"key": "amnezia.tx[{#PEER_IP}]",
|
||||||
|
"units": "B",
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"tag": "AmneziaWG"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"tags": [
|
||||||
|
{
|
||||||
|
"tag": "AmneziaWG"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in new issue
Block a user