fix(zabbix): resolve template import errors in Exchange and Windows
- Exchange: Corrected corrupted 'perf_counter_en' keys causing 'Instance' artifacts. - Exchange: Synced trigger expressions with corrected item keys. - Windows: Replaced invalid 'manual_close: 1' with 'YES' to match Zabbix 7.0 spec. - Windows: Removed duplicate 'system.sw.os' item to prevent key collisions. - Windows: Fixed 'Agente Zabbix Indisponível' trigger utilizing incorrect key translation.
This commit is contained in:
parent
94ffd94e89
commit
a8761517c4
|
|
@ -374,7 +374,7 @@ zabbix_export:
|
|||
- uuid: 81ac288a0d784f8d9cd99883b44797ee
|
||||
name: 'Banco [{#INSTANCE}]: Latência de Leitura (Ativo)'
|
||||
type: ZABBIX_ACTIVE
|
||||
key: perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Reads (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}]
|
||||
key: perf_counter_en["\MSExchange Database({#INF.STORE})\I/O Database Reads (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}]
|
||||
delay: '{$MS.EXCHANGE.PERF.INTERVAL}'
|
||||
value_type: FLOAT
|
||||
units: s
|
||||
|
|
@ -388,14 +388,14 @@ zabbix_export:
|
|||
value: performance
|
||||
trigger_prototypes:
|
||||
- uuid: bc1a548c79bc428ea005f652e699f4cc
|
||||
expression: min(/Microsoft Exchange Server 2016 by Zabbix agent active/perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Reads (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.ACTIVE.READ.TIME})>{$MS.EXCHANGE.DB.ACTIVE.READ.WARN}
|
||||
expression: min(/Microsoft Exchange Server 2016 by Zabbix agent active/perf_counter_en["\MSExchange Database({#INF.STORE})\I/O Database Reads (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.ACTIVE.READ.TIME})>{$MS.EXCHANGE.DB.ACTIVE.READ.WARN}
|
||||
name: '🐢 Exchange: Latência de Leitura Alta em {#INSTANCE}'
|
||||
priority: WARNING
|
||||
description: A latência de leitura está acima de 20ms sustentados.
|
||||
- uuid: 3fe061c683b9424c8b88caade4a5a4e3
|
||||
name: 'Banco [{#INSTANCE}]: Latência de Escrita (Ativo)'
|
||||
type: ZABBIX_ACTIVE
|
||||
key: perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Writes (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}]
|
||||
key: perf_counter_en["\MSExchange Database({#INF.STORE})\I/O Database Writes (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}]
|
||||
delay: '{$MS.EXCHANGE.PERF.INTERVAL}'
|
||||
value_type: FLOAT
|
||||
units: s
|
||||
|
|
@ -409,7 +409,7 @@ zabbix_export:
|
|||
value: performance
|
||||
trigger_prototypes:
|
||||
- uuid: 47c01687add949ab8f72633ae8a1f53f
|
||||
expression: min(/Microsoft Exchange Server 2016 by Zabbix agent active/perf_counter_en["\MSExchange Database ==> Instances({#INF.STORE}/_Total)\I/O Database Writes (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.ACTIVE.WRITE.TIME})>{$MS.EXCHANGE.DB.ACTIVE.WRITE.WARN}
|
||||
expression: min(/Microsoft Exchange Server 2016 by Zabbix agent active/perf_counter_en["\MSExchange Database({#INF.STORE})\I/O Database Writes (Attached) Average Latency", {$MS.EXCHANGE.PERF.INTERVAL}],{$MS.EXCHANGE.DB.ACTIVE.WRITE.TIME})>{$MS.EXCHANGE.DB.ACTIVE.WRITE.WARN}
|
||||
name: '🐢 Exchange: Latência de Escrita Alta em {#INSTANCE}'
|
||||
priority: WARNING
|
||||
description: A latência de escrita está acima de 50ms sustentados.
|
||||
|
|
|
|||
|
|
@ -296,40 +296,12 @@ zabbix_export:
|
|||
event_name: 'ℹ️ Windows: Nome do Host Mudou (Novo: {ITEM.VALUE})'
|
||||
priority: INFO
|
||||
description: 'Windows host name has changed. Ack to close.'
|
||||
manual_close: '1'
|
||||
tags:
|
||||
- tag: scope
|
||||
value: notice
|
||||
type: ZABBIX_ACTIVE
|
||||
- uuid: 82747dcb5ad644268e3678097b692882
|
||||
name: 'Windows: Informação do Sistema'
|
||||
key: system.sw.os
|
||||
delay: 1h
|
||||
trends: '0'
|
||||
value_type: CHAR
|
||||
description: 'System description of the host.'
|
||||
preprocessing:
|
||||
- type: DISCARD_UNCHANGED_HEARTBEAT
|
||||
parameters:
|
||||
- 1d
|
||||
tags:
|
||||
- tag: component
|
||||
value: system
|
||||
triggers:
|
||||
- uuid: 4323c223bd4e40269389774640960528
|
||||
expression: change(/Windows by Zabbix agent/system.sw.os) and length(last(/Windows by Zabbix agent/system.sw.os))>0
|
||||
name: 'ℹ️ Windows: SO Atualizado/Alterado'
|
||||
event_name: 'ℹ️ Windows: SO Atualizado/Alterado (Novo: {ITEM.VALUE})'
|
||||
priority: INFO
|
||||
description: 'Operating system description has changed. Possible update installed.'
|
||||
manual_close: '1'
|
||||
dependencies:
|
||||
- name: 'ℹ️ Windows: Nome do Host Mudou'
|
||||
expression: change(/Windows by Zabbix agent/system.hostname) and length(last(/Windows by Zabbix agent/system.hostname))>0
|
||||
manual_close: 'YES'
|
||||
tags:
|
||||
- tag: scope
|
||||
value: notice
|
||||
type: ZABBIX_ACTIVE
|
||||
|
||||
- uuid: 53c71360156d4758bd05358999812674
|
||||
name: 'Windows: Arquitetura do Sistema'
|
||||
key: system.uname
|
||||
|
|
@ -576,7 +548,7 @@ zabbix_export:
|
|||
value: system
|
||||
triggers:
|
||||
- uuid: 2a79c64e07144a40b728e4a210fa0976
|
||||
expression: max(/Windows by Zabbix agent/zabbix[host,agent,disponível],{$AGENT.TIMEOUT})=0
|
||||
expression: max(/Windows by Zabbix agent/zabbix[host,agent,available],{$AGENT.TIMEOUT})=0
|
||||
name: '🚨 Windows: Agente Zabbix Indisponível'
|
||||
event_name: '🚨 Windows: Agente Zabbix Indisponível (for {$AGENT.TIMEOUT})'
|
||||
priority: AVERAGE
|
||||
|
|
|
|||
Loading…
Reference in New Issue