Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Bakaldin <alexander.bakaldin@zabbix.com>2021-07-22 18:01:28 +0300
committerAlexander Bakaldin <alexander.bakaldin@zabbix.com>2021-07-22 18:01:28 +0300
commit77337a0d2e222977e902f94c8ad250e017abb87b (patch)
treeb48327069ad48bc3d2cb97998eef9ed12e04400c /templates/net/zyxel_snmp
parent0001c9fa70f91d94c7705304709519031709b3a1 (diff)
.........T [ZBX-19692] fixed issues with Zyxel templates
Diffstat (limited to 'templates/net/zyxel_snmp')
-rw-r--r--templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md2
-rw-r--r--templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml58
-rw-r--r--templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml64
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml66
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md2
-rw-r--r--templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml37
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml47
-rw-r--r--templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md6
-rw-r--r--templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml47
28 files changed, 318 insertions, 453 deletions
diff --git a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md
index 11acc692121..a2a77bcb5ba 100644
--- a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/README.md
@@ -1,5 +1,5 @@
-# AAM1212-51 IES-612 SNMP
+# ZYXEL AAM1212-51 IES-612 SNMP
## Overview
diff --git a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml
index 8ad19a3752b..9c15ccc7087 100644
--- a/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_aam1212-51_snmp/template_net_zyxel_aam1212-51_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-26T05:07:56Z'
+ date: '2021-07-22T14:48:21Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.aam1212.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -89,7 +89,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.13.1.1.3.1.4.0.0
key: zyxel.aam1212.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-IESCOMMON-MIB'
@@ -119,7 +119,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.aam1212.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -143,7 +143,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.aam1212.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -170,7 +170,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.aam1212.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -205,7 +205,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.aam1212.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -230,7 +230,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.13.1.1.2.1.3.0
key: zyxel.aam1212.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -725,29 +725,14 @@ zabbix_export:
key: 'zyxel.aam1212.net.adsl.out.traffic[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -755,7 +740,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 8e327f4a888b417db390148e7a894d10
name: 'Ethernet interface discovery'
@@ -932,29 +917,14 @@ zabbix_export:
key: 'zyxel.aam1212.net.if.out.traffic[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -962,7 +932,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 4bc61b4441a840a79bbd118a1d3cf66e
name: 'Temperature discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md
index bff39895a1d..6e2356391e2 100644
--- a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/README.md
@@ -1,5 +1,5 @@
-# ES3500-8PD SNMP
+# ZYXEL ES3500-8PD SNMP
## Overview
@@ -81,8 +81,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3500_8pd.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3500_8pd.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_8pd.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_8pd.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_8pd.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_8pd.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_8pd.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_8pd.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL ES3500-8PD: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_8pd.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_8pd.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL ES3500-8PD: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-ES3500-8PD-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3500_8pd.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL ES3500-8PD: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-ES3500-8PD-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3500_8pd.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL ES3500-8PD: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-ES3500-8PD-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3500_8pd.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml
index 7d04f855d88..543b4943532 100644
--- a/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_es3500-8pd_snmp/template_net_zyxel_es3500-8pd_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-26T05:09:08Z'
+ date: '2021-07-22T14:49:14Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3500_8pd.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -114,7 +114,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.72.1]'
key: zyxel.3500_8pd.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-ES3500-8PD-MIB'
@@ -157,7 +157,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3500_8pd.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -181,7 +181,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3500_8pd.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -208,7 +208,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3500_8pd.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -243,7 +243,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3500_8pd.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -268,7 +268,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.72.1.10.0
key: zyxel.3500_8pd.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -556,6 +556,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_8pd.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_8pd.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -566,6 +567,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -753,6 +758,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_8pd.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_8pd.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_8pd.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -763,6 +769,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -862,29 +872,14 @@ zabbix_export:
key: 'zyxel.3500_8pd.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -892,7 +887,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 21d6664eb56c41b388b4f4709a81d33d
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md
index 0f39ab304b9..a50fd59e640 100644
--- a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/README.md
@@ -1,5 +1,5 @@
-# GS-4012F SNMP
+# ZYXEL GS-4012F SNMP
## Overview
@@ -73,8 +73,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.4012f.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.4012f.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4012f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.4012f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4012f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.4012f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4012f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.4012f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL GS-4012F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4012f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.4012f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Power_supply |ZYXEL GS-4012F: Nominal "{#ZYXEL.VOLT.NOMINAL}" |<p>MIB: ZYXEL-GS4012F-MIB</p><p>The current voltage reading.</p> |SNMP |zyxel.4012f.volt[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.001`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Status |ZYXEL GS-4012F: SNMP agent availability |<p>-</p> |INTERNAL |zabbix[host,snmp,available]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Status |ZYXEL GS-4012F: Uptime |<p>MIB: RFC1213-MIB</p><p>The time (in hundredths of a second) since the</p><p>network management portion of the system was last</p><p>re-initialized.</p> |SNMP |zyxel.4012f.uptime<p>**Preprocessing**:</p><p>- MULTIPLIER: `0.01`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml
index ca897cf6b87..2b4981128e1 100644
--- a/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_gs4012f_snmp/template_net_zyxel_gs4012f_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:19:49Z'
+ date: '2021-07-22T14:49:52Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -63,7 +63,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.4012f.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -113,7 +113,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.20.1]'
key: zyxel.4012f.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-GS4012F-MIB'
@@ -156,7 +156,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.4012f.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -180,7 +180,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.4012f.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -207,7 +207,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.4012f.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -242,7 +242,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.4012f.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -267,7 +267,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.20.1.10.0
key: zyxel.4012f.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -567,6 +567,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.4012f.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.4012f.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -577,6 +578,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -764,6 +769,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.4012f.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.4012f.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.4012f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -774,6 +780,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -873,29 +883,14 @@ zabbix_export:
key: 'zyxel.4012f.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -903,7 +898,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: de7fbcbcaa8a460d8048e7816ccc1a87
name: 'Temperature discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md
index f30923a83f3..e402d8ffead 100644
--- a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/README.md
@@ -1,5 +1,5 @@
-# IES-500x SNMP
+# ZYXEL IES-500x SNMP
## Overview
@@ -91,8 +91,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.ies500x.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.ies500x.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies500x.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.ies500x.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies500x.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.ies500x.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies500x.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.ies500x.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL IES-500x: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies500x.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.ies500x.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL IES-500x: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Interface description |<p>MIB: IF-MIB</p><p>A textual string containing information about the interface</p> |SNMP |zyxel.ies500x.net.adsl.descr[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Network_interfaces |ZYXEL IES-500x: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Interface name |<p>MIB: IF-MIB</p><p>A textual string containing information about the interface</p> |SNMP |zyxel.ies500x.net.adsl.name[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Network_interfaces |ZYXEL IES-500x: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Operational status |<p>MIB: IF-MIB</p><p>The current operational state of the interface.</p><p>The testing(3) state indicates that no operational</p><p>packets can be passed.</p> |SNMP |zyxel.ies500x.net.adsl.operstatus[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml
index d686ea28da5..cf4d2e435b2 100644
--- a/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_ies-500x_snmp/template_net_zyxel_ies-500x_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:19:59Z'
+ date: '2021-07-22T14:50:06Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.ies500x.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -89,7 +89,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.ies500x.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -113,7 +113,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.ies500x.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -140,7 +140,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.ies500x.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -175,7 +175,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.ies500x.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -1036,29 +1036,14 @@ zabbix_export:
return JSON.stringify(outArr);
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -1066,7 +1051,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 5121e130194244869e45f9f7bda7cd01
name: 'Ethernet interface discovery'
@@ -1266,6 +1251,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.ies500x.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.ies500x.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) /( last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -1276,6 +1262,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -1442,6 +1432,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.ies500x.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.ies500x.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) <> 0) /( last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.ies500x.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -1452,6 +1443,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -1530,29 +1525,14 @@ zabbix_export:
key: 'zyxel.ies500x.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -1560,7 +1540,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 3edd9015b1794d39819acf0a2fdc35ba
name: 'Slot discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md
index 8e23c681a40..1010de0c283 100644
--- a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/README.md
@@ -1,5 +1,5 @@
-# IES-6000 SNMP
+# ZYXEL IES-6000 SNMP
## Overview
@@ -91,8 +91,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.ies6000.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.ies6000.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies6000.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.ies6000.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies6000.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.ies6000.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies6000.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.ies6000.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL IES-6000: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.ies6000.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.ies6000.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL IES-6000: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Interface description |<p>MIB: IF-MIB</p><p>A textual string containing information about the interface</p> |SNMP |zyxel.ies6000.net.adsl.descr[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Network_interfaces |ZYXEL IES-6000: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Interface name |<p>MIB: IF-MIB</p><p>A textual string containing information about the interface</p> |SNMP |zyxel.ies6000.net.adsl.name[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
|Network_interfaces |ZYXEL IES-6000: Slot {#ZYXEL.SLOT.ID} Port {#ZYXEL.PORTID}: Operational status |<p>MIB: IF-MIB</p><p>The current operational state of the interface.</p><p>The testing(3) state indicates that no operational</p><p>packets can be passed.</p> |SNMP |zyxel.ies6000.net.adsl.operstatus[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
index 1022ef46946..0ffcd545bb1 100644
--- a/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_ies-6000_snmp/template_net_zyxel_ies-6000_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:20:13Z'
+ date: '2021-07-22T14:50:17Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.ies6000.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -89,7 +89,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.ies6000.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -113,7 +113,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.ies6000.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -140,7 +140,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.ies6000.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -175,7 +175,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.ies6000.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -1036,29 +1036,14 @@ zabbix_export:
return JSON.stringify(outArr);
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -1066,7 +1051,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 8f9073a53cee4e6fb8c36feda5185900
name: 'Ethernet interface discovery'
@@ -1266,6 +1251,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.ies6000.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.ies6000.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) /( last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -1276,6 +1262,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -1327,7 +1317,7 @@ zabbix_export:
trigger_prototypes:
-
uuid: a9aac7e6c66a4a69a77f8c165f9a9d5c
- expression: 'last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}])=2 and last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}],#1)<>last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}],#2)'
+ expression: 'last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}])=2 and (last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}],#1)<>last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}],#2))=1'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'last(/ZYXEL IES-6000 SNMP/zyxel.ies6000.net.if.operstatus[{#SNMPINDEX}])<>2'
name: 'ZYXEL IES-6000: Port {#SNMPINDEX}: Link down'
@@ -1442,6 +1432,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.ies6000.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.ies6000.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) <> 0) /( last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.ies6000.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -1452,6 +1443,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -1530,29 +1525,14 @@ zabbix_export:
key: 'zyxel.ies6000.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -1560,7 +1540,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 10a176c3da924a95939cd35c0d0be862
name: 'Slot discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md
index 7c64cc80273..e076d1a5427 100644
--- a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/README.md
@@ -1,5 +1,5 @@
-# IES1248-51 SNMP
+# ZYXEL IES1248-51 SNMP
## Overview
diff --git a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml
index fe4f1b4b14b..4fb0e764f82 100644
--- a/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_ies1248-51_snmp/template_net_zyxel_ies1248-51_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:20:25Z'
+ date: '2021-07-22T14:51:12Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.ies1248.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -89,7 +89,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.13.1.1.3.1.4.0.0
key: zyxel.ies1248.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-IESCOMMON-MIB'
@@ -119,7 +119,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.ies1248.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -143,7 +143,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.ies1248.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -170,7 +170,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.ies1248.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -205,7 +205,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.ies1248.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -230,7 +230,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.13.1.1.2.1.3.0
key: zyxel.ies1248.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -772,29 +772,14 @@ zabbix_export:
key: 'zyxel.ies1248.net.adsl.out.traffic[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -802,7 +787,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 4b32903336ad4c9e826cfd65a89a8960
name: 'Ethernet interface discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md
index f3ca11f398c..efbf250f1b6 100644
--- a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/README.md
@@ -1,5 +1,5 @@
-# MES-3528 SNMP
+# ZYXEL MES-3528 SNMP
## Overview
@@ -76,8 +76,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3528.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3528.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3528.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3528.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3528.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3528.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3528.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3528.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3528.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES-3528: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3528.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3528.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MES-3528: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-MES3528-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3528.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES-3528: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-MES3528-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3528.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES-3528: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-MES3528-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3528.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml
index a10cc41925c..e54fbd380a2 100644
--- a/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mes-3528_snmp/template_net_zyxel_mes-3528_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:20:38Z'
+ date: '2021-07-22T14:51:28Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3528.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -114,7 +114,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.51.1]'
key: zyxel.3528.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-MES3528-MIB'
@@ -157,7 +157,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3528.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -181,7 +181,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3528.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -208,7 +208,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3528.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -243,7 +243,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3528.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -268,7 +268,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.51.1.10.0
key: zyxel.3528.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -521,6 +521,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3528.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3528.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -531,6 +532,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -718,6 +723,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3528.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3528.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3528.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -728,6 +734,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -827,29 +837,14 @@ zabbix_export:
key: 'zyxel.3528.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -857,7 +852,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: a4850c41f31a4bdfa3506c2ef3077d88
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md
index c810d015aa2..a7748ca1eef 100644
--- a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/README.md
@@ -1,5 +1,5 @@
-# MES3500-10 SNMP
+# ZYXEL MES3500-10 SNMP
## Overview
@@ -81,8 +81,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3500_10.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3500_10.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_10.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_10.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_10.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_10.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_10.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_10.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-10: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_10.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_10.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MES3500-10: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-MES3500-10-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3500_10.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-10: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-MES3500-10-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3500_10.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-10: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-MES3500-10-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3500_10.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml
index e5b7900bd05..824be0081d7 100644
--- a/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mes3500-10_snmp/template_net_zyxel_mes3500-10_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:20:53Z'
+ date: '2021-07-22T14:51:39Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3500_10.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -114,7 +114,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.80.1]'
key: zyxel.3500_10.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-MES3500-10-MIB'
@@ -157,7 +157,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3500_10.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -181,7 +181,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3500_10.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -208,7 +208,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3500_10.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -243,7 +243,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3500_10.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -268,7 +268,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.80.1.10.0
key: zyxel.3500_10.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -556,6 +556,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_10.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_10.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -566,6 +567,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -753,6 +758,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_10.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_10.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_10.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -763,6 +769,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -862,29 +872,14 @@ zabbix_export:
key: 'zyxel.3500_10.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -892,7 +887,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 1c6952a276fa454bb83f64a11424b7ec
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md
index 66fc6adbb45..60659cdb0d2 100644
--- a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/README.md
@@ -1,5 +1,5 @@
-# MES3500-24 SNMP
+# ZYXEL MES3500-24 SNMP
## Overview
@@ -81,8 +81,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3500_24.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3500_24.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_24.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_24.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_24.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-24: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_24.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MES3500-24: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-MES3500-24-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3500_24.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-24: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-MES3500-24-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3500_24.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-24: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-MES3500-24-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3500_24.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml
index 154c7e331df..8869a9db8c3 100644
--- a/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mes3500-24_snmp/template_net_zyxel_mes3500-24_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:21:05Z'
+ date: '2021-07-22T14:51:53Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3500_24.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -114,7 +114,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.68.1]'
key: zyxel.3500_24.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-MES3500-24-MIB'
@@ -157,7 +157,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3500_24.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -181,7 +181,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3500_24.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -208,7 +208,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3500_24.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -243,7 +243,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3500_24.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -268,7 +268,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.68.1.10.0
key: zyxel.3500_24.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -556,6 +556,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_24.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_24.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -566,6 +567,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -753,6 +758,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_24.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_24.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_24.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -763,6 +769,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -862,29 +872,14 @@ zabbix_export:
key: 'zyxel.3500_24.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -892,7 +887,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 302fdabe174e425d9f32d36694453331
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md
index 941d49e9bc2..6b43a8dc29c 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/README.md
@@ -1,5 +1,5 @@
-# MGS-3712 SNMP
+# ZYXEL MGS-3712 SNMP
## Overview
@@ -80,8 +80,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3712.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3712.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3712.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3712.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3712.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3712.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS-3712: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3712.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MGS-3712: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3712.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS-3712: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3712.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS-3712: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3712.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml
index f883259035d..d5731ef780b 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mgs-3712_snmp/template_net_zyxel_mgs-3712_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:22:00Z'
+ date: '2021-07-22T14:52:27Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -63,7 +63,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3712.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -113,7 +113,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.47.1]'
key: zyxel.3712.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-MGS3712F-MIB'
@@ -156,7 +156,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3712.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -180,7 +180,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3712.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -207,7 +207,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3712.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -242,7 +242,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3712.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -267,7 +267,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.47.1.10.0
key: zyxel.3712.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -567,6 +567,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3712.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3712.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -577,6 +578,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -764,6 +769,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3712.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3712.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3712.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -774,6 +780,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -873,29 +883,14 @@ zabbix_export:
key: 'zyxel.3712.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -903,7 +898,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 65477e8c3f8948aea5f6101b08e307cc
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md
index 420d2e89f70..f71bd2a886d 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/README.md
@@ -1,5 +1,5 @@
-# MGS-3712F SNMP
+# ZYXEL MGS-3712F SNMP
## Overview
@@ -80,8 +80,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3712f.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3712f.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3712f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3712f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3712f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS-3712F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3712f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3712f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MGS-3712F: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.3712f.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS-3712F: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3712f.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS-3712F: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-MGS3712F-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3712f.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml
index 1b30fa40af0..c18454d0131 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mgs-3712f_snmp/template_net_zyxel_mgs-3712f_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:22:12Z'
+ date: '2021-07-22T14:52:40Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -63,7 +63,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3712f.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -113,7 +113,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.48.1]'
key: zyxel.3712f.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-MGS3712F-MIB'
@@ -156,7 +156,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3712f.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -180,7 +180,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3712f.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -207,7 +207,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3712f.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -242,7 +242,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3712f.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -267,7 +267,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.48.1.10.0
key: zyxel.3712f.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -567,6 +567,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3712f.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3712f.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -577,6 +578,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -764,6 +769,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3712f.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3712f.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3712f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -774,6 +780,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -873,29 +883,14 @@ zabbix_export:
key: 'zyxel.3712f.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -903,7 +898,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: d48eedbbb8ad448da866d11d6f40ce91
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md
index ecc753e54ed..fb6c708d7e3 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/README.md
@@ -1,5 +1,5 @@
-# MES3500-24S SNMP
+# ZYXEL MES3500-24S SNMP
## Overview
@@ -82,8 +82,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3500_24s.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3500_24s.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24s.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_24s.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24s.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3500_24s.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24s.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_24s.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MES3500-24S: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3500_24s.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3500_24s.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MES3500-24S: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Transceiver module type.</p> |SNMP |zyxel.3500_24s.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-24S: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3500_24s.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MES3500-24S: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3500_24s.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml
index 489cba8eb91..7eaee52058f 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mgs3500-24s_snmp/template_net_zyxel_mgs3500-24s_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:21:48Z'
+ date: '2021-07-22T14:52:14Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -66,7 +66,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3500_24s.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -116,7 +116,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.15.3.1.6.0
key: zyxel.3500_24s.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-ES-COMMON'
@@ -146,7 +146,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3500_24s.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -170,7 +170,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3500_24s.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -218,7 +218,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3500_24s.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -253,7 +253,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3500_24s.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -278,7 +278,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.15.3.1.12.0
key: zyxel.3500_24s.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -578,6 +578,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_24s.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_24s.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -588,6 +589,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -775,6 +780,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3500_24s.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3500_24s.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3500_24s.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -785,6 +791,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -891,29 +901,14 @@ zabbix_export:
key: 'zyxel.3500_24s.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -921,7 +916,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: f90783a6170c4802a1833ae25008b618
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md
index 15329cace06..74e5ee9f774 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/README.md
@@ -1,5 +1,5 @@
-# MGS3520-28x SNMP
+# ZYXEL MGS3520-28x SNMP
## Overview
@@ -83,8 +83,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.3520_28.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.3520_28.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3520_28.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3520_28.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3520_28.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.3520_28.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3520_28.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3520_28.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL MGS3520-28x: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.3520_28.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.3520_28.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL MGS3520-28x: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Transceiver module type.</p> |SNMP |zyxel.3520_28.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS3520-28x: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.3520_28.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL MGS3520-28x: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-TRANSCEIVER-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.3520_28.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml
index 8f9637e1a72..f594747fd49 100644
--- a/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_mgs3520-28x_snmp/template_net_zyxel_mgs3520-28x_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:22:23Z'
+ date: '2021-07-22T14:52:56Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -66,7 +66,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.3520_28.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -116,7 +116,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.15.3.1.6.0
key: zyxel.3520_28.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-ES-COMMON'
@@ -146,7 +146,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.3520_28.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -170,7 +170,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.3520_28.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -218,7 +218,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.3520_28.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -253,7 +253,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.3520_28.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -278,7 +278,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.15.3.1.12.0
key: zyxel.3520_28.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -578,6 +578,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3520_28.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3520_28.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -588,6 +589,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -775,6 +780,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.3520_28.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.3520_28.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.3520_28.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -785,6 +791,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -891,29 +901,14 @@ zabbix_export:
key: 'zyxel.3520_28.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -921,7 +916,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: c313274b317c42cab5b7dd3c88d0c14b
name: 'SFP with DDM discovery'
diff --git a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md
index b2c5060732c..4c0a954d733 100644
--- a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md
+++ b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/README.md
@@ -1,5 +1,5 @@
-# XGS-4728F SNMP
+# ZYXEL XGS-4728F SNMP
## Overview
@@ -83,8 +83,8 @@ There are no template links in this template.
|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Outgoing multicast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>multicast address at this sub-layer, including those that</p><p>were discarded or not sent. For a MAC layer protocol, this</p><p>includes both Group and Functional addresses.</p> |SNMP |zyxel.4728f.net.if.out.multicastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Outgoing broadcast packages |<p>MIB: IF-MIB</p><p>The total number of packets that higher-level protocols</p><p>requested be transmitted, and which were addressed to a</p><p>broadcast address at this sub-layer, including those that</p><p>were discarded or not sent.</p> |SNMP |zyxel.4728f.net.if.out.broadcastpkts[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- CHANGE_PER_SECOND |
|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Link speed |<p>MIB: IF-MIB</p><p>An estimate of the interface's current bandwidth in bits per second</p> |SNMP |zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- MULTIPLIER: `1000000`</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `6h`</p> |
-|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4728f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.4728f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
-|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4728f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>**Expression**:</p>`last(zyxel.4728f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Incoming utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4728f.net.if.in.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.4728f.net.if.in.traffic[{#SNMPINDEX}]) * (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
+|Network_interfaces |ZYXEL XGS-4728F: Port {#SNMPINDEX}: Outgoing utilization |<p>Interface utilization percentage</p> |CALCULATED |zyxel.4728f.net.if.out.util[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- IN_RANGE: `0 100`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p><p>- JAVASCRIPT: `return +parseFloat(value).toFixed(0); `</p><p>**Expression**:</p>`last(zyxel.4728f.net.if.out.traffic[{#SNMPINDEX}]) * (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100 ` |
|Network_interfaces |ZYXEL XGS-4728F: SFP {#SNMPINDEX}: Status |<p>MIB: ZYXEL-XGS4728F-MIB</p><p>Transceiver module status.</p> |SNMP |zyxel.4728f.sfp.status[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL XGS-4728F: SFP {#SNMPINDEX}: Vendor |<p>MIB: ZYXEL-XGS4728F-MIB</p><p>Transceiver module vendor name.</p> |SNMP |zyxel.4728f.sfp.vendor[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
|Network_interfaces |ZYXEL XGS-4728F: SFP {#SNMPINDEX}: Part number |<p>MIB: ZYXEL-XGS4728F-MIB</p><p>Part number provided by transceiver module vendor.</p> |SNMP |zyxel.4728f.sfp.part[{#SNMPINDEX}]<p>**Preprocessing**:</p><p>- DISCARD_UNCHANGED_HEARTBEAT: `1h`</p> |
diff --git a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml
index 767bbf84e53..b0023fda0d3 100644
--- a/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml
+++ b/templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
version: '5.4'
- date: '2021-05-11T15:22:44Z'
+ date: '2021-07-22T14:53:12Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -64,7 +64,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.4.0
key: zyxel.4728f.contact
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -114,7 +114,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMP.ARRAY},.1.3.6.1.4.1.890.1.5.8.46.1]'
key: zyxel.4728f.fwversion
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: 'MIB: ZYXEL-XGS4728F-MIB'
@@ -157,7 +157,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.6.0
key: zyxel.4728f.location
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -181,7 +181,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.2.2.1.6.1
key: zyxel.4728f.mac
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -208,7 +208,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.1.0
key: zyxel.4728f.model
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -243,7 +243,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.2.1.1.5.0
key: zyxel.4728f.name
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -268,7 +268,7 @@ zabbix_export:
snmp_oid: .1.3.6.1.4.1.890.1.5.8.46.1.10.0
key: zyxel.4728f.serialnumber
delay: 1h
- history: 2w
+ history: 7d
trends: '0'
value_type: CHAR
description: |
@@ -603,6 +603,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.4728f.net.if.in.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.4728f.net.if.in.traffic[{#SNMPINDEX}]) * (last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -613,6 +614,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -800,6 +805,7 @@ zabbix_export:
type: CALCULATED
key: 'zyxel.4728f.net.if.out.util[{#SNMPINDEX}]'
history: 7d
+ value_type: FLOAT
units: '%'
params: 'last(//zyxel.4728f.net.if.out.traffic[{#SNMPINDEX}]) * (last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) <> 0) / ( last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) + (last(//zyxel.4728f.net.if.highspeed[{#SNMPINDEX}]) = 0) ) * 100'
description: 'Interface utilization percentage'
@@ -810,6 +816,10 @@ zabbix_export:
- '0'
- '100'
error_handler: DISCARD_VALUE
+ -
+ type: JAVASCRIPT
+ parameters:
+ - 'return +parseFloat(value).toFixed(0);'
tags:
-
tag: Application
@@ -909,29 +919,14 @@ zabbix_export:
key: 'zyxel.4728f.net.if.in.util[{#SNMPINDEX}]'
overrides:
-
- name: 'Trigger disabled'
+ name: 'Don''t create triggers for matching interface'
step: '1'
filter:
conditions:
-
macro: '{#ZYXEL.IF.NAME}'
- value: '.*'
- formulaid: A
- operations:
- -
- operationobject: TRIGGER_PROTOTYPE
- operator: REGEXP
- value: '.*'
- status: ENABLED
- discover: NO_DISCOVER
- -
- name: 'Trigger enabled'
- step: '2'
- filter:
- conditions:
- -
- macro: '{#ZYXEL.IF.NAME}'
value: '{$ZYXEL.LLD.FILTER.IF.CONTROL.MATCHES}'
+ operator: NOT_MATCHES_REGEX
formulaid: A
operations:
-
@@ -939,7 +934,7 @@ zabbix_export:
operator: REGEXP
value: '.*'
status: ENABLED
- discover: DISCOVER
+ discover: NO_DISCOVER
-
uuid: 6e0b5b991865448780e042d98168d72c
name: 'SFP with DDM discovery'