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:
Diffstat (limited to 'templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml')
-rw-r--r--templates/net/zyxel_snmp/zyxel_xgs-4728f_snmp/template_net_zyxel_xgs-4728f_snmp.yaml47
1 files changed, 21 insertions, 26 deletions
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'