diff --git a/zbx_export_templates.json b/zbx_export_templates.json index fa446aa..4d59bff 100644 --- a/zbx_export_templates.json +++ b/zbx_export_templates.json @@ -1,7 +1,7 @@ { "zabbix_export": { "version": "5.4", - "date": "2021-09-26T21:39:09Z", + "date": "2021-10-01T20:15:14Z", "groups": [ { "uuid": "15155c95a3d048f4856272ae12fd42c5", @@ -5118,7 +5118,7 @@ "delay": "0", "item_prototypes": [ { - "uuid": "cad8d443b86d43ebb33c90541668565d", + "uuid": "c797de40215b4b99a2e6fec77cbf6d6e", "name": "Remote Site Rx Bandwidth - {#REMOTE_SITE_IP}", "type": "DEPENDENT", "key": "remote_site_rx_bandwitdh[{#REMOTE_SITE_IP}]", @@ -5128,19 +5128,7 @@ { "type": "JSONPATH", "parameters": [ - "$.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].rxBytes.first()" - ] - }, - { - "type": "CHANGE_PER_SECOND", - "parameters": [ - "" - ] - }, - { - "type": "MULTIPLIER", - "parameters": [ - "8" + "$.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].rxRate.first()" ] } ], @@ -5155,7 +5143,7 @@ ] }, { - "uuid": "f1d38f4931a640e49b8c68d027d5f968", + "uuid": "699f174819c64cf79820addab60c3a67", "name": "Remote Site Tx Bandwidth - {#REMOTE_SITE_IP}", "type": "DEPENDENT", "key": "remote_site_tx_bandwitdh[{#REMOTE_SITE_IP}]", @@ -5165,19 +5153,7 @@ { "type": "JSONPATH", "parameters": [ - "$.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].txBytes.first()" - ] - }, - { - "type": "CHANGE_PER_SECOND", - "parameters": [ - "" - ] - }, - { - "type": "MULTIPLIER", - "parameters": [ - "8" + "$.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].txRate.first()" ] } ], @@ -5194,8 +5170,8 @@ ], "graph_prototypes": [ { - "uuid": "3195d5951a92422bb2a2c992ab0cb348", - "name": "Remote Site Bandwidth {#REMOTE_SITE_IP}", + "uuid": "25bf1af2bd6b4629bd724b6251d197c1", + "name": "Remote Site Bandwidth - {#REMOTE_SITE_IP}", "graph_items": [ { "sortorder": "1", diff --git a/zbx_export_templates.xml b/zbx_export_templates.xml index 21d79e2..1e2a929 100644 --- a/zbx_export_templates.xml +++ b/zbx_export_templates.xml @@ -1,7 +1,7 @@ 5.4 - 2021-09-26T21:39:07Z + 2021-10-01T20:15:12Z 15155c95a3d048f4856272ae12fd42c5 @@ -5149,7 +5149,7 @@ Additionally,. this will fill the OS version and the MAC address in the inventor 0 - cad8d443b86d43ebb33c90541668565d + c797de40215b4b99a2e6fec77cbf6d6e Remote Site Rx Bandwidth - {#REMOTE_SITE_IP} DEPENDENT remote_site_rx_bandwitdh[{#REMOTE_SITE_IP}] @@ -5159,19 +5159,7 @@ Additionally,. this will fill the OS version and the MAC address in the inventor JSONPATH - $.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].rxBytes.first() - - - - CHANGE_PER_SECOND - - - - - - MULTIPLIER - - 8 + $.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].rxRate.first() @@ -5186,7 +5174,7 @@ Additionally,. this will fill the OS version and the MAC address in the inventor - f1d38f4931a640e49b8c68d027d5f968 + 699f174819c64cf79820addab60c3a67 Remote Site Tx Bandwidth - {#REMOTE_SITE_IP} DEPENDENT remote_site_tx_bandwitdh[{#REMOTE_SITE_IP}] @@ -5196,19 +5184,7 @@ Additionally,. this will fill the OS version and the MAC address in the inventor JSONPATH - $.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].txBytes.first() - - - - CHANGE_PER_SECOND - - - - - - MULTIPLIER - - 8 + $.vpn[*].remotes[?(@.ip == '{#REMOTE_SITE_IP}')].txRate.first() @@ -5225,8 +5201,8 @@ Additionally,. this will fill the OS version and the MAC address in the inventor - 3195d5951a92422bb2a2c992ab0cb348 - Remote Site Bandwidth {#REMOTE_SITE_IP} + 25bf1af2bd6b4629bd724b6251d197c1 + Remote Site Bandwidth - {#REMOTE_SITE_IP} 1 diff --git a/zbx_export_templates.yaml b/zbx_export_templates.yaml index d5e504c..8993e2e 100644 --- a/zbx_export_templates.yaml +++ b/zbx_export_templates.yaml @@ -1,6 +1,6 @@ zabbix_export: version: '5.4' - date: '2021-09-26T21:39:05Z' + date: '2021-10-01T20:15:09Z' groups: - uuid: 15155c95a3d048f4856272ae12fd42c5 @@ -3831,7 +3831,7 @@ zabbix_export: delay: '0' item_prototypes: - - uuid: cad8d443b86d43ebb33c90541668565d + uuid: c797de40215b4b99a2e6fec77cbf6d6e name: 'Remote Site Rx Bandwidth - {#REMOTE_SITE_IP}' type: DEPENDENT key: 'remote_site_rx_bandwitdh[{#REMOTE_SITE_IP}]' @@ -3841,15 +3841,7 @@ zabbix_export: - type: JSONPATH parameters: - - '$.vpn[*].remotes[?(@.ip == ''{#REMOTE_SITE_IP}'')].rxBytes.first()' - - - type: CHANGE_PER_SECOND - parameters: - - '' - - - type: MULTIPLIER - parameters: - - '8' + - '$.vpn[*].remotes[?(@.ip == ''{#REMOTE_SITE_IP}'')].rxRate.first()' master_item: key: 'mca-dump-short.sh["-d","{HOST.CONN}", "-u", "root", "-i", "{$UNIFI_SSH_PRIV_KEY_PATH}", "-t", "UDMP", "-p", "{$UNIFI_SSHPASS_PASSWORD_PATH}"]' tags: @@ -3857,7 +3849,7 @@ zabbix_export: tag: Application value: Traffic - - uuid: f1d38f4931a640e49b8c68d027d5f968 + uuid: 699f174819c64cf79820addab60c3a67 name: 'Remote Site Tx Bandwidth - {#REMOTE_SITE_IP}' type: DEPENDENT key: 'remote_site_tx_bandwitdh[{#REMOTE_SITE_IP}]' @@ -3867,15 +3859,7 @@ zabbix_export: - type: JSONPATH parameters: - - '$.vpn[*].remotes[?(@.ip == ''{#REMOTE_SITE_IP}'')].txBytes.first()' - - - type: CHANGE_PER_SECOND - parameters: - - '' - - - type: MULTIPLIER - parameters: - - '8' + - '$.vpn[*].remotes[?(@.ip == ''{#REMOTE_SITE_IP}'')].txRate.first()' master_item: key: 'mca-dump-short.sh["-d","{HOST.CONN}", "-u", "root", "-i", "{$UNIFI_SSH_PRIV_KEY_PATH}", "-t", "UDMP", "-p", "{$UNIFI_SSHPASS_PASSWORD_PATH}"]' tags: @@ -3884,8 +3868,8 @@ zabbix_export: value: Traffic graph_prototypes: - - uuid: 3195d5951a92422bb2a2c992ab0cb348 - name: 'Remote Site Bandwidth {#REMOTE_SITE_IP}' + uuid: 25bf1af2bd6b4629bd724b6251d197c1 + name: 'Remote Site Bandwidth - {#REMOTE_SITE_IP}' graph_items: - sortorder: '1'