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:
authorVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2021-11-01 15:40:25 +0300
committerVyacheslav Khaliev <vyacheslav.khaliev@zabbix.com>2021-11-01 15:40:25 +0300
commit5c6333fcf705ceae7d0278724ee056129f065cad (patch)
tree1710e03ddc4c77fa06a28ab2a496f6f672e2bb84 /templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml
parent9c1152945ffc50fa1813fed9d25c0bd240d66994 (diff)
.........T [ZBX-20003] fixed update and discard intervals in generic snmp and some other templates
Diffstat (limited to 'templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml')
-rw-r--r--templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml136
1 files changed, 122 insertions, 14 deletions
diff --git a/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml b/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml
index 5581f8b01e5..cfd58f4e779 100644
--- a/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml
+++ b/templates/net/mellanox_snmp/template_net_mellanox_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
- version: '5.4'
- date: '2021-05-11T08:05:08Z'
+ version: '6.0'
+ date: '2021-10-27T15:19:05Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -21,7 +21,7 @@ zabbix_export:
ENTITY-MIB
IF-MIB
- Template tooling version used: 0.38
+ Template tooling version used: 0.39
groups:
-
name: 'Templates/Network devices'
@@ -102,7 +102,7 @@ zabbix_export:
history: 2w
trends: '0'
value_type: LOG
- description: 'Item is used to collect all SNMP traps unmatched by other snmptrap items'
+ description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
logtimefmt: 'hh:mm:sszyyyy/MM/dd'
tags:
-
@@ -114,7 +114,7 @@ zabbix_export:
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.4.0
key: 'system.contact[sysContact.0]'
- delay: 1h
+ delay: 15m
history: 2w
trends: '0'
value_type: CHAR
@@ -126,7 +126,7 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1d
+ - 12h
tags:
-
tag: Application
@@ -167,7 +167,7 @@ zabbix_export:
type: SNMP_AGENT
snmp_oid: 1.3.6.1.2.1.1.1.0
key: 'system.descr[sysDescr.0]'
- delay: 1h
+ delay: 15m
history: 2w
trends: '0'
value_type: CHAR
@@ -180,7 +180,7 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1d
+ - 12h
tags:
-
tag: Application
@@ -203,7 +203,7 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1h
+ - 12h
tags:
-
tag: Application
@@ -226,7 +226,7 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1h
+ - 12h
tags:
-
tag: Application
@@ -256,7 +256,7 @@ zabbix_export:
-
type: DISCARD_UNCHANGED_HEARTBEAT
parameters:
- - 1h
+ - 12h
tags:
-
tag: Application
@@ -301,6 +301,12 @@ zabbix_export:
type: INTERNAL
key: 'zabbix[host,snmp,available]'
history: 7d
+ description: |
+ Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
+ Possible value:
+ 0 - not available
+ 1 - available
+ 2 - unknown
valuemap:
name: zabbix.host.available
tags:
@@ -793,7 +799,7 @@ zabbix_export:
recovery_expression: |
avg(/Mellanox SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Mellanox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
avg(/Mellanox SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Mellanox SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
- name: 'Interface {#IFNAME}({#IFALIAS}): High bandwidth usage ( > {$IF.UTIL.MAX:"{#IFNAME}"}% )'
+ name: 'Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
priority: WARNING
description: 'The network interface utilization is close to its estimated maximum bandwidth.'
@@ -812,7 +818,7 @@ zabbix_export:
recovery_expression: |
max(/Mellanox SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
and max(/Mellanox SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
- name: 'Interface {#IFNAME}({#IFALIAS}): High error rate ( > {$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
+ name: 'Interface {#IFNAME}({#IFALIAS}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
priority: WARNING
description: 'Recovers when below 80% of {$IF.ERRORS.WARN:"{#IFNAME}"} threshold'
@@ -1269,7 +1275,7 @@ zabbix_export:
-
uuid: 912430a103414c6eb9c8e55c45246f48
expression: 'min(/Mellanox SNMP/vm.memory.util[memoryUsedPercentage.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
- name: '{#MEMNAME}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)'
+ name: '{#MEMNAME}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
graph_prototypes:
@@ -1419,6 +1425,105 @@ zabbix_export:
-
macro: '{$VFS.FS.PUSED.MAX.WARN}'
value: '80'
+ dashboards:
+ -
+ uuid: 5d189179d9144198b020fce10f645872
+ name: 'Network interfaces'
+ pages:
+ -
+ widgets:
+ -
+ type: GRAPH_PROTOTYPE
+ width: '24'
+ height: '5'
+ fields:
+ -
+ type: INTEGER
+ name: source_type
+ value: '2'
+ -
+ type: INTEGER
+ name: columns
+ value: '1'
+ -
+ type: INTEGER
+ name: rows
+ value: '1'
+ -
+ type: GRAPH_PROTOTYPE
+ name: graphid
+ value:
+ name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
+ host: 'Mellanox SNMP'
+ -
+ uuid: e41382f2a3394e52b885bb6a70df35ff
+ name: 'System performance'
+ pages:
+ -
+ widgets:
+ -
+ type: GRAPH_CLASSIC
+ width: '12'
+ height: '5'
+ fields:
+ -
+ type: INTEGER
+ name: source_type
+ value: '0'
+ -
+ type: GRAPH
+ name: graphid
+ value:
+ name: 'CPU utilization'
+ host: 'Mellanox SNMP'
+ -
+ type: GRAPH_PROTOTYPE
+ 'y': '5'
+ width: '12'
+ height: '5'
+ fields:
+ -
+ type: INTEGER
+ name: source_type
+ value: '2'
+ -
+ type: INTEGER
+ name: columns
+ value: '1'
+ -
+ type: INTEGER
+ name: rows
+ value: '1'
+ -
+ type: GRAPH_PROTOTYPE
+ name: graphid
+ value:
+ name: '{#MEMNAME}: Memory utilization'
+ host: 'Mellanox SNMP'
+ -
+ type: GRAPH_PROTOTYPE
+ 'y': '10'
+ width: '12'
+ height: '5'
+ fields:
+ -
+ type: INTEGER
+ name: source_type
+ value: '2'
+ -
+ type: INTEGER
+ name: columns
+ value: '1'
+ -
+ type: INTEGER
+ name: rows
+ value: '1'
+ -
+ type: GRAPH_PROTOTYPE
+ name: graphid
+ value:
+ name: '{#FSNAME}: Disk space usage'
+ host: 'Mellanox SNMP'
valuemaps:
-
uuid: d42214398aea4362b4fc61a090f188e1
@@ -1460,6 +1565,9 @@ zabbix_export:
value: '2'
newvalue: down
-
+ value: '3'
+ newvalue: testing
+ -
value: '4'
newvalue: unknown
-