Skip to content

Commit

Permalink
Update template_olt_zte_c320.yaml
Browse files Browse the repository at this point in the history
adicionado monitoramento de memoria, alterado trigger memoria e cpu
  • Loading branch information
anderson-raber authored Jun 23, 2023
1 parent d361557 commit 8431d56
Showing 1 changed file with 262 additions and 40 deletions.
302 changes: 262 additions & 40 deletions Applications/template_olt_zte_c320/6.0/template_olt_zte_c320.yaml
Original file line number Diff line number Diff line change
@@ -1,51 +1,18 @@
zabbix_export:
version: '6.0'
date: '2021-11-21T21:54:27Z'
date: '2023-06-23T18:47:23Z'
groups:
-
uuid: b78908d624c542149b543a1a4a6e4e65
name: 'OLT''s'
uuid: 2389f5975fd24162999d064d5f235bf1
name: '.Device - OLT''s'
templates:
-
uuid: d12aa7252e6c415c81598864bbd8e786
template: 'OLT ZTE C320'
name: 'OLT ZTE C320'
description: |
## Overview
Template OLT ZTE
o que o template faz:
- Temperatura sfp
- uptime
- Interface status
- onu registradas por porta
- status das placas
## Author
Anderson Raber
groups:
-
name: 'OLT''s'
name: '.Device - OLT''s'
items:
-
uuid: 9e9e79d8af9e401b9a26508f94109727
Expand Down Expand Up @@ -977,6 +944,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7]'
key: .1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7
delay: 30s
status: DISABLED
item_prototypes:
-
uuid: 8bba7b653b9f441ca86a1f742b9b8bd0
Expand All @@ -991,12 +959,24 @@ zabbix_export:
-
tag: Application
value: Fans
trigger_prototypes:
-
uuid: 93f50e676b6f4f978d80acfa8bc7fa97
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7.[{#SNMPINDEX}])>(avg(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7.[{#SNMPINDEX}],3h) * 1.5)'
name: 'Aumento FANS'
priority: AVERAGE
-
uuid: 7d3e1dc41f54442fa8d2a21db24b12e9
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.10.10.10.1.7.[{#SNMPINDEX}])=0'
name: 'Fan Parada'
priority: DISASTER
graph_prototypes:
-
uuid: 99f658f288834a008f8471ebff7e91f2
name: 'Rotação Fans {#SNMPINDEX}'
graph_items:
-
drawtype: GRADIENT_LINE
color: 199C0D
item:
host: 'OLT ZTE C320'
Expand All @@ -1016,13 +996,54 @@ zabbix_export:
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.4.1.3902.1015.2.1.1.3.1.9.{#SNMPINDEX}'
key: '.1.3.6.1.4.1.3902.1015.2.1.1.3.1.9.[{#SNMPINDEX}]'
history: 1w
trends: 15d
delay: 5m
history: 30d
trends: 45d
value_type: FLOAT
units: '%'
tags:
-
tag: Application
value: CPU_Placa
trigger_prototypes:
-
uuid: 7a08f52e386a4ba18de5333898823c54
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.1.3.1.9.[{#SNMPINDEX}])>(avg(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.1.3.1.9.[{#SNMPINDEX}],3h) * 1.5)'
name: 'Aumento CPU Placas'
priority: AVERAGE
-
uuid: 2f9d6a5be06945f1a8a971dcd5285e9a
expression: 'avg(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.1.3.1.9.[{#SNMPINDEX}],5m)>=80'
name: 'Processamento acima de 80%'
priority: HIGH
tags:
-
tag: trigger
value: 'cpu acima 80%'
-
uuid: 9ffe4ee115094a26ba63a3e5234b8561
name: 'Uso Memória {#SNMPINDEX}'
type: SNMP_AGENT
snmp_oid: '.1.3.6.1.4.1.3902.1015.2.1.1.3.1.11.{#SNMPINDEX}'
key: '.1.3.6.1.4.1.3902.1015.2.1.1.3.1.11.1.1.[{#SNMPINDEX}]'
history: 30d
trends: 45d
value_type: FLOAT
units: '%'
tags:
-
tag: Application
value: Memoria_Placa
trigger_prototypes:
-
uuid: f771b6db8e9641e1a96942e356d2408b
expression: 'avg(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.1.3.1.11.1.1.[{#SNMPINDEX}],5m)>=80'
name: 'Memoria acima de 80%'
priority: DISASTER
tags:
-
tag: trigger
value: 'memoria maior 80%'
-
uuid: 4f715b376b8444668bbb604a8cf9f6d6
name: 'Temperatura Placa {#SNMPINDEX}'
Expand All @@ -1037,18 +1058,43 @@ zabbix_export:
-
tag: Application
value: 'Temperatura Placa'
trigger_prototypes:
-
uuid: 8eb9a01f87684436b247f3f9e0f49940
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.13.5.1.1.[{#SNMPINDEX}])>(avg(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.13.5.1.1.[{#SNMPINDEX}],3h) * 1.5)'
name: 'Aumento Temperatura 50%'
priority: AVERAGE
-
uuid: 85d00fd0d4ff4d8f9257f6f7fe07b615
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.13.5.1.1.[{#SNMPINDEX}])>=50'
name: 'Temperatura OLT 50°'
priority: AVERAGE
-
uuid: 41f16f295585478d914fc8024fcc5be9
expression: 'last(/OLT ZTE C320/.1.3.6.1.4.1.3902.1015.2.1.3.13.5.1.1.[{#SNMPINDEX}])>=60'
name: 'Temperatura OLT 60°'
priority: DISASTER
-
uuid: f015deb1364c4fd7994e417f3f7eb84c
name: 'Status Placa {#SNMPINDEX}'
type: SNMP_AGENT
snmp_oid: '1.3.6.1.4.1.3902.1015.2.1.1.3.1.5.{#SNMPINDEX}'
key: '1.3.6.1.4.1.3902.1015.2.1.1.3.1.5.[{#SNMPINDEX}]'
delay: 5m
history: 1w
trends: 15d
valuemap:
name: 'Placa UP'
tags:
-
tag: Application
value: 'Status Placas'
trigger_prototypes:
-
uuid: 607e9fd1d29445bb93da7471a16cabbb
expression: 'last(/OLT ZTE C320/1.3.6.1.4.1.3902.1015.2.1.1.3.1.5.[{#SNMPINDEX}])<>1'
name: 'Placa com problema'
priority: DISASTER
graph_prototypes:
-
uuid: 8ad8514a66154b4eb6dc4932f8e97c09
Expand All @@ -1070,6 +1116,59 @@ zabbix_export:
item:
host: 'OLT ZTE C320'
key: '.1.3.6.1.4.1.3902.1015.2.1.3.13.5.1.1.[{#SNMPINDEX}]'
-
uuid: 2cac47961ed54c18a3809a1d1aef252f
name: 'Uso Memória {#SNMPINDEX}'
graph_items:
-
drawtype: GRADIENT_LINE
color: 199C0D
calc_fnc: ALL
item:
host: 'OLT ZTE C320'
key: '.1.3.6.1.4.1.3902.1015.2.1.1.3.1.11.1.1.[{#SNMPINDEX}]'
-
uuid: dfef79522e8f4153b245fab9ecb03057
name: 'Potencia Laser GPON'
type: SNMP_AGENT
snmp_oid: 'discovery[{#IFDESCR},SNMPv2-SMI::enterprises.3902.1012.3.13.1.1.1]'
key: 3902.1015.3.1.13.1.4
delay: 30s
description: 'discovery[{#SNMPVALUE},SNMPv2-SMI::enterprises.3902.1015.3.1.13.1.4]'
item_prototypes:
-
uuid: ffd82da695f044e3a7647f44868b0659
name: 'Potencia Laser GPON {#IFDESCR}'
type: SNMP_AGENT
snmp_oid: 'SNMPv2-SMI::enterprises.3902.1015.3.1.13.1.4.{#SNMPINDEX}'
key: '3902.1015.3.1.13.1.4.[{#SNMPINDEX}]'
delay: 10s
value_type: FLOAT
units: dbm
description: |
SNMPv2-SMI::enterprises.3902.1015.3.1.13.1.4.{#SNMPINDEX}
discovery[{#IFDESCR},SNMPv2-SMI::enterprises.3902.1012.3.13.1.1.1,{#SNMPINDEX},SNMPv2-SMI::enterprises.3902.1015.3.1.13.1.4]
preprocessing:
-
type: MULTIPLIER
parameters:
- '0.001'
tags:
-
tag: Application
value: Potencia_Laser_TX
graph_prototypes:
-
uuid: bcff447cd09f425b94f18e40bdd4dbbc
name: 'Potencia Laser GPON [{#SNMPINDEX}'
graph_items:
-
drawtype: GRADIENT_LINE
color: 199C0D
item:
host: 'OLT ZTE C320'
key: '3902.1015.3.1.13.1.4.[{#SNMPINDEX}]'
-
uuid: 63729358ee4e4d8dbb420083d85e3f75
name: 'Interface Status'
Expand Down Expand Up @@ -1103,7 +1202,7 @@ zabbix_export:
snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.3902.1012.3.13.1.1.1]'
key: snmp.enterprises
delay: 30s
description: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.3902.1012.3.13.1.1.1]'
description: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.3902.1012.3.13.1.1.1,{#SNMPINDEX}]'
item_prototypes:
-
uuid: 8f53fb71d5684154aa74b3cc9b6c3e9e
Expand Down Expand Up @@ -1131,6 +1230,129 @@ zabbix_export:
-
macro: '{$ITEM.ID}'
value: 1-128
valuemaps:
-
uuid: 8aca63b09e10451e968ad0ba1b3311c1
name: 'Placa UP'
mappings:
-
value: '1'
newvalue: INSERVICE
-
value: '4'
newvalue: OFFLINE
-
uuid: 4f0d63224ca442db89a9278ae6d396de
name: 'Porta pon'
mappings:
-
value: '268500992'
newvalue: 2/1
-
value: '268501248'
newvalue: 2/2
-
value: '268501504'
newvalue: 2/3
-
value: '268501760'
newvalue: 2/4
-
value: '268502016'
newvalue: 2/5
-
value: '268502272'
newvalue: 2/6
-
value: '268502528'
newvalue: 2/7
-
value: '268502784'
newvalue: 2/8
-
value: '268503040'
newvalue: 2/9
-
value: '268503296'
newvalue: 2/10
-
value: '268503552'
newvalue: 2/11
-
value: '268503808'
newvalue: 2/12
-
value: '268504064'
newvalue: 2/13
-
value: '268504320'
newvalue: 2/14
-
value: '268504576'
newvalue: 2/15
-
value: '268504832'
newvalue: 2/16
-
value: '268566528'
newvalue: 1/3/1
-
value: '268566784'
newvalue: 1/3/2
-
value: '268632064'
newvalue: 1/4/1
-
value: '268632320'
newvalue: 1/4/2
-
value: '268435456'
newvalue: 1/1
-
value: '268435712'
newvalue: 1/2
-
value: '268435968'
newvalue: 1/3
-
value: '268436224'
newvalue: 1/4
-
value: '268436480'
newvalue: 1/5
-
value: '268436736'
newvalue: 1/6
-
value: '268436992'
newvalue: 1/7
-
value: '268437248'
newvalue: 1/8
-
value: '268437504'
newvalue: 1/9
-
value: '268437760'
newvalue: 1/10
-
value: '268438016'
newvalue: 1/11
-
value: '268438272'
newvalue: 1/12
-
value: '268438528'
newvalue: 1/13
-
value: '268438784'
newvalue: 1/14
-
value: '268439040'
newvalue: 1/15
-
value: '268439296'
newvalue: 1/16
graphs:
-
uuid: d0edcf22cf3b4cee86184f2e6085b439
Expand Down

0 comments on commit 8431d56

Please sign in to comment.