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>2022-04-07 09:40:39 +0300
committerAlexander Bakaldin <alexander.bakaldin@zabbix.com>2022-04-07 09:40:39 +0300
commit9cbd1d8e514fecd716a7037786e53a2d9b868471 (patch)
tree74b00681746f4b7ef54df817685548acc09918b4 /templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml
parent14b05e25b47cb3a265603f1f39de7f6c40e1e9c5 (diff)
.........T [ZBXNEXT-7582] moved threshold information from trigger name to the event name
Diffstat (limited to 'templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml')
-rw-r--r--templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml35
1 files changed, 22 insertions, 13 deletions
diff --git a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml
index cb1f8731ce7..aea11bd53fc 100644
--- a/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml
+++ b/templates/net/dlink_des7200_snmp/template_net_dlink_des7200_snmp.yaml
@@ -1,6 +1,6 @@
zabbix_export:
- version: '6.0'
- date: '2022-03-04T11:41:20Z'
+ version: '6.2'
+ date: '2022-04-06T20:00:27Z'
groups:
-
uuid: 36bff6c29af64692839d077febfc7079
@@ -179,7 +179,8 @@ zabbix_export:
-
uuid: 6e12ba6b60b94ec6bf531b4bb234dc80
expression: 'min(/D-Link DES 7200 SNMP/system.cpu.util[myCPUUtilization5Min.0],5m)>{$CPU.UTIL.CRIT}'
- name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
+ name: 'High CPU utilization'
+ event_name: 'High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
opdata: 'Current utilization: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'CPU utilization is too high. The system might be slow to respond.'
@@ -339,7 +340,8 @@ zabbix_export:
-
uuid: 0c7a629e028e489c89647bf3ca51850e
expression: 'last(/D-Link DES 7200 SNMP/system.name,#1)<>last(/D-Link DES 7200 SNMP/system.name,#2) and length(last(/D-Link DES 7200 SNMP/system.name))>0'
- name: 'System name has changed (new name: {ITEM.VALUE})'
+ name: 'System name has changed'
+ event_name: 'System name has changed (new name: {ITEM.VALUE})'
priority: INFO
description: 'System name has changed. Ack to close.'
manual_close: 'YES'
@@ -403,7 +405,7 @@ zabbix_export:
manual_close: 'YES'
dependencies:
-
- name: 'System name has changed (new name: {ITEM.VALUE})'
+ name: 'System name has changed'
expression: 'last(/D-Link DES 7200 SNMP/system.name,#1)<>last(/D-Link DES 7200 SNMP/system.name,#2) and length(last(/D-Link DES 7200 SNMP/system.name))>0'
tags:
-
@@ -435,7 +437,8 @@ zabbix_export:
-
uuid: 6b200163bfcd4899a82bcf98aa026aa2
expression: 'last(/D-Link DES 7200 SNMP/system.uptime[sysUpTime.0])<10m'
- name: '{HOST.NAME} has been restarted (uptime < 10m)'
+ name: 'has been restarted'
+ event_name: '{HOST.NAME} has been restarted (uptime < 10m)'
priority: WARNING
description: 'Uptime is less than 10 minutes'
manual_close: 'YES'
@@ -552,7 +555,8 @@ zabbix_export:
-
uuid: fd484f9b3a6a414fb2bba47d5804cc62
expression: 'min(/D-Link DES 7200 SNMP/vm.memory.util[myMemoryPoolCurrentUtilization.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
- name: '{#SNMPINDEX}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
+ name: '{#SNMPINDEX}: High memory utilization'
+ event_name: '{#SNMPINDEX}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
priority: AVERAGE
description: 'The system is running out of free memory.'
tags:
@@ -971,7 +975,8 @@ zabbix_export:
recovery_expression: |
avg(/D-Link DES 7200 SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/D-Link DES 7200 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
avg(/D-Link DES 7200 SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/D-Link DES 7200 SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
- name: 'Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
+ name: 'Interface {#IFNAME}({#IFALIAS}): High bandwidth usage'
+ event_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.'
@@ -994,7 +999,8 @@ zabbix_export:
recovery_expression: |
max(/D-Link DES 7200 SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
and max(/D-Link DES 7200 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'
+ event_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'
@@ -1126,7 +1132,8 @@ zabbix_export:
expression: 'avg(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)>{$TEMP_CRIT:""}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'max(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)<{$TEMP_CRIT:""}-3'
- name: '{#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:""}'
+ name: '{#SNMPVALUE}: Temperature is above critical threshold'
+ event_name: '{#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:""}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: HIGH
description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
@@ -1142,13 +1149,14 @@ zabbix_export:
expression: 'avg(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)>{$TEMP_WARN:""}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'max(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)<{$TEMP_WARN:""}-3'
- name: '{#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:""}'
+ name: '{#SNMPVALUE}: Temperature is above warning threshold'
+ event_name: '{#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:""}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: WARNING
description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
dependencies:
-
- name: '{#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:""}'
+ name: '{#SNMPVALUE}: Temperature is above critical threshold'
expression: 'avg(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)>{$TEMP_CRIT:""}'
recovery_expression: 'max(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)<{$TEMP_CRIT:""}-3'
tags:
@@ -1163,7 +1171,8 @@ zabbix_export:
expression: 'avg(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:""}'
recovery_mode: RECOVERY_EXPRESSION
recovery_expression: 'min(/D-Link DES 7200 SNMP/sensor.temp.value[mySystemTemperatureCurrent.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:""}+3'
- name: '{#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:""}'
+ name: '{#SNMPVALUE}: Temperature is too low'
+ event_name: '{#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:""}'
opdata: 'Current value: {ITEM.LASTVALUE1}'
priority: AVERAGE
tags: