zabbix_export:
  version: '6.0'
  date: '2021-11-21T21:57:15Z'
  groups:
    -
      uuid: fb25638a2d7f4d2c8707e28f716e4e52
      name: FiberHome
    -
      uuid: 7df96b18c230490a9a0a9e2307226338
      name: Templates
  templates:
    -
      uuid: 8769e0d7e61f42a4a6b64ab35a11bedc
      template: 'SNMP OLT FiberHome'
      name: 'SNMP OLT FiberHome'
      description: |
        ## Overview
        
        Template para fiberhome
        
        
        
        ## Author
        
        Jhakson Redfield
        
        
      groups:
        -
          name: FiberHome
        -
          name: Templates
      items:
        -
          uuid: 121ac79da28a41aca5dc2567693490a7
          name: 'Clientes Total OLT'
          type: EXTERNAL
          key: 'clientes_OLT_FH.sh[{$SNMP_COMMUNITY}, {HOST.IP}]'
          delay: 60s
          value_type: FLOAT
          tags:
            -
              tag: Application
              value: ONU
          triggers:
            -
              uuid: cdbda6c083c646caa7b3f995a393156c
              expression: '(last(/SNMP OLT FiberHome/clientes_OLT_FH.sh[{$SNMP_COMMUNITY}, {HOST.IP}],#2) - last(/SNMP OLT FiberHome/clientes_OLT_FH.sh[{$SNMP_COMMUNITY}, {HOST.IP}])) > 15'
              name: 'Desconexao em Massa OLT'
              priority: HIGH
        -
          uuid: 92ebd7c6b7ce4d93a1707070f6428dfd
          name: 'System Hardware Version'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.5875.800.3.9.4.4.0
          key: sysHardVersion
          delay: 1d
          history: 15d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: System
        -
          uuid: 563e502ffe0543b48cad6d02baaac5c2
          name: 'System Software Version'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.5875.800.3.9.4.3.0
          key: sysSoftVersion
          delay: 1d
          history: 15d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: System
        -
          uuid: c625de17d0fd4272bf8e9ac5e86ff883
          name: 'System Temperature'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.4.1.5875.800.3.9.4.5.0
          key: sysTemperature
          delay: 90s
          history: 15d
          units: °C
          tags:
            -
              tag: Application
              value: System
          triggers:
            -
              uuid: 10121a9e1177428d87dbd5b5216e3029
              expression: 'last(/SNMP OLT FiberHome/sysTemperature,#1:now-10m)>55'
              name: 'System Temperature HIGH on {HOST.NAME}'
              priority: AVERAGE
      discovery_rules:
        -
          uuid: a0e59b5719734945b880f3daa0b1356e
          name: 'Card Info Table'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.5875.800.3.9.2.1.1.2]'
          key: card.info.discovery
          delay: 2h
          lifetime: 1w
          item_prototypes:
            -
              uuid: 24dea344c6ec4bb395b242f9ccc42d72
              name: 'Card Available Ports Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.7.{#SNMPINDEX}'
              key: 'cardAvailablePorts.["{#SNMPINDEX}"]'
              delay: 1d
              history: 15d
              trends: 90d
              tags:
                -
                  tag: Application
                  value: System
            -
              uuid: e860aa05d3ff4cbd8ee4914426da15ce
              name: 'Card CPU Util Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.8.{#SNMPINDEX}'
              key: 'cardCpuUtil.["{#SNMPINDEX}"]'
              delay: 10m
              history: 15d
              trends: 90d
              value_type: FLOAT
              units: '%'
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: System
              trigger_prototypes:
                -
                  uuid: 7e084334c3324c0aabbe574accb913f5
                  expression: 'last(/SNMP OLT FiberHome/cardCpuUtil.["{#SNMPINDEX}"])>80'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/SNMP OLT FiberHome/cardCpuUtil.["{#SNMPINDEX}"])<80'
                  name: 'Slot #SNMPINDEX CPU is HIGH'
                  priority: HIGH
            -
              uuid: d6f9e674ef4f4939b942daae3c55882d
              name: 'Card Hardware Version Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.3.{#SNMPINDEX}'
              key: 'cardHardwareVersion.["{#SNMPINDEX}"]'
              delay: 1d
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: System
            -
              uuid: c9471aa0eee14b11bbb92e6937532d1c
              name: 'Card Mem Util Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.9.{#SNMPINDEX}'
              key: 'cardMemUtil.["{#SNMPINDEX}"]'
              delay: 10m
              history: 15d
              trends: 90d
              value_type: FLOAT
              units: '%'
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: System
              trigger_prototypes:
                -
                  uuid: 24cfff32289d4d779c45a99147cbf926
                  expression: 'last(/SNMP OLT FiberHome/cardMemUtil.["{#SNMPINDEX}"])>80'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/SNMP OLT FiberHome/cardMemUtil.["{#SNMPINDEX}"])<80'
                  name: 'Slot #SNMPINDEX MEM is HIGH'
                  priority: HIGH
            -
              uuid: efec4b51ad8548d0aeb9cf75b15b40bd
              name: 'Card Num of Ports Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.6.{#SNMPINDEX}'
              key: 'cardNumOfPorts.["{#SNMPINDEX}"]'
              delay: 1d
              history: 15d
              trends: 90d
              tags:
                -
                  tag: Application
                  value: System
            -
              uuid: 9a062015c47c470994964cf738f6c8d6
              name: 'Card Software Version Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.4.{#SNMPINDEX}'
              key: 'cardSoftwateVersion.["{#SNMPINDEX}"]'
              delay: 1d
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: System
            -
              uuid: 75f5b63711924b2fae0cc1f75046bebb
              name: 'Card Status Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.5.{#SNMPINDEX}'
              key: 'cardStatus.["{#SNMPINDEX}"]'
              delay: 10m
              history: 15d
              trends: 90d
              description: |
                Column Description:
                1:normal(1)
                2:communication interrupt(0)
              tags:
                -
                  tag: Application
                  value: System
              trigger_prototypes:
                -
                  uuid: e7ff92b1f56a48b58dd7b7c417b12ea6
                  expression: 'last(/SNMP OLT FiberHome/cardStatus.["{#SNMPINDEX}"])=0'
                  name: 'Slot  #SNMPINDEX is Down'
                  priority: DISASTER
            -
              uuid: 06a833afb6d1455fb5afc352b2eaa063
              name: 'Card Type Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.2.1.1.2.{#SNMPINDEX}'
              key: 'cardType.["{#SNMPINDEX}"]'
              delay: 1d
              history: 15d
              trends: 90d
              description: |
                Column Description:
                260:EC2
                724:EC2-X
                16384:AC16
                the other type could see the card type table
              tags:
                -
                  tag: Application
                  value: System
          graph_prototypes:
            -
              uuid: 36d62b52b59a4daebf21929d559409ae
              name: 'CPU/Mem SLOT  {#SNMPINDEX}'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: FF0000
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'cardMemUtil.["{#SNMPINDEX}"]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 00FF00
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'cardCpuUtil.["{#SNMPINDEX}"]'
        -
          uuid: 77115e8100b24daeb52fee99304c440f
          name: 'Network interfaces 64'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},IF-MIB::ifDescr]'
          key: ifDescr_64
          delay: 1h
          filter:
            conditions:
              -
                macro: '{#SNMPVALUE}'
                value: FP
                formulaid: A
          item_prototypes:
            -
              uuid: f3728a7f37794e02bd9f8bc12f6bf3fb
              name: 'Incoming traffic on interface $1 64bits'
              type: SNMP_AGENT
              snmp_oid: 'IF-MIB::ifHCInOctets.{#SNMPINDEX}'
              key: 'ifHCInOctets[{#SNMPVALUE}]'
              delay: '60'
              history: 7d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
            -
              uuid: 7ff61b81e65a4694a2e26aed87fa66dc
              name: 'Outgoing traffic on interface $1 64bits'
              type: SNMP_AGENT
              snmp_oid: 'IF-MIB::ifHCOutOctets.{#SNMPINDEX}'
              key: 'ifHCOutOctets[{#SNMPVALUE}]'
              delay: '60'
              history: 7d
              units: bps
              preprocessing:
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
                -
                  type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                -
                  tag: Application
                  value: Interfaces
          graph_prototypes:
            -
              uuid: 4178694ad04446569a2de396c5a962ce
              name: 'Traffic on interface {#SNMPVALUE} 64bits'
              graph_items:
                -
                  drawtype: GRADIENT_LINE
                  color: 00FF00
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'ifHCInOctets[{#SNMPVALUE}]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: FF0000
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'ifHCOutOctets[{#SNMPVALUE}]'
        -
          uuid: 6f4594a03d104a4fb16b992323203066
          name: 'MGMT Card Info Table'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},GEPON-OLT-COMMON-MIB::mgrCardType,{#IFOPERSTATUS},GEPON-OLT-COMMON-MIB::mgrCardWorkStatus]'
          key: mgmtcard.info.discovery
          delay: 2h
          filter:
            conditions:
              -
                macro: '{#IFOPERSTATUS}'
                value: '1'
                formulaid: A
          lifetime: 1w
          item_prototypes:
            -
              uuid: 1efa1eb5241349b39712354af51abc39
              name: 'MGMT Card CPU Util Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: 'GEPON-OLT-COMMON-MIB::mgrCardCpuUtil.{#SNMPINDEX}'
              key: 'MgmtCardCpuUtil.["{#SNMPINDEX}"]'
              delay: 10m
              history: 7d
              units: '%'
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: 'MGMT Card'
            -
              uuid: 3fadaad0bc8244d38f7c28c1bfd0f1bb
              name: 'MGMT Card Hardware Version Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: 'GEPON-OLT-COMMON-MIB::mgrCardHandwareVersion.{#SNMPINDEX}'
              key: 'mgmtCardHardwareVersion.["{#SNMPINDEX}"]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: 'MGMT Card'
            -
              uuid: a3d0060bde6f474a8d2de11f86f75b1b
              name: 'MGMT Card Mem Util Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: 'GEPON-OLT-COMMON-MIB::mgrCardMemUtil.{#SNMPINDEX}'
              key: 'MgmtCardMemUtil.["{#SNMPINDEX}"]'
              delay: 10m
              history: 7d
              units: '%'
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: 'MGMT Card'
            -
              uuid: 8d09499c0bf144e583b0c54f56ceab06
              name: 'MGMT Card Software Version Slot ["{#SNMPINDEX}"]'
              type: SNMP_AGENT
              snmp_oid: 'GEPON-OLT-COMMON-MIB::mgrCardSoftwareVession.{#SNMPINDEX}'
              key: 'mgmtCardSoftwareVersion.["{#SNMPINDEX}"]'
              delay: 1d
              history: 7d
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: 'MGMT Card'
          graph_prototypes:
            -
              uuid: 9615b5d84a204dffaac36fa2dfc0fd96
              name: 'MGMT CPU/Mem SLOT {#SNMPINDEX}'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: FF0000
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'MgmtCardMemUtil.["{#SNMPINDEX}"]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 00FF00
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'MgmtCardCpuUtil.["{#SNMPINDEX}"]'
        -
          uuid: edd77309d106498c95e1325f9463a284
          name: 'PON Info Table'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},GEPON-OLT-COMMON-MIB::oltPonDesc]'
          key: oltPonDesc
          delay: 1h
          item_prototypes:
            -
              uuid: 908ecc0895b04fea94dc2b66b0a073b2
              name: 'ONU Number {#oltPonDesc}'
              type: SNMP_AGENT
              snmp_oid: 'GEPON-OLT-COMMON-MIB::oltPonAuthOnuNum.{#SNMPINDEX}'
              key: 'oltPonAuthOnuNum[{#SNMPVALUE}]'
              delay: 20m
              tags:
                -
                  tag: Application
                  value: Interfaces
          graph_prototypes:
            -
              uuid: 44aed4cc1be6404aa35f3a98e545c720
              name: 'ONU Number {#SNMPVALUE}'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: 00FF00
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'oltPonAuthOnuNum[{#SNMPVALUE}]'
        -
          uuid: e07b5543530946e9bdf17e0d46137cb7
          name: 'ONU Info Table'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},.1.3.6.1.4.1.5875.800.3.9.3.3.1.2]'
          key: onuPonInfoTable
          delay: '12h;1m/1-7,12:00-12:01'
          item_prototypes:
            -
              uuid: 2ddbed97a1c8457db8e4f2474cd455ed
              name: 'ONU Name {#SNMPVALUE}'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.3.3.1.2.{#SNMPINDEX}'
              key: 'onuPonName.["{#SNMPINDEX}"]'
              delay: 1d
              history: 15d
              trends: '0'
              value_type: TEXT
              tags:
                -
                  tag: Application
                  value: ONU
            -
              uuid: d7c3f5cd9f4d496faeadac02b62adccd
              name: 'ONU RX Power {#SNMPVALUE}'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.3.3.1.6.{#SNMPINDEX}'
              key: 'onuPonRXOpticalPower.["{#SNMPINDEX}"]'
              delay: 1h
              history: 1w
              trends: 60d
              value_type: FLOAT
              units: dBm
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: ONU
              trigger_prototypes:
                -
                  uuid: bc1780830d5747dcbef8de5637be81fe
                  expression: 'avg(/SNMP OLT FiberHome/onuPonRXOpticalPower.["{#SNMPINDEX}"],10m)<=-25'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'avg(/SNMP OLT FiberHome/onuPonRXOpticalPower.["{#SNMPINDEX}"],10m)>-25'
                  name: 'ONU Sinal is low ({ITEM.LASTVALUE}) on {#SNMPVALUE}'
                  priority: WARNING
            -
              uuid: 24fad3939f9044569d68d2318f7c334f
              name: 'ONU TX Power {#SNMPVALUE}'
              type: SNMP_AGENT
              snmp_oid: '.1.3.6.1.4.1.5875.800.3.9.3.3.1.7.{#SNMPINDEX}'
              key: 'onuPonTXOpticalPower.["{#SNMPINDEX}"]'
              delay: 1h
              history: 1w
              trends: 60d
              value_type: FLOAT
              units: dBm
              preprocessing:
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.01'
              tags:
                -
                  tag: Application
                  value: ONU
          graph_prototypes:
            -
              uuid: c330a5e321a3409aa6c01fa0830918d8
              name: 'Sinal ONU {#SNMPVALUE}'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: 00FF00
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'onuPonTXOpticalPower.["{#SNMPINDEX}"]'
                -
                  sortorder: '1'
                  drawtype: BOLD_LINE
                  color: FF0000
                  item:
                    host: 'SNMP OLT FiberHome'
                    key: 'onuPonRXOpticalPower.["{#SNMPINDEX}"]'
  graphs:
    -
      uuid: 9a50da5d02e6475d9b7f6b2dab87ab35
      name: 'Clientes Total OLT'
      show_work_period: 'NO'
      show_triggers: 'NO'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 00FF00
          item:
            host: 'SNMP OLT FiberHome'
            key: 'clientes_OLT_FH.sh[{$SNMP_COMMUNITY}, {HOST.IP}]'
    -
      uuid: 9315ba788e4743039d2c10414a2c8257
      name: 'System Temperature'
      graph_items:
        -
          color: FF0000
          item:
            host: 'SNMP OLT FiberHome'
            key: sysTemperature
