zabbix_export:
  version: '6.0'
  date: '2021-11-21T21:43:59Z'
  groups:
    -
      uuid: 09921ffd4b7b417f9cd7d2c9a77f37fa
      name: Nobreak
  templates:
    -
      uuid: dca283437f3d4f61b95da0751c904efa
      template: 'East Nobreak'
      name: 'East Nobreak'
      description: |
        ## Overview
        
        Monitors power parameters like voltage and frequency, battery charge and status, battery temperature, etc. Has triggers for out of range parameters,.
        
        
        Please set macro for host. 
        
        
        
        
        | Macro |
        | --- |
        
        
        {$SNMP\_COMMUNITY} ⇒ nobreak01
        
        
        
        ## Author
        
        Wellington Martins
        
        
      groups:
        -
          name: Nobreak
      items:
        -
          uuid: 0e857eded7874e5885882ad924077c79
          name: 'Tensão de Entrada'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.3.3.1.3.1.0
          key: ac-Voltage
          delay: '180'
          trends: 180d
          units: AC
          tags:
            -
              tag: Application
              value: Input
          triggers:
            -
              uuid: f266ec2ee71c4e66b7e5702afea8b639
              expression: 'last(/East Nobreak/ac-Voltage)<3'
              name: '{HOSTNAME} input source Failure'
              priority: DISASTER
        -
          uuid: 7eb1751f198446d189743d0473161379
          name: 'Carga da Bateria'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.4.0
          key: BatCapacity
          delay: '15'
          trends: 180d
          value_type: FLOAT
          units: '%'
          tags:
            -
              tag: Application
              value: Battery
          triggers:
            -
              uuid: 89cacf68c81042a78e062b9b72c9bf1f
              expression: 'last(/East Nobreak/BatCapacity)<15'
              name: 'Battery Less than 15%'
              priority: DISASTER
            -
              uuid: c819aaaf136e4c4aaa942c910110148e
              expression: 'last(/East Nobreak/BatCapacity)<50'
              name: 'Battery Less than 50%'
              priority: HIGH
            -
              uuid: 9a5394ef6e37478a9618a29625a3e8df
              expression: 'last(/East Nobreak/BatCapacity)<90'
              name: 'Battery Less than 90%'
              priority: WARNING
        -
          uuid: b01d669695f946a7ade245a33bcff059
          name: 'Corrente da Bateria'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.7.0
          key: batteryCurrent
          delay: '180'
          value_type: FLOAT
          units: A
          tags:
            -
              tag: Application
              value: Battery
        -
          uuid: a155b8f625f648c593ab7ad86bd0e3ff
          name: 'Tempo Restante de Carga'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.3.0
          key: BatTimeRemaining
          delay: '180'
          units: Minutos
          tags:
            -
              tag: Application
              value: Battery
        -
          uuid: aaf757ef87aa4ec6a5574473964afa56
          name: 'Carga de Uso do Nobreak'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.4.4.1.5.1.0
          key: load-current
          delay: '180'
          trends: 180d
          units: '%'
          tags:
            -
              tag: Application
              value: Battery
        -
          uuid: 59ca1ac665314b90b4c1f04dcc5d3414
          name: 'Tensão de Saída'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.4.4.1.2.1.0
          key: load-Power
          delay: '180'
          trends: 180d
          units: kW
          tags:
            -
              tag: Application
              value: Output
        -
          uuid: 1be1a8ec20fb4e8d8e7ab0c8953dac29
          name: 'Temperatura da Bateria'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.7.0
          key: temp
          delay: '180'
          trends: 180d
          value_type: FLOAT
          units: ºC
          tags:
            -
              tag: Application
              value: Battery
        -
          uuid: 0008ae08b8954195b16caa06e2b83f03
          name: 'Estado da Bateria'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.1.0
          key: upsBatteryStatus
          delay: '180'
          trends: 180d
          description: |
            Trigger
            1 Desconhecido
            2 Bateria Normal
            3 Bateria Baixa
            4 Depreciada
          inventory_link: TYPE
          tags:
            -
              tag: Application
              value: Battery
          triggers:
            -
              uuid: 907179e4cf5c4036b468e949287a4605
              expression: 'last(/East Nobreak/upsBatteryStatus)=3'
              name: 'Bateria Baixa Dificuldade para Carregar'
              priority: AVERAGE
            -
              uuid: 75b2329119764cf3b954edca4124a1e2
              expression: 'last(/East Nobreak/upsBatteryStatus)=4'
              name: 'Bateria Troca Urgente'
              priority: DISASTER
        -
          uuid: 5f1a1b6226fe4b0c8b70cc3aa229cda6
          name: 'Restante de Carga'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.2.4.0
          key: upsEstimatedChargeRemaining
          delay: '15'
          value_type: FLOAT
          units: '%'
          tags:
            -
              tag: Application
              value: Battery
        -
          uuid: 374a75e8746042249c5242a0cf502f0d
          name: 'Frequência de Entrada'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.3.3.1.2.1.0
          key: upsInputFrequency
          delay: '15'
          trends: 180d
          value_type: FLOAT
          units: Hz
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.1'
          tags:
            -
              tag: Application
              value: Input
        -
          uuid: ba95654b38cf4476bf85025178848ba2
          name: 'Frequência de Saída'
          type: SNMP_AGENT
          snmp_oid: .1.3.6.1.2.1.33.1.4.2.0
          key: upsOutputFrequency
          delay: '15'
          trends: 180d
          value_type: FLOAT
          units: Hz
          preprocessing:
            -
              type: MULTIPLIER
              parameters:
                - '0.1'
          tags:
            -
              tag: Application
              value: Output
      macros:
        -
          macro: '{$SNMP_COMMUNITY}'
          value: nobreak01
  graphs:
    -
      uuid: d4d3bf253f8741d2b65b1ee7456948a6
      name: Temperature
      graph_items:
        -
          color: '009900'
          item:
            host: 'East Nobreak'
            key: temp
    -
      uuid: 070de4d3ca9d45a29a799734f1a3d6cb
      name: 'Tensão de Entrada'
      graph_items:
        -
          color: 0000EE
          item:
            host: 'East Nobreak'
            key: ac-Voltage
    -
      uuid: eb7c4a2edc684286a4bb585b420a0aaa
      name: 'Tensão de Saida'
      graph_items:
        -
          color: F63100
          item:
            host: 'East Nobreak'
            key: load-Power
