zabbix_export:
  version: '6.0'
  date: '2022-12-28T14:00:00Z'
  groups:
    -
      uuid: 204aaf015d8f47699a9de9cd06442a25
      name: Custom_Templates
    -
      uuid: 0e60ac85bc3941e2a1d66a048ff164da
      name: UPS
  templates:
    -
      uuid: 5d514c37142245ac8a4b9f7065a609ef
      template: Custom_Template-UPS_KC502S_snmp
      name: Custom_Template-UPS_KC502S_snmp
      description: |
        ## Description

        UPS KC502S

        ## Author

        Marius Karotkis

      groups:
        -
          name: Custom_Templates
        -
          name: UPS
      items:
        -
          uuid: 048f4f4cb0634080928c98206cf2dd88
          name: 'Input Voltage 1'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.3.3.1.3.1
          key: inputVoltage_1
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 5638629275cc49468b96c77d76bf6177
          name: 'Input Voltage 2'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.3.3.1.3.2
          key: inputVoltage_2
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: abec45abad0b445bb84d394af4f024a3
          name: 'Input Voltage 3'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.3.3.1.3.3
          key: inputVoltage_3
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: bcc3ffbf02be499892f7b61af07fd44c
          name: 'Output Load A %'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.4.4.1.5.1
          key: outputLoad_A
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 5ef57e95459a42d4bc36dc7c24ffa84c
          name: 'Output Load B %'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.4.4.1.5.2
          key: outputLoad_B
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 6f5b7f56b97e4074b2e9ab5c0d60a059
          name: 'Output Load C %'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.4.4.1.5.3
          key: outputLoad_C
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 6f63d5e06018444c8b3d742c26397095
          name: 'Battery Voltage'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.2.5.0
          key: ups_battery_voltage
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - 'return value / 10;'
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 6d019dabc46d47b09e78d5c57cdeb597
          name: Capacity(%)
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.2.4.0
          key: ups_capacity_perc
          tags:
            -
              tag: Application
              value: UPS
          triggers:
            -
              uuid: c43f2847455042a8be391288cee8e2e9
              expression: last(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc)<=30
              name: 'UPS Capacity less than 30 %'
              priority: DISASTER
            -
              uuid: 4e6ff5766ec844b0aedd25c5a867bce6
              expression: 'last(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc)<=60 and last(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc)>30'
              name: 'UPS Capacity less than 60 %'
              priority: HIGH
            -
              uuid: e3c92ee23d294b9facb5ea8139b656e4
              expression: 'last(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc)<=90 and last(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc)>60'
              name: 'UPS Capacity less than 90 %'
              priority: WARNING
        -
          uuid: 652e4cbc015a4766a40fcb2856fc299f
          name: 'Remaining Time of Battery'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.2.3.0
          key: ups_remaining_time_battery
          delay: 2m
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 145b9cb9513a41528d25f17cb50021c1
          name: Administrator
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.1.4.0
          key: ups_sys_admin
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 39e39a5a0a4c4f68a20510c1d925e237
          name: 'Firmware version'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.1.4.0
          key: ups_sys_firmware
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 34af5c1f2b9c47e8a9a0fb6bd81fab58
          name: Location
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.1.6.0
          key: ups_sys_location
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 66719caad6c44edcb3d0160a2f229d5c
          name: Model
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.1.2.0
          key: ups_sys_model
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 59603d3ce99248d384ba852a02dd9182
          name: Name
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.1.5.0
          key: ups_sys_name
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 0706eace9d3b4eb39e6b0afbac0a6537
          name: Version
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.1.3.0
          key: ups_sys_version
          delay: 1d
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: Application
              value: UPS
        -
          uuid: 3ab472e565454fbf93f655d3b174d4ab
          name: 'Temp. C'
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.33.1.2.7.0
          key: ups_temp_c
          tags:
            -
              tag: Application
              value: UPS
          triggers:
            -
              uuid: 87efbfa97e5747f191b7ea9b19df1d5d
              expression: 'last(/Custom_Template-UPS_KC502S_snmp/ups_temp_c)>=38 and last(/Custom_Template-UPS_KC502S_snmp/ups_temp_c)<41'
              name: 'UPS Temperature more than 38°C'
              priority: WARNING
            -
              uuid: 3009469f8bab4dcb860ab6dd692d364b
              expression: 'last(/Custom_Template-UPS_KC502S_snmp/ups_temp_c)>=41 and last(/Custom_Template-UPS_KC502S_snmp/ups_temp_c)<45'
              name: 'UPS Temperature more than 41 °C'
              priority: HIGH
            -
              uuid: 32a31655c4d64f989b7fdbefefe59215
              expression: last(/Custom_Template-UPS_KC502S_snmp/ups_temp_c)>=45
              name: 'UPS Temperature more than 45 °C'
              priority: DISASTER
        -
          uuid: 8fb4d005fe354fbe8a5cde4eeb45b391
          name: Uptime
          type: SNMP_AGENT
          snmp_oid: iso.3.6.1.2.1.1.3.0
          key: ups_uptime
          delay: 1d
          tags:
            -
              tag: Application
              value: UPS
  triggers:
    -
      uuid: 1885fa2454314774b25c55bdb8b206a4
      expression: 'nodata(/Custom_Template-UPS_KC502S_snmp/ups_capacity_perc,240s)=1 or nodata(/Custom_Template-UPS_KC502S_snmp/inputVoltage_1,240s)=1'
      name: 'NO DATA RECEIVED'
      priority: HIGH
    -
      uuid: 86cb89d78ce8482b8bd135719d787226
      expression: 'last(/Custom_Template-UPS_KC502S_snmp/inputVoltage_1)<100 or last(/Custom_Template-UPS_KC502S_snmp/inputVoltage_2)<100 or last(/Custom_Template-UPS_KC502S_snmp/inputVoltage_3)<100'
      name: 'UPS input gone'
      priority: DISASTER
    -
      uuid: a1576c0b4de145209530fff48ee10d67
      expression: |
        (last(/Custom_Template-UPS_KC502S_snmp/outputLoad_A)>=70 and  last(/Custom_Template-UPS_KC502S_snmp/outputLoad_A)<80)
        or
        (last(/Custom_Template-UPS_KC502S_snmp/outputLoad_B)>=70 and  last(/Custom_Template-UPS_KC502S_snmp/outputLoad_B)<80)
        or
        (last(/Custom_Template-UPS_KC502S_snmp/outputLoad_C)>=70 and  last(/Custom_Template-UPS_KC502S_snmp/outputLoad_C)<80)
      name: 'UPS Load more than 70 %'
      priority: HIGH
    -
      uuid: 7e9a59958d0f41adb85a2b1c0e85d7ca
      expression: |
        last(/Custom_Template-UPS_KC502S_snmp/outputLoad_A)>=80
        or
        last(/Custom_Template-UPS_KC502S_snmp/outputLoad_B)>=80
        or
        last(/Custom_Template-UPS_KC502S_snmp/outputLoad_C)>=80
      name: 'UPS Load more than 80 %'
      priority: DISASTER
  graphs:
    -
      uuid: 8647b7fc907b4310acc163319acdb852
      name: 'Battery Volt.(V)'
      graph_items:
        -
          color: 199C0D
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: ups_battery_voltage
    -
      uuid: af417da1964849978aaff0fad04c1339
      name: Capacity(%)
      graph_items:
        -
          color: 199C0D
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: ups_capacity_perc
    -
      uuid: 80d7c11d3491413fb14140e0a4ac3742
      name: 'Input Volt.(V)'
      graph_items:
        -
          color: 199C0D
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: inputVoltage_1
        -
          sortorder: '1'
          color: F63100
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: inputVoltage_2
        -
          sortorder: '2'
          color: 2774A4
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: inputVoltage_3
    -
      uuid: f9779e0f6ec64a05ad3c038b42d435f3
      name: 'Output Volt.(V)'
      graph_items:
        -
          color: 199C0D
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: outputLoad_A
        -
          sortorder: '1'
          color: F63100
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: outputLoad_B
        -
          sortorder: '2'
          color: 2774A4
          calc_fnc: ALL
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: outputLoad_C
    -
      uuid: 51af7a0380dd4bad83bcbef38a519357
      name: Temperature
      graph_items:
        -
          color: 199C0D
          item:
            host: Custom_Template-UPS_KC502S_snmp
            key: ups_temp_c
