zabbix_export:
  version: '8.0'
  template_groups:
    - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
    - uuid: 748ad4d098d447d492bb935c907f652f
      name: Templates/Databases
    - uuid: 36bff6c29af64692839d077febfc7079
      name: 'Templates/Network devices'
    - uuid: e960332b3f6c46a1956486d4f3f99fce
      name: 'Templates/Server hardware'
  templates:
    - uuid: b1271833815f46499458a8631d0bda20
      template: 'Ciena 3906 by SNMP'
      name: 'Ciena 3906 by SNMP'
      description: |
        Ciena 3906 by SNMP
        
        MIBs used:
        WWP-LEOS-BLADE-MIB
        WWP-LEOS-CHASSIS-MIB
        WWP-LEOS-SYSTEM-CONFIG-MIB
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        Ciena’s 3906 Platform is a compact, smart CPE that delivers gigabit Ethernet service capability with virtual network function integration.
        Learn more about the Ciena 3906 Platform here: https://www.ciena.com/products/3906
      vendor:
        name: Zabbix
        version: 8.0-1
      groups:
        - name: 'Templates/Network devices'
      items:
        - uuid: df073cbb8335403b826eb05b70c8571e
          name: 'CPU utilization'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.11.9.0]'
          key: ciena.cpu.utilization
          value_type: FLOAT
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            CPU utilization over 60 seconds.
          tags:
            - tag: component
              value: cpu
          triggers:
            - uuid: 9381eddcc6c14189b073fa7ec1627eb5
              expression: 'min(/Ciena 3906 by SNMP/ciena.cpu.utilization,5m)>{$CIENA.CPU.UTIL.CRIT}'
              name: 'Ciena: High CPU utilization'
              event_name: 'Ciena: High CPU utilization (over {$CIENA.CPU.UTIL.CRIT}% for 5m)'
              opdata: 'Current utilization: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'The CPU utilization is too high. The system might be slow to respond.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: a8e84dba6b0c4d34932b738fa96e3103
          name: 'CPU utilization average (15m)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.7.3.0]'
          key: ciena.cpu.utilization15m
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            CPU utilization average for last 15 minutes.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: cpu
          triggers:
            - uuid: ba3c33682edd40d7b97d9a50ffcbd903
              expression: 'min(/Ciena 3906 by SNMP/ciena.cpu.utilization15m,5m)>{$CIENA.CPU.AVG.UTIL.WARN}'
              name: 'Ciena: High CPU utilization (last 15m)'
              event_name: 'Ciena: High CPU utilization (over {$CIENA.CPU.AVG.UTIL.WARN}%)'
              opdata: 'Current utilization: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Average CPU utilization for the last 15 minutes exceeded ''{$CIENA.CPU.AVG.UTIL.WARN}%''.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 608541fd744049eb86d3c349d53ff804
          name: 'CPU utilization average maximum (15m)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.7.9.0]'
          key: ciena.cpu.utilization15m.max
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Maximum 15 minute CPU utilization average.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: cpu
        - uuid: ffc8bd45a7bb4b4fa4e2ea81a07f5303
          name: 'CPU utilization average minimum (15m)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.7.8.0]'
          key: ciena.cpu.utilization15m.min
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Minimum 15 minute CPU utilization average.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: cpu
        - uuid: 1a2c6f18acbe4f0abf37e0dc7f9b3105
          name: 'CPU utilization state (15m)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.7.10.0]'
          key: ciena.cpu.utilization15m.state
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            CPU utilization 15-minute state.
          valuemap:
            name: 'WWP-LEOS-SYSTEM-CONFIG-MIB::CpuLoadState'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: cpu
          triggers:
            - uuid: 8a742d755e4242a49390c2591ccbb902
              expression: 'last(/Ciena 3906 by SNMP/ciena.cpu.utilization15m.state)<>1'
              name: 'Ciena: CPU utilization state abnormal (15m)'
              event_name: 'Ciena: CPU average utilization state is not normal'
              opdata: 'Current state: {ITEM.LASTVALUE}'
              priority: WARNING
              description: 'The CPU utilization 15-minute state indicates an abnormal or fault condition.'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 5f452c7b72e54d59b20118fe2384a071
          name: 'Memory available'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.13.4.0]'
          key: ciena.memory.available
          units: B
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Available memory in bytes.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '1024'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: memory
        - uuid: 4a1490cfe12c41239a2979163f6d1d75
          name: 'Memory used'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.13.1.0]'
          key: ciena.memory.used
          units: B
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Used memory in bytes.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '1024'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: memory
        - uuid: a1c72b2649f04169b757ca1be27ae328
          name: 'Memory utilization'
          type: CALCULATED
          key: ciena.memory.utilization
          value_type: FLOAT
          units: '%'
          params: 'last(//ciena.memory.used) * 100 / (last(//ciena.memory.used) + last(//ciena.memory.available))'
          description: 'Memory utilization, in percent.'
          tags:
            - tag: component
              value: memory
          triggers:
            - uuid: f4a8c13d12cd4800a0a7adbb07345167
              expression: 'min(/Ciena 3906 by SNMP/ciena.memory.utilization,5m)>{$CIENA.MEMORY.UTIL.MAX}'
              name: 'Ciena: High memory utilization'
              event_name: 'Ciena: High memory utilization (>{$CIENA.MEMORY.UTIL.MAX}% for 5m)'
              opdata: 'Current utilization: {ITEM.LASTVALUE1}'
              priority: AVERAGE
              description: 'The system is running out of free memory.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: c72fb85a301147f68a78319162bdb302
          name: 'Filesystem [/mnt/sysfs]: State'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.12.8.0]'
          key: ciena.sysfs.state
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Current state of /mnt/sysfs filesystem.
          valuemap:
            name: 'WWP-LEOS-SYSTEM-CONFIG-MIB::FilesystemState'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: storage
        - uuid: eb76487bb73149c0b8f53b93afd0d301
          name: 'Filesystem [/mnt/sysfs]: Utilization'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.12.5.0]'
          key: ciena.sysfs.utilization
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Current utilization of the /mnt/sysfs directory.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: storage
        - uuid: 5cfeac8a546640e89dc492cb484fc300
          name: 'Filesystem [/tmp]: State'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.12.4.0]'
          key: ciena.tmpfs.state
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Current state of /tmp filesystem.
          valuemap:
            name: 'WWP-LEOS-SYSTEM-CONFIG-MIB::FilesystemState'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: storage
        - uuid: 0bb2b2ddc5fb4c57b79f98fd818cc100
          name: 'Filesystem [/tmp]: Utilization'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.12.1.12.1.0]'
          key: ciena.tmpfs.utilization
          units: '%'
          description: |
            MIB: WWP-LEOS-SYSTEM-CONFIG-MIB
            Current utilization of the /tmp directory.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: storage
        - uuid: 6cc4a72569f64f79ae10e552c2fdbd58
          name: 'ICMP ping'
          type: SIMPLE
          key: icmpping
          description: |
            The host accessibility by ICMP ping.
            
            0 - ICMP ping fails;
            1 - ICMP ping successful.
          valuemap:
            name: 'Service state'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: ee75be8f7f164985934e2c1be1c04e13
              expression: 'max(/Ciena 3906 by SNMP/icmpping,#3)=0'
              name: 'Ciena: Unavailable by ICMP ping'
              priority: HIGH
              description: 'Last three attempts returned timeout. Please check device connectivity.'
              tags:
                - tag: scope
                  value: availability
        - uuid: a123346e709b42fe87e646af285cf8d5
          name: 'ICMP loss'
          type: SIMPLE
          key: icmppingloss
          value_type: FLOAT
          units: '%'
          description: 'The percentage of lost packets.'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: a97aab2e9d914087881a7045d27706ee
              expression: 'min(/Ciena 3906 by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Ciena 3906 by SNMP/icmppingloss,5m)<100'
              name: 'Ciena: High ICMP ping loss'
              opdata: 'Loss: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'ICMP packets loss detected.'
              dependencies:
                - name: 'Ciena: Unavailable by ICMP ping'
                  expression: 'max(/Ciena 3906 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 500280a0bfe7466e9bd8528b6483ab4e
          name: 'ICMP response time'
          type: SIMPLE
          key: icmppingsec
          value_type: FLOAT
          units: s
          description: 'The ICMP ping response time (in seconds).'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 8e79674a73714bf8873afb383df9a3dc
              expression: 'avg(/Ciena 3906 by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
              name: 'Ciena: High ICMP ping response time'
              opdata: 'Value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Average ICMP response time is too high.'
              dependencies:
                - name: 'Ciena: High ICMP ping loss'
                  expression: 'min(/Ciena 3906 by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Ciena 3906 by SNMP/icmppingloss,5m)<100'
                - name: 'Ciena: Unavailable by ICMP ping'
                  expression: 'max(/Ciena 3906 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 5c3f8f0ae5ed4226916d0edb195535fc
          name: 'SNMP walk network interfaces'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.2.2.1.8,1.3.6.1.2.1.2.2.1.7,1.3.6.1.2.1.31.1.1.1.18,1.3.6.1.2.1.31.1.1.1.1,1.3.6.1.2.1.2.2.1.2,1.3.6.1.2.1.2.2.1.3,1.3.6.1.2.1.31.1.1.1.6,1.3.6.1.2.1.31.1.1.1.10,1.3.6.1.2.1.2.2.1.14,1.3.6.1.2.1.2.2.1.20,1.3.6.1.2.1.2.2.1.19,1.3.6.1.2.1.2.2.1.13,1.3.6.1.2.1.31.1.1.1.15]'
          key: net.if.walk
          history: '0'
          value_type: TEXT
          description: 'Used for discovering interfaces from IF-MIB.'
          tags:
            - tag: component
              value: raw
        - uuid: e0fb173352d7443581cc68e90cbc7cb1
          name: 'SNMP traps (fallback)'
          type: SNMP_TRAP
          key: snmptrap.fallback
          value_type: LOG
          description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
          logtimefmt: 'hh:mm:sszyyyy/MM/dd'
          tags:
            - tag: component
              value: network
        - uuid: 8ad77109e14d4a7b900d179ec1b96438
          name: 'System contact details'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
          key: 'system.contact[sysContact.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
          inventory_link: CONTACT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 5ad8efff2bb8429ab122b97e834cce38
          name: 'System description'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.descr[sysDescr.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            A textual description of the entity. This value should
            include the full name and version identification of the system's hardware type, software operating-system, and
            networking software.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 1d76443bc2ef47e3abc99bbc3ddeb92d
          name: 'SNMP walk fan'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.6141.2.60.11.1.1.4.1.1]'
          key: system.fan.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: WWP-LEOS-CHASSIS-MIB
            Used for discovering system fans.
          tags:
            - tag: component
              value: raw
        - uuid: 487b6faac2b94edbb7109b35b6cffe48
          name: 'Hardware model name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.1.1.1.2.1.7.1]'
          key: system.hw.model
          delay: 1h
          value_type: CHAR
          description: |
            MIB: WWP-LEOS-BLADE-MIB
            Model name of the hardware.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 349aa5e2814644499e1391ffd5e2ffdf
          name: 'Hardware serial number'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.1.1.1.2.1.2.1]'
          key: system.hw.serialnumber
          delay: 1h
          value_type: CHAR
          description: |
            MIB: WWP-LEOS-BLADE-MIB
            The serial number of the product.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: e779b8999360405abf31a569f79933e3
              expression: 'last(/Ciena 3906 by SNMP/system.hw.serialnumber,#1)<>last(/Ciena 3906 by SNMP/system.hw.serialnumber,#2) and length(last(/Ciena 3906 by SNMP/system.hw.serialnumber))>0'
              name: 'Ciena: Device has been replaced'
              event_name: 'Ciena: Device has been replaced (new serial number received)'
              priority: INFO
              description: 'The Ciena device serial number has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 8fd398744d9c4f72b4e1c81d866d2932
          name: 'Uptime (hardware)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
          key: 'system.hw.uptime[hrSystemUptime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: HOST-RESOURCES-MIB
            The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: 0cdb06e8f6ac4b33a47bdce499465efa
          name: 'Hardware version (revision)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.6141.2.60.1.1.1.2.1.3.1]'
          key: system.hw.version
          delay: 1h
          value_type: CHAR
          description: |
            MIB: WWP-LEOS-BLADE-MIB
            The hardware version of the product.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 06e7d638c8094542bf7773abadc0c2b4
          name: 'System location'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
          key: 'system.location[sysLocation.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
          inventory_link: LOCATION
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: cb271362beb143ec866e7cb0d58a27ca
          name: 'System name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
          key: system.name
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
          inventory_link: NAME
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: ccccd5869f544ceab91f7d83cfb72bba
              expression: 'last(/Ciena 3906 by SNMP/system.name,#1)<>last(/Ciena 3906 by SNMP/system.name,#2) and length(last(/Ciena 3906 by SNMP/system.name))>0'
              name: 'Ciena: System name has changed'
              event_name: 'Ciena: System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'The name of the system has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
                - tag: scope
                  value: security
        - uuid: ae5500f046e04d16b3f6a44f4ccdcf7d
          name: 'Uptime (network)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
          key: 'system.net.uptime[sysUpTime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: SNMPv2-MIB
            Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: 206707cf6c124a63a8dd231acb7f2995
          name: 'System object ID'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
          key: 'system.objectid[sysObjectID.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed.  For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 6ff62d92f45f48bdbd901276795b0bbc
          name: 'SNMP walk PSU'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.6141.2.60.11.1.1.3.1.1]'
          key: system.psu.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: WWP-LEOS-CHASSIS-MIB
            Used for discovering the system power supply.
          tags:
            - tag: component
              value: raw
        - uuid: e06e318827b048b7970f6107adc3b68d
          name: 'SNMP walk temperature sensors'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.6141.2.60.11.1.1.5.1.1]'
          key: system.temperature.sensor.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: WWP-LEOS-CHASSIS-MIB
            Used for discovering system temperature sensors.
          tags:
            - tag: component
              value: raw
        - uuid: 3b910a6ecf254672a5fd216e51348705
          name: 'SNMP agent availability'
          type: INTERNAL
          key: 'zabbix[host,snmp,available]'
          description: |
            Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
            Possible values:
            0 - not available
            1 - available
            2 - unknown
          valuemap:
            name: zabbix.host.available
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: a3b4708a1ff34ee688655890c1bd4483
              expression: 'max(/Ciena 3906 by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
              name: 'Ciena: No SNMP data collection'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
              dependencies:
                - name: 'Ciena: Unavailable by ICMP ping'
                  expression: 'max(/Ciena 3906 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: 33cb92289fcf4e34ba1c5f4d21b9aee4
          name: 'Fan discovery'
          type: DEPENDENT
          key: ciena.fan.discovery
          description: 'Used for discovering fans from WWP-LEOS-CHASSIS-MIB.'
          item_prototypes:
            - uuid: fb43685bb86f4620bf1cd44f9e5c2bae
              name: 'Fan [{#SNMPVALUE}]: Speed'
              type: DEPENDENT
              key: 'ciena.fan.speed[ChassisFanCurrentSpeed.{#SNMPINDEX}]'
              units: '!rpm'
              description: |
                MIB: WWP-LEOS-CHASSIS-MIB
                The current speed of the fan in RPM.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.6141.2.60.11.1.1.4.1.1.5.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: system.fan.walk
              tags:
                - tag: component
                  value: fan
            - uuid: 21af2e9f71f04832b9d7c898378d2b7a
              name: 'Fan [{#SNMPVALUE}]: Status'
              type: DEPENDENT
              key: 'ciena.fan.status[ChassisFanModuleStatus.{#SNMPINDEX}]'
              description: |
                MIB: WWP-LEOS-CHASSIS-MIB
                Denotes the fan module status.
                Possible values:
                1 - "ok"; means fan is operational;
                2 - "pending"; means fan is installed but statistics are not yet available;
                3 - "failure"; means fan is not working.
              valuemap:
                name: 'WWP-LEOS-CHASSIS-MIB::wwpLeosChassisFanModuleStatus'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.6141.2.60.11.1.1.4.1.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: system.fan.walk
              tags:
                - tag: component
                  value: fan
              trigger_prototypes:
                - uuid: f8a3bae2cede4009a78336d538307db7
                  expression: 'last(/Ciena 3906 by SNMP/ciena.fan.status[ChassisFanModuleStatus.{#SNMPINDEX}])=3'
                  name: 'Ciena: Fan [{#SNMPVALUE}]: Fan status is Failure'
                  opdata: 'Current status: {ITEM.LASTVALUE}'
                  priority: AVERAGE
                  description: 'The fan status is "failure".'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          master_item:
            key: system.fan.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.6141.2.60.11.1.1.4.1.1.1
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: b6301c49acbc4b8cb73737ddea2af97a
          name: 'PSU discovery'
          type: DEPENDENT
          key: ciena.psu.discovery
          description: 'Used for discovering PSU from WWP-LEOS-CHASSIS-MIB.'
          item_prototypes:
            - uuid: 07fa3745241049f989cc8b08718d5294
              name: 'PSU [{#SNMPVALUE}]: Status'
              type: DEPENDENT
              key: 'ciena.psu.status[ChassisPowerSupplyState.{#SNMPINDEX}]'
              description: |
                MIB: WWP-LEOS-CHASSIS-MIB
                Denotes the PSU module status.
                Possible values:
                1 - online;
                2 - offline;
                3 - faulted.
              valuemap:
                name: 'WWP-LEOS-CHASSIS-MIB::wwpLeosChassisPowerSupplyState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.6141.2.60.11.1.1.3.1.1.2.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: system.psu.walk
              tags:
                - tag: component
                  value: psu
              trigger_prototypes:
                - uuid: f52cf9bc73674a478c2d949878fed2f6
                  expression: 'last(/Ciena 3906 by SNMP/ciena.psu.status[ChassisPowerSupplyState.{#SNMPINDEX}])=3'
                  name: 'Ciena: PSU [{#SNMPVALUE}]: Status is Faulted'
                  opdata: 'Current status: {ITEM.LASTVALUE}'
                  priority: AVERAGE
                  description: 'The PSU status is "faulted".'
                  tags:
                    - tag: scope
                      value: availability
          master_item:
            key: system.psu.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.6141.2.60.11.1.1.3.1.1.1
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: bc76e20f951648a49459b4541f812183
          name: 'Temperature sensor discovery'
          type: DEPENDENT
          key: ciena.temperature.sensor.discovery
          description: 'Used for discovering temperature sensors from WWP-LEOS-CHASSIS-MIB.'
          item_prototypes:
            - uuid: 83c809987bd84bc7bfd74ea25644706a
              name: 'Sensor [{#SNMPVALUE}]: Temperature'
              type: DEPENDENT
              key: 'ciena.temperature.sensors.temp[ChassisTempSensorValue.{#SNMPINDEX}]'
              units: °C
              description: |
                MIB: WWP-LEOS-CHASSIS-MIB
                The value of temperature measured by the sensor inside the device in degrees Celsius.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.6141.2.60.11.1.1.5.1.1.2.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: system.temperature.sensor.walk
              tags:
                - tag: component
                  value: sensor
              trigger_prototypes:
                - uuid: a53a816efa4c49e08ccc18ea7bcd7046
                  expression: 'min(/Ciena 3906 by SNMP/ciena.temperature.sensors.temp[ChassisTempSensorValue.{#SNMPINDEX}],5m)>{#CIENA.TEMPERATURE.HIGH}'
                  name: 'Ciena: Sensor [{#SNMPVALUE}]: High chassis temperature'
                  event_name: 'Ciena: Sensor [{#SNMPVALUE}]: High chassis temperature (>{#CIENA.TEMPERATURE.HIGH} °C)'
                  priority: AVERAGE
                  description: 'The current temperature is higher than the threshold state.'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: a484e0bb091c4abea5db311d91083d0f
                  expression: 'max(/Ciena 3906 by SNMP/ciena.temperature.sensors.temp[ChassisTempSensorValue.{#SNMPINDEX}],5m)<{#CIENA.TEMPERATURE.LOW}'
                  name: 'Ciena: Sensor [{#SNMPVALUE}]: Low chassis temperature'
                  event_name: 'Ciena: Sensor [{#SNMPVALUE}]: Low chassis temperature (<{#CIENA.TEMPERATURE.LOW} °C)'
                  priority: AVERAGE
                  description: 'The current temperature is lower than the threshold state.'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: f90cac3fc8964b9e874d0fc160ac0304
              name: 'Ciena: Sensor [{#SNMPVALUE}]: Temperature'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'ciena.temperature.sensors.temp[ChassisTempSensorValue.{#SNMPINDEX}]'
          master_item:
            key: system.temperature.sensor.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.6141.2.60.11.1.1.5.1.1.1
                - '0'
                - '{#CIENA.TEMPERATURE.HIGH}'
                - 1.3.6.1.4.1.6141.2.60.11.1.1.5.1.1.3
                - '0'
                - '{#CIENA.TEMPERATURE.LOW}'
                - 1.3.6.1.4.1.6141.2.60.11.1.1.5.1.1.4
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: f62c23005aa7433ea0af5ae1052253c6
          name: 'Network interfaces discovery'
          type: DEPENDENT
          key: net.if.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.MATCHES}'
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.MATCHES}'
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.MATCHES}'
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.MATCHES}'
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
          description: 'Discovering interfaces from IF-MIB.'
          item_prototypes:
            - uuid: a86af1fb203c437ab9532549faf513af
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
              type: DEPENDENT
              key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of inbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 9bfbcb75f0f647ed8b6119ebb51655d1
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
              type: DEPENDENT
              key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 9c9b04b35d3d473f9e72f94306323ebc
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
              type: DEPENDENT
              key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 8e3439988f19469bbbf0e13bfc867271
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
              type: DEPENDENT
              key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of outbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 50ef325793684f419620c521187fd8f3
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
              type: DEPENDENT
              key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 1223311e9fc04cb4b42e43e3c0800a66
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
              type: DEPENDENT
              key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 1ad0ee1ee6f74cad90307a7ff2879e00
              name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
              type: DEPENDENT
              key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]'
              trends: '0'
              units: bps
              description: |
                MIB: IF-MIB
                An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n`, then the speed of the interface is somewhere in the range of `n-500,000` to `n+499,999`.
                For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.
                For a sub-layer which has no concept of bandwidth, this object should be zero.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}'
                    - '0'
                - type: MULTIPLIER
                  parameters:
                    - '1000000'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: b4835bb2c7204531b073e1cece6c211e
              name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
              type: DEPENDENT
              key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The current operational state of the interface.
                - The testing(3) state indicates that no operational packet scan be passed
                - If ifAdminStatus is down(2) then ifOperStatus should be down(2)
                - If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
                - It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
                - It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
                - It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
              valuemap:
                name: 'IF-MIB::ifOperStatus'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: 6553917026ab486cb92e418c1a0c66a3
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
                  name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): Link down'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    This trigger expression works as follows:
                    1. It can be triggered if the operations status is down.
                    2. `{$IFCONTROL:"{#IFNAME}"}=1` - a user can redefine the context macro to "0", marking this interface as not important. No new trigger will be fired if this interface is down.
                    3. `last(/TEMPLATE_NAME/METRIC,#1)<>last(/TEMPLATE_NAME/METRIC,#2)` - the trigger fires only if the operational status was up to (1) sometime before (so, does not fire for "eternal off" interfaces.)
                    
                    WARNING: if closed manually - it will not fire again on the next poll, because of .diff.
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: availability
            - uuid: 1969604952c44b2ba87bea8193c39ba7
              name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
              type: DEPENDENT
              key: 'net.if.type[ifType.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The type of interface.
                Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
                through updating the syntax of the IANAifType textual convention.
              valuemap:
                name: 'IF-MIB::ifType'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
          trigger_prototypes:
            - uuid: b8635b85feb247f59c7997ea4ca4b96a
              expression: |
                change(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
                and (
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or
                last(/Ciena 3906 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=117
                )
                and
                (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                (change(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or
                (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
              name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before'
              opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
              priority: INFO
              description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 411150c8856242228b8092595808f10c
              expression: |
                (avg(/Ciena 3906 by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
                avg(/Ciena 3906 by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
                last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                avg(/Ciena 3906 by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
                avg(/Ciena 3906 by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Ciena 3906 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
              name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage'
              event_name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
              opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
              manual_close: 'YES'
              dependencies:
                - name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 86121173a53e471a9c22876b4c808e23
              expression: |
                min(/Ciena 3906 by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
                or min(/Ciena 3906 by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                max(/Ciena 3906 by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
                and max(/Ciena 3906 by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
              name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): High error rate'
              event_name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
              opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'It recovers when it is below 80% of the `{$IF.ERRORS.WARN:"{#IFNAME}"}` threshold.'
              manual_close: 'YES'
              dependencies:
                - name: 'Ciena: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Ciena 3906 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
          graph_prototypes:
            - uuid: 0b365ca9e76b4329ab68e567ddc1ca17
              name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
                - sortorder: '1'
                  drawtype: BOLD_LINE
                  color: F63100
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
                - sortorder: '2'
                  color: 00611C
                  yaxisside: RIGHT
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
                - sortorder: '3'
                  color: F7941D
                  yaxisside: RIGHT
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
                - sortorder: '4'
                  color: FC6EA3
                  yaxisside: RIGHT
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
                - sortorder: '5'
                  color: 6C59DC
                  yaxisside: RIGHT
                  item:
                    host: 'Ciena 3906 by SNMP'
                    key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
          master_item:
            key: net.if.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#IFOPERSTATUS}'
                - 1.3.6.1.2.1.2.2.1.8
                - '0'
                - '{#IFADMINSTATUS}'
                - 1.3.6.1.2.1.2.2.1.7
                - '0'
                - '{#IFALIAS}'
                - 1.3.6.1.2.1.31.1.1.1.18
                - '0'
                - '{#IFNAME}'
                - 1.3.6.1.2.1.31.1.1.1.1
                - '0'
                - '{#IFDESCR}'
                - 1.3.6.1.2.1.2.2.1.2
                - '0'
                - '{#IFTYPE}'
                - 1.3.6.1.2.1.2.2.1.3
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
      tags:
        - tag: class
          value: network
        - tag: target
          value: ciena
        - tag: target
          value: ciena-3906
      macros:
        - macro: '{$CIENA.CPU.AVG.UTIL.WARN}'
          value: '100'
          description: 'Threshold of CPU utilization expressed in %.'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Threshold for CPU utilization'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$CIENA.CPU.UTIL.CRIT}'
          value: '90'
          description: 'Threshold of CPU utilization expressed in %.'
          config:
            type: TEXT
            priority: '2'
            section_name: Thresholds
            label: 'Threshold for CPU utilization'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$CIENA.MEMORY.UTIL.MAX}'
          value: '90'
          description: 'Threshold of memory utilization expressed in %.'
          config:
            type: TEXT
            priority: '1'
            section_name: Thresholds
            label: 'Threshold for memory utilization'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_LOSS_WARN}'
          value: '20'
          description: 'Warning threshold of ICMP packet loss in %.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Threshold of ICMP packet loss'
            description: 'Warning threshold of ICMP packet loss in %. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_RESPONSE_TIME_WARN}'
          value: '0.15'
          description: 'Warning threshold of the average ICMP response time in seconds.'
          config:
            type: TEXT
            priority: '6'
            section_name: Thresholds
            label: 'Threshold of the average ICMP response'
            description: 'Warning threshold of the average ICMP response time in seconds. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.ERRORS.WARN}'
          value: '2'
          description: 'Warning threshold of error packet rate. Can be used with interface name as context.'
          config:
            type: TEXT
            priority: '9'
            section_name: Thresholds
            label: 'Threshold of error packet rate'
            description: 'Warning threshold of error packet rate. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.UTIL.MAX}'
          value: '90'
          description: 'Used as a threshold in the interface utilization trigger.'
          config:
            type: TEXT
            priority: '8'
            section_name: Thresholds
            label: 'The threshold in the interface utilization'
            description: 'Used as a threshold in the interface utilization trigger. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IFCONTROL}'
          value: '1'
          description: 'Link status trigger will be fired only for interfaces where the context macro equals "1".'
          config:
            type: CHECKBOX
            priority: '7'
            label: 'Interfaces control'
            description: 'Fire a trigger when the interface operational status changes to "Link down".'
            options:
              - checked: '1'
                unchecked: '0'
        - macro: '{$NET.IF.IFADMINSTATUS.MATCHES}'
          value: '^.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '14'
            section_name: Filters
            label: 'Filter network interface by adminstatus'
            description: 'Regex string to include discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
          value: ^2$
          description: 'Ignore `down(2)` administrative status'
          config:
            type: TEXT
            priority: '15'
            section_name: Filters
            label: 'Filter network interface by adminstatus (exclude)'
            description: 'Regex string to exclude discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFALIAS.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '18'
            section_name: Filters
            label: 'Filter network interface by alias'
            description: 'Regex string to include discovered interface by alias.'
        - macro: '{$NET.IF.IFALIAS.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '19'
            section_name: Filters
            label: 'Filter network interface by alias (exclude)'
            description: 'Regex string to exclude discovered interface by alias.'
        - macro: '{$NET.IF.IFDESCR.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '16'
            section_name: Filters
            label: 'Filter network interface by description'
            description: 'Regex string to include discovered interface by description.'
        - macro: '{$NET.IF.IFDESCR.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '17'
            section_name: Filters
            label: 'Filter network interface by description (exclude)'
            description: 'Regex string to exclude discovered interface by description.'
        - macro: '{$NET.IF.IFNAME.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '10'
            section_name: Filters
            label: 'Filter for network interface by name'
            description: 'Regex string to include discovered interface by name.'
        - macro: '{$NET.IF.IFNAME.NOT_MATCHES}'
          value: '(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})'
          description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0 bridge` by default.'
          config:
            type: TEXT
            priority: '11'
            section_name: Filters
            label: 'Filter for network interface by name (exclude)'
            description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0` bridge by default.'
        - macro: '{$NET.IF.IFOPERSTATUS.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '12'
            section_name: Filters
            label: 'Filter network interface by status'
            description: 'Regex string to include discovered interface by status.'
        - macro: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
          value: ^6$
          description: 'Ignore `notPresent(6)`'
          config:
            type: TEXT
            priority: '13'
            section_name: Filters
            label: 'Filter network interface by status (exclude)'
            description: 'Regex string to exclude discovered interface by status.'
        - macro: '{$NET.IF.IFTYPE.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '20'
            section_name: Filters
            label: 'Filter network interface by type'
            description: 'Regex string to include discovered interface by type.'
        - macro: '{$NET.IF.IFTYPE.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '21'
            section_name: Filters
            label: 'Filter network interface by type (exclude)'
            description: 'Regex string to exclude discovered interface by type.'
        - macro: '{$SNMP.TIMEOUT}'
          value: 5m
          description: 'Time interval for the SNMP availability trigger.'
          config:
            type: TEXT
            priority: '4'
            section_name: Other
            label: 'Time interval'
            description: 'Time interval for the SNMP availability trigger.'
      dashboards:
        - uuid: e860ca516823426e9f2383f9bb7df112
          name: 'Ciena: Overview'
          pages:
            - name: 'Ciena: Overview'
              widgets:
                - type: item
                  name: 'Uptime (network)'
                  width: '12'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: 'system.net.uptime[sysUpTime.0]'
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: svggraph
                  name: 'ICMP response time'
                  'y': '2'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: FF465C
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.0.fill
                      value: '5'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: icmppingsec
                    - type: INTEGER
                      name: ds.0.width
                      value: '3'
                    - type: INTEGER
                      name: legend_columns
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAAAA
                - type: svggraph
                  name: 'CPU utilization'
                  'y': '7'
                  width: '24'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: FF465C
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.0.fill
                      value: '5'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: ciena.cpu.utilization
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_columns
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAAAD
                    - type: INTEGER
                      name: righty
                      value: '0'
                - type: item
                  name: 'System name'
                  x: '12'
                  width: '15'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: system.name
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: svggraph
                  name: 'Memory utilization'
                  x: '24'
                  'y': '7'
                  width: '24'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: FF465C
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.0.fill
                      value: '5'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: ciena.memory.utilization
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_columns
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAAAE
                    - type: INTEGER
                      name: righty
                      value: '0'
                - type: item
                  name: 'System location'
                  x: '27'
                  width: '15'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: 'system.location[sysLocation.0]'
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: honeycomb
                  name: 'Fan status'
                  x: '36'
                  'y': '2'
                  width: '24'
                  height: '5'
                  fields:
                    - type: STRING
                      name: items.0
                      value: 'Fan*Status'
                    - type: INTEGER
                      name: primary_label_type
                      value: '1'
                    - type: INTEGER
                      name: primary_label_units_show
                      value: '0'
                    - type: STRING
                      name: reference
                      value: AAAAB
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: STRING
                      name: thresholds.0.color
                      value: 3BC97D
                    - type: STRING
                      name: thresholds.0.threshold
                      value: '1'
                    - type: STRING
                      name: thresholds.1.color
                      value: FCCB1D
                    - type: STRING
                      name: thresholds.1.threshold
                      value: '2'
                    - type: STRING
                      name: thresholds.2.color
                      value: E65660
                    - type: STRING
                      name: thresholds.2.threshold
                      value: '3'
                - type: item
                  name: 'System description'
                  x: '42'
                  width: '15'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: 'system.descr[sysDescr.0]'
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: honeycomb
                  name: 'Sensor temperature'
                  x: '48'
                  'y': '7'
                  width: '12'
                  height: '5'
                  fields:
                    - type: STRING
                      name: items.0
                      value: '*Temperature'
                    - type: INTEGER
                      name: primary_label_type
                      value: '1'
                    - type: STRING
                      name: primary_label_units
                      value: °C
                    - type: STRING
                      name: reference
                      value: AAAAF
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: STRING
                      name: thresholds.0.color
                      value: 3BC97D
                    - type: STRING
                      name: thresholds.0.threshold
                      value: '20'
                    - type: STRING
                      name: thresholds.1.color
                      value: FCCB1D
                    - type: STRING
                      name: thresholds.1.threshold
                      value: '35'
                    - type: STRING
                      name: thresholds.2.color
                      value: E65660
                    - type: STRING
                      name: thresholds.2.threshold
                      value: '40'
                - type: item
                  name: 'Hardware model name'
                  x: '57'
                  width: '15'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: system.hw.model
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: honeycomb
                  name: 'PSU status'
                  x: '60'
                  'y': '2'
                  width: '12'
                  height: '5'
                  fields:
                    - type: STRING
                      name: items.0
                      value: 'PSU*Status'
                    - type: INTEGER
                      name: primary_label_type
                      value: '1'
                    - type: INTEGER
                      name: primary_label_units_show
                      value: '0'
                    - type: STRING
                      name: reference
                      value: AAAAC
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: STRING
                      name: thresholds.0.color
                      value: 3BC97D
                    - type: STRING
                      name: thresholds.0.threshold
                      value: '1'
                    - type: STRING
                      name: thresholds.1.color
                      value: FCCB1D
                    - type: STRING
                      name: thresholds.1.threshold
                      value: '2'
                    - type: STRING
                      name: thresholds.2.color
                      value: E65660
                    - type: STRING
                      name: thresholds.2.threshold
                      value: '3'
                - type: item
                  name: 'Hardware version (revision)'
                  x: '60'
                  'y': '7'
                  width: '12'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: system.hw.version
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '30'
                - type: item
                  name: 'Hardware serial number'
                  x: '60'
                  'y': '9'
                  width: '12'
                  height: '3'
                  hide_header: 'YES'
                  fields:
                    - type: INTEGER
                      name: desc_size
                      value: '9'
                    - type: INTEGER
                      name: desc_v_pos
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Ciena 3906 by SNMP'
                        key: system.hw.serialnumber
                    - type: INTEGER
                      name: show.0
                      value: '1'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                    - type: INTEGER
                      name: value_bold
                      value: '0'
                    - type: INTEGER
                      name: value_size
                      value: '20'
      valuemaps:
        - uuid: 0148dfb2980a443dbe2646757115ba4a
          name: 'IF-MIB::ifOperStatus'
          mappings:
            - value: '1'
              newvalue: up
            - value: '2'
              newvalue: down
            - value: '4'
              newvalue: unknown
            - value: '5'
              newvalue: dormant
            - value: '6'
              newvalue: notPresent
            - value: '7'
              newvalue: lowerLayerDown
        - uuid: ce6e6488447a415a8c09869bead48038
          name: 'IF-MIB::ifType'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: regular1822
            - value: '3'
              newvalue: hdh1822
            - value: '4'
              newvalue: ddnX25
            - value: '5'
              newvalue: rfc877x25
            - value: '6'
              newvalue: ethernetCsmacd
            - value: '7'
              newvalue: iso88023Csmacd
            - value: '8'
              newvalue: iso88024TokenBus
            - value: '9'
              newvalue: iso88025TokenRing
            - value: '10'
              newvalue: iso88026Man
            - value: '11'
              newvalue: starLan
            - value: '12'
              newvalue: proteon10Mbit
            - value: '13'
              newvalue: proteon80Mbit
            - value: '14'
              newvalue: hyperchannel
            - value: '15'
              newvalue: fddi
            - value: '16'
              newvalue: lapb
            - value: '17'
              newvalue: sdlc
            - value: '18'
              newvalue: ds1
            - value: '19'
              newvalue: e1
            - value: '20'
              newvalue: basicISDN
            - value: '21'
              newvalue: primaryISDN
            - value: '22'
              newvalue: propPointToPointSerial
            - value: '23'
              newvalue: ppp
            - value: '24'
              newvalue: softwareLoopback
            - value: '25'
              newvalue: eon
            - value: '26'
              newvalue: ethernet3Mbit
            - value: '27'
              newvalue: nsip
            - value: '28'
              newvalue: slip
            - value: '29'
              newvalue: ultra
            - value: '30'
              newvalue: ds3
            - value: '31'
              newvalue: sip
            - value: '32'
              newvalue: frameRelay
            - value: '33'
              newvalue: rs232
            - value: '34'
              newvalue: para
            - value: '35'
              newvalue: arcnet
            - value: '36'
              newvalue: arcnetPlus
            - value: '37'
              newvalue: atm
            - value: '38'
              newvalue: miox25
            - value: '39'
              newvalue: sonet
            - value: '40'
              newvalue: x25ple
            - value: '41'
              newvalue: iso88022llc
            - value: '42'
              newvalue: localTalk
            - value: '43'
              newvalue: smdsDxi
            - value: '44'
              newvalue: frameRelayService
            - value: '45'
              newvalue: v35
            - value: '46'
              newvalue: hssi
            - value: '47'
              newvalue: hippi
            - value: '48'
              newvalue: modem
            - value: '49'
              newvalue: aal5
            - value: '50'
              newvalue: sonetPath
            - value: '51'
              newvalue: sonetVT
            - value: '52'
              newvalue: smdsIcip
            - value: '53'
              newvalue: propVirtual
            - value: '54'
              newvalue: propMultiplexor
            - value: '55'
              newvalue: ieee80212
            - value: '56'
              newvalue: fibreChannel
            - value: '57'
              newvalue: hippiInterface
            - value: '58'
              newvalue: frameRelayInterconnect
            - value: '59'
              newvalue: aflane8023
            - value: '60'
              newvalue: aflane8025
            - value: '61'
              newvalue: cctEmul
            - value: '62'
              newvalue: fastEther
            - value: '63'
              newvalue: isdn
            - value: '64'
              newvalue: v11
            - value: '65'
              newvalue: v36
            - value: '66'
              newvalue: g703at64k
            - value: '67'
              newvalue: g703at2mb
            - value: '68'
              newvalue: qllc
            - value: '69'
              newvalue: fastEtherFX
            - value: '70'
              newvalue: channel
            - value: '71'
              newvalue: ieee80211
            - value: '72'
              newvalue: ibm370parChan
            - value: '73'
              newvalue: escon
            - value: '74'
              newvalue: dlsw
            - value: '75'
              newvalue: isdns
            - value: '76'
              newvalue: isdnu
            - value: '77'
              newvalue: lapd
            - value: '78'
              newvalue: ipSwitch
            - value: '79'
              newvalue: rsrb
            - value: '80'
              newvalue: atmLogical
            - value: '81'
              newvalue: ds0
            - value: '82'
              newvalue: ds0Bundle
            - value: '83'
              newvalue: bsc
            - value: '84'
              newvalue: async
            - value: '85'
              newvalue: cnr
            - value: '86'
              newvalue: iso88025Dtr
            - value: '87'
              newvalue: eplrs
            - value: '88'
              newvalue: arap
            - value: '89'
              newvalue: propCnls
            - value: '90'
              newvalue: hostPad
            - value: '91'
              newvalue: termPad
            - value: '92'
              newvalue: frameRelayMPI
            - value: '93'
              newvalue: x213
            - value: '94'
              newvalue: adsl
            - value: '95'
              newvalue: radsl
            - value: '96'
              newvalue: sdsl
            - value: '97'
              newvalue: vdsl
            - value: '98'
              newvalue: iso88025CRFPInt
            - value: '99'
              newvalue: myrinet
            - value: '100'
              newvalue: voiceEM
            - value: '101'
              newvalue: voiceFXO
            - value: '102'
              newvalue: voiceFXS
            - value: '103'
              newvalue: voiceEncap
            - value: '104'
              newvalue: voiceOverIp
            - value: '105'
              newvalue: atmDxi
            - value: '106'
              newvalue: atmFuni
            - value: '107'
              newvalue: atmIma
            - value: '108'
              newvalue: pppMultilinkBundle
            - value: '109'
              newvalue: ipOverCdlc
            - value: '110'
              newvalue: ipOverClaw
            - value: '111'
              newvalue: stackToStack
            - value: '112'
              newvalue: virtualIpAddress
            - value: '113'
              newvalue: mpc
            - value: '114'
              newvalue: ipOverAtm
            - value: '115'
              newvalue: iso88025Fiber
            - value: '116'
              newvalue: tdlc
            - value: '117'
              newvalue: gigabitEthernet
            - value: '118'
              newvalue: hdlc
            - value: '119'
              newvalue: lapf
            - value: '120'
              newvalue: v37
            - value: '121'
              newvalue: x25mlp
            - value: '122'
              newvalue: x25huntGroup
            - value: '123'
              newvalue: trasnpHdlc
            - value: '124'
              newvalue: interleave
            - value: '125'
              newvalue: fast
            - value: '126'
              newvalue: ip
            - value: '127'
              newvalue: docsCableMaclayer
            - value: '128'
              newvalue: docsCableDownstream
            - value: '129'
              newvalue: docsCableUpstream
            - value: '130'
              newvalue: a12MppSwitch
            - value: '131'
              newvalue: tunnel
            - value: '132'
              newvalue: coffee
            - value: '133'
              newvalue: ces
            - value: '134'
              newvalue: atmSubInterface
            - value: '135'
              newvalue: l2vlan
            - value: '136'
              newvalue: l3ipvlan
            - value: '137'
              newvalue: l3ipxvlan
            - value: '138'
              newvalue: digitalPowerline
            - value: '139'
              newvalue: mediaMailOverIp
            - value: '140'
              newvalue: dtm
            - value: '141'
              newvalue: dcn
            - value: '142'
              newvalue: ipForward
            - value: '143'
              newvalue: msdsl
            - value: '144'
              newvalue: ieee1394
            - value: '145'
              newvalue: if-gsn
            - value: '146'
              newvalue: dvbRccMacLayer
            - value: '147'
              newvalue: dvbRccDownstream
            - value: '148'
              newvalue: dvbRccUpstream
            - value: '149'
              newvalue: atmVirtual
            - value: '150'
              newvalue: mplsTunnel
            - value: '151'
              newvalue: srp
            - value: '152'
              newvalue: voiceOverAtm
            - value: '153'
              newvalue: voiceOverFrameRelay
            - value: '154'
              newvalue: idsl
            - value: '155'
              newvalue: compositeLink
            - value: '156'
              newvalue: ss7SigLink
            - value: '157'
              newvalue: propWirelessP2P
            - value: '158'
              newvalue: frForward
            - value: '159'
              newvalue: rfc1483
            - value: '160'
              newvalue: usb
            - value: '161'
              newvalue: ieee8023adLag
            - value: '162'
              newvalue: bgppolicyaccounting
            - value: '163'
              newvalue: frf16MfrBundle
            - value: '164'
              newvalue: h323Gatekeeper
            - value: '165'
              newvalue: h323Proxy
            - value: '166'
              newvalue: mpls
            - value: '167'
              newvalue: mfSigLink
            - value: '168'
              newvalue: hdsl2
            - value: '169'
              newvalue: shdsl
            - value: '170'
              newvalue: ds1FDL
            - value: '171'
              newvalue: pos
            - value: '172'
              newvalue: dvbAsiIn
            - value: '173'
              newvalue: dvbAsiOut
            - value: '174'
              newvalue: plc
            - value: '175'
              newvalue: nfas
            - value: '176'
              newvalue: tr008
            - value: '177'
              newvalue: gr303RDT
            - value: '178'
              newvalue: gr303IDT
            - value: '179'
              newvalue: isup
            - value: '180'
              newvalue: propDocsWirelessMaclayer
            - value: '181'
              newvalue: propDocsWirelessDownstream
            - value: '182'
              newvalue: propDocsWirelessUpstream
            - value: '183'
              newvalue: hiperlan2
            - value: '184'
              newvalue: propBWAp2Mp
            - value: '185'
              newvalue: sonetOverheadChannel
            - value: '186'
              newvalue: digitalWrapperOverheadChannel
            - value: '187'
              newvalue: aal2
            - value: '188'
              newvalue: radioMAC
            - value: '189'
              newvalue: atmRadio
            - value: '190'
              newvalue: imt
            - value: '191'
              newvalue: mvl
            - value: '192'
              newvalue: reachDSL
            - value: '193'
              newvalue: frDlciEndPt
            - value: '194'
              newvalue: atmVciEndPt
            - value: '195'
              newvalue: opticalChannel
            - value: '196'
              newvalue: opticalTransport
            - value: '197'
              newvalue: propAtm
            - value: '198'
              newvalue: voiceOverCable
            - value: '199'
              newvalue: infiniband
            - value: '200'
              newvalue: teLink
            - value: '201'
              newvalue: q2931
            - value: '202'
              newvalue: virtualTg
            - value: '203'
              newvalue: sipTg
            - value: '204'
              newvalue: sipSig
            - value: '205'
              newvalue: docsCableUpstreamChannel
            - value: '206'
              newvalue: econet
            - value: '207'
              newvalue: pon155
            - value: '208'
              newvalue: pon622
            - value: '209'
              newvalue: bridge
            - value: '210'
              newvalue: linegroup
            - value: '211'
              newvalue: voiceEMFGD
            - value: '212'
              newvalue: voiceFGDEANA
            - value: '213'
              newvalue: voiceDID
            - value: '214'
              newvalue: mpegTransport
            - value: '215'
              newvalue: sixToFour
            - value: '216'
              newvalue: gtp
            - value: '217'
              newvalue: pdnEtherLoop1
            - value: '218'
              newvalue: pdnEtherLoop2
            - value: '219'
              newvalue: opticalChannelGroup
            - value: '220'
              newvalue: homepna
            - value: '221'
              newvalue: gfp
            - value: '222'
              newvalue: ciscoISLvlan
            - value: '223'
              newvalue: actelisMetaLOOP
            - value: '224'
              newvalue: fcipLink
            - value: '225'
              newvalue: rpr
            - value: '226'
              newvalue: qam
            - value: '227'
              newvalue: lmp
            - value: '228'
              newvalue: cblVectaStar
            - value: '229'
              newvalue: docsCableMCmtsDownstream
            - value: '230'
              newvalue: adsl2
            - value: '231'
              newvalue: macSecControlledIF
            - value: '232'
              newvalue: macSecUncontrolledIF
            - value: '233'
              newvalue: aviciOpticalEther
            - value: '234'
              newvalue: atmbond
            - value: '235'
              newvalue: voiceFGDOS
            - value: '236'
              newvalue: mocaVersion1
            - value: '237'
              newvalue: ieee80216WMAN
            - value: '238'
              newvalue: adsl2plus
            - value: '239'
              newvalue: dvbRcsMacLayer
            - value: '240'
              newvalue: dvbTdm
            - value: '241'
              newvalue: dvbRcsTdma
            - value: '242'
              newvalue: x86Laps
            - value: '243'
              newvalue: wwanPP
            - value: '244'
              newvalue: wwanPP2
            - value: '245'
              newvalue: voiceEBS
            - value: '246'
              newvalue: ifPwType
            - value: '247'
              newvalue: ilan
            - value: '248'
              newvalue: pip
            - value: '249'
              newvalue: aluELP
            - value: '250'
              newvalue: gpon
            - value: '251'
              newvalue: vdsl2
            - value: '252'
              newvalue: capwapDot11Profile
            - value: '253'
              newvalue: capwapDot11Bss
            - value: '254'
              newvalue: capwapWtpVirtualRadio
            - value: '255'
              newvalue: bits
            - value: '256'
              newvalue: docsCableUpstreamRfPort
            - value: '257'
              newvalue: cableDownstreamRfPort
            - value: '258'
              newvalue: vmwareVirtualNic
            - value: '259'
              newvalue: ieee802154
            - value: '260'
              newvalue: otnOdu
            - value: '261'
              newvalue: otnOtu
            - value: '262'
              newvalue: ifVfiType
            - value: '263'
              newvalue: g9981
            - value: '264'
              newvalue: g9982
            - value: '265'
              newvalue: g9983
            - value: '266'
              newvalue: aluEpon
            - value: '267'
              newvalue: aluEponOnu
            - value: '268'
              newvalue: aluEponPhysicalUni
            - value: '269'
              newvalue: aluEponLogicalLink
            - value: '270'
              newvalue: aluGponOnu
            - value: '271'
              newvalue: aluGponPhysicalUni
            - value: '272'
              newvalue: vmwareNicTeam
            - value: '277'
              newvalue: docsOfdmDownstream
            - value: '278'
              newvalue: docsOfdmaUpstream
            - value: '279'
              newvalue: gfast
            - value: '280'
              newvalue: sdci
            - value: '281'
              newvalue: xboxWireless
            - value: '282'
              newvalue: fastdsl
            - value: '283'
              newvalue: docsCableScte55d1FwdOob
            - value: '284'
              newvalue: docsCableScte55d1RetOob
            - value: '285'
              newvalue: docsCableScte55d2DsOob
            - value: '286'
              newvalue: docsCableScte55d2UsOob
            - value: '287'
              newvalue: docsCableNdf
            - value: '288'
              newvalue: docsCableNdr
            - value: '289'
              newvalue: ptm
            - value: '290'
              newvalue: ghn
        - uuid: 8de09e0fdf2845799e387d182da139c7
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
        - uuid: 62614cd4421b45bbbe2e2b06679af929
          name: 'WWP-LEOS-CHASSIS-MIB::wwpLeosChassisFanModuleStatus'
          mappings:
            - value: '1'
              newvalue: OK
            - value: '2'
              newvalue: Pending
            - value: '3'
              newvalue: Failure
        - uuid: 37ba73ce2d34442b93cb781eea12b6e0
          name: 'WWP-LEOS-CHASSIS-MIB::wwpLeosChassisPowerSupplyState'
          mappings:
            - value: '1'
              newvalue: Online
            - value: '2'
              newvalue: Offline
            - value: '3'
              newvalue: Faulted
        - uuid: e4482198eb8645908b11cde87371ea03
          name: 'WWP-LEOS-SYSTEM-CONFIG-MIB::CpuLoadState'
          mappings:
            - value: '1'
              newvalue: normal
            - value: '2'
              newvalue: warning
            - value: '3'
              newvalue: degraded
            - value: '4'
              newvalue: faulted
        - uuid: 190bc7b91c2649d989523cf2fadf8201
          name: 'WWP-LEOS-SYSTEM-CONFIG-MIB::FilesystemState'
          mappings:
            - value: '1'
              newvalue: normal
            - value: '2'
              newvalue: warning
            - value: '3'
              newvalue: degraded
            - value: '4'
              newvalue: faulted
        - uuid: e8261a3a0c2f4d69b5be9b070abf9ce9
          name: zabbix.host.available
          mappings:
            - value: '0'
              newvalue: 'not available'
            - value: '1'
              newvalue: available
            - value: '2'
              newvalue: unknown
    - uuid: aa3ce9bd8c1d40a2b0f83f9e642e88ee
      template: 'Cisco IOS by SNMP'
      name: 'Cisco IOS by SNMP'
      description: |
        Template Cisco IOS Software releases 12.2(3.5) or later
        
        MIBs used:
        CISCO-MEMORY-POOL-MIB
        IF-MIB
        EtherLike-MIB
        HOST-RESOURCES-MIB
        SNMPv2-MIB
        CISCO-ENVMON-MIB
        CISCO-PROCESS-MIB
        ENTITY-MIB
        
        Known Issues:
        
          Description: no if(in|out)(Errors|Discards) are available for vlan ifType
          Version: IOS for example: 12.1(22)EA11, 15.4(3)M2
          Device: C2911, C7600
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        ### Known Issues
        
        - Description: no if(in|out)(Errors|Discards) are available for vlan ifType
          - Version: IOS for example: 12.1(22)EA11, 15.4(3)M2
          - Device: C2911, C7600
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: 'Templates/Network devices'
      items:
        - uuid: f0a3f0b82e32488aa22929fe035825cb
          name: 'ICMP ping'
          type: SIMPLE
          key: icmpping
          description: |
            The host accessibility by ICMP ping.
            
            0 - ICMP ping fails;
            1 - ICMP ping successful.
          valuemap:
            name: 'Service state'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 77e52d690bc043e389ad8d705dbb86b9
              expression: 'max(/Cisco IOS by SNMP/icmpping,#3)=0'
              name: 'Cisco IOS: Unavailable by ICMP ping'
              priority: HIGH
              description: 'Last three attempts returned timeout. Please check device connectivity.'
              tags:
                - tag: scope
                  value: availability
        - uuid: 0c081f94e6094ad29e1fbc2a3424bedb
          name: 'ICMP loss'
          type: SIMPLE
          key: icmppingloss
          value_type: FLOAT
          units: '%'
          description: 'The percentage of lost packets.'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 62b3c0a2654f4372a1bad40a0fd2898d
              expression: 'min(/Cisco IOS by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS by SNMP/icmppingloss,5m)<100'
              name: 'Cisco IOS: High ICMP ping loss'
              opdata: 'Loss: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'ICMP packets loss detected.'
              dependencies:
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: dab9ef1df04d403faa4910bf51559035
          name: 'ICMP response time'
          type: SIMPLE
          key: icmppingsec
          value_type: FLOAT
          units: s
          description: 'The ICMP ping response time (in seconds).'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 1ba34b5e344147d5b27431906037bc04
              expression: 'avg(/Cisco IOS by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
              name: 'Cisco IOS: High ICMP ping response time'
              opdata: 'Value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Average ICMP response time is too high.'
              dependencies:
                - name: 'Cisco IOS: High ICMP ping loss'
                  expression: 'min(/Cisco IOS by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS by SNMP/icmppingloss,5m)<100'
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: a8734672a10d41c2ba7c1f00171bb93e
          name: 'Cisco IOS: SNMP walk EtherLike-MIB interfaces'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.10.7.2.1.19,1.3.6.1.2.1.2.2.1.8,1.3.6.1.2.1.31.1.1.1.18,1.3.6.1.2.1.31.1.1.1.1,1.3.6.1.2.1.2.2.1.2]'
          key: net.if.duplex.walk
          history: '0'
          value_type: TEXT
          description: 'Discovering interfaces from IF-MIB and EtherLike-MIB. Interfaces with `up(1)` Operational Status are discovered.'
          tags:
            - tag: component
              value: raw
        - uuid: 58168a9cd5464229a9cbb3fb0c978e85
          name: 'Cisco IOS: SNMP walk network interfaces'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.2.2.1.8,1.3.6.1.2.1.2.2.1.7,1.3.6.1.2.1.31.1.1.1.18,1.3.6.1.2.1.31.1.1.1.1,1.3.6.1.2.1.2.2.1.2,1.3.6.1.2.1.2.2.1.3,1.3.6.1.2.1.31.1.1.1.6,1.3.6.1.2.1.31.1.1.1.10,1.3.6.1.2.1.2.2.1.14,1.3.6.1.2.1.2.2.1.20,1.3.6.1.2.1.2.2.1.19,1.3.6.1.2.1.2.2.1.13,1.3.6.1.2.1.31.1.1.1.15]'
          key: net.if.walk
          history: '0'
          value_type: TEXT
          description: 'Discovering interfaces from IF-MIB.'
          tags:
            - tag: component
              value: raw
        - uuid: 7eb9bdaf14274e1a99c0ff2ac17f0723
          name: 'Cisco IOS: SNMP walk fans'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.4.1.2,1.3.6.1.4.1.9.9.13.1.4.1.3]'
          key: sensor.fans.walk
          history: '0'
          value_type: TEXT
          description: 'Discovering system fans.'
          tags:
            - tag: component
              value: raw
        - uuid: 0a44183c252e4160837cfd960f755097
          name: 'Cisco IOS: SNMP walk PSUs'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.5.1.2,1.3.6.1.4.1.9.9.13.1.5.1.3]'
          key: sensor.psu.walk
          history: '0'
          value_type: TEXT
          description: 'The table of power supply status maintained by the environmental monitor card.'
          tags:
            - tag: component
              value: raw
        - uuid: e64d32fe956f481eb6a3899f8c1e09d9
          name: 'Cisco IOS: SNMP walk temperature sensors'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.3.1.2,1.3.6.1.4.1.9.9.13.1.3.1.3,1.3.6.1.4.1.9.9.13.1.3.1.6]'
          key: sensor.temp.walk
          history: '0'
          value_type: TEXT
          description: 'Discovery of ciscoEnvMonTemperatureTable (ciscoEnvMonTemperatureDescr), a table of ambient temperature status maintained by the environmental monitor.'
          tags:
            - tag: component
              value: raw
        - uuid: 8684622dc8d446f0b17ba7687d47b09d
          name: 'SNMP traps (fallback)'
          type: SNMP_TRAP
          key: snmptrap.fallback
          value_type: LOG
          description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
          logtimefmt: 'hh:mm:sszyyyy/MM/dd'
          tags:
            - tag: component
              value: network
        - uuid: 622767f4dbab49039c63990e4fc58eaa
          name: 'System contact details'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
          key: 'system.contact[sysContact.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
          inventory_link: CONTACT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 3208aa4fb7c14623bc5129018172e3b9
          name: 'Cisco IOS: SNMP walk system CPUs'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.109.1.1.1.1.5,1.3.6.1.4.1.9.9.109.1.1.1.1.8]'
          key: system.cpu.walk
          history: '0'
          value_type: TEXT
          description: |
            If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable,
            indexed with cpmCPUTotalIndex.
            This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
            like different CPU chips, group of CPUs, or CPUs in different modules/cards.
            In case of a single CPU, cpmCPUTotalTable has only one entry.
          tags:
            - tag: component
              value: raw
        - uuid: ae8e0ecf937c4a9492fe67cc5cd07d6f
          name: 'System description'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.descr[sysDescr.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            A textual description of the entity. This value should
            include the full name and version identification of the system's hardware type, software operating-system, and
            networking software.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: a8062a554b8d447f81f7b9ef3229c7e9
          name: 'Hardware model name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.13.1]'
          key: system.hw.model
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB'
          inventory_link: MODEL
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 223fd2fe9699419c824ae310f1c8a631
          name: 'Hardware serial number'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.11.1]'
          key: system.hw.serialnumber
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB'
          inventory_link: SERIALNO_A
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 7d1460eaf7ad46fd8a1b5df3c20051ba
              expression: 'last(/Cisco IOS by SNMP/system.hw.serialnumber,#1)<>last(/Cisco IOS by SNMP/system.hw.serialnumber,#2) and length(last(/Cisco IOS by SNMP/system.hw.serialnumber))>0'
              name: 'Cisco IOS: Device has been replaced'
              event_name: 'Cisco IOS: Device has been replaced (new serial number received)'
              priority: INFO
              description: 'Device serial number has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 1c8c82e3502c46d9b7603812d02ce27b
          name: 'Cisco IOS: SNMP walk entity serial numbers'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.47.1.1.1.1.5,1.3.6.1.2.1.47.1.1.1.1.7,1.3.6.1.2.1.47.1.1.1.1.11]'
          key: system.hw.serialnumber.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: ENTITY-MIB
            Entity Serial Numbers Discovery.
          tags:
            - tag: component
              value: raw
        - uuid: f2173cd0262d4a60b5e134e00fed78e6
          name: 'Uptime (hardware)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
          key: 'system.hw.uptime[hrSystemUptime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: HOST-RESOURCES-MIB
            The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: 361ca9979352405a9dfb9bc13e542a2f
          name: 'System location'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
          key: 'system.location[sysLocation.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
          inventory_link: LOCATION
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 2ddace242ffe487a8641e035cf04dcdd
          name: 'System name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
          key: system.name
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
          inventory_link: NAME
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 2105744d4efd4a239c5b6ab615746a40
              expression: 'last(/Cisco IOS by SNMP/system.name,#1)<>last(/Cisco IOS by SNMP/system.name,#2) and length(last(/Cisco IOS by SNMP/system.name))>0'
              name: 'Cisco IOS: System name has changed'
              event_name: 'Cisco IOS: System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'The name of the system has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
                - tag: scope
                  value: security
        - uuid: fe1dbb23a8794ce9ae3f6c37e63082f8
          name: 'Uptime (network)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
          key: 'system.net.uptime[sysUpTime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: SNMPv2-MIB
            Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: 290d095f8fbc4cd1aa5ed3d304434f4b
          name: 'System object ID'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
          key: 'system.objectid[sysObjectID.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed.  For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 5fe7bc2d46a748d3ace7d1dd0de8127b
          name: 'Operating system'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.sw.os[sysDescr.0]'
          delay: 1h
          value_type: CHAR
          description: 'MIB: SNMPv2-MIB'
          inventory_link: OS
          preprocessing:
            - type: REGEX
              parameters:
                - 'Version (.+), RELEASE'
                - \1
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: os
          triggers:
            - uuid: 2d97173405594074bfe2cc6f3d0cae70
              expression: 'last(/Cisco IOS by SNMP/system.sw.os[sysDescr.0],#1)<>last(/Cisco IOS by SNMP/system.sw.os[sysDescr.0],#2) and length(last(/Cisco IOS by SNMP/system.sw.os[sysDescr.0]))>0'
              name: 'Cisco IOS: Operating system description has changed'
              priority: INFO
              description: 'The description of the operating system has changed. Possible reasons are that the system has been updated or replaced. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: System name has changed'
                  expression: 'last(/Cisco IOS by SNMP/system.name,#1)<>last(/Cisco IOS by SNMP/system.name,#2) and length(last(/Cisco IOS by SNMP/system.name))>0'
              tags:
                - tag: scope
                  value: notice
        - uuid: ed5f0ebd013644adbad71e8b93d481de
          name: 'Cisco IOS: SNMP walk memory'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.48.1.1.1.2,1.3.6.1.4.1.9.9.48.1.1.1.5,1.3.6.1.4.1.9.9.48.1.1.1.6]'
          key: vm.memory.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: CISCO-MEMORY-POOL-MIB
            Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
            http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html.
          tags:
            - tag: component
              value: raw
        - uuid: cf9bd75166704b2f93446ece0c2d0fab
          name: 'SNMP agent availability'
          type: INTERNAL
          key: 'zabbix[host,snmp,available]'
          description: |
            Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
            Possible values:
            0 - not available
            1 - available
            2 - unknown
          valuemap:
            name: zabbix.host.available
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: df7c9ed5d3164e73a792f82ecad6ba13
              expression: 'max(/Cisco IOS by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
              name: 'Cisco IOS: No SNMP data collection'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
              dependencies:
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: f7404c15a9dc497b8e67ab014ca43890
          name: 'CPU Discovery'
          type: DEPENDENT
          key: cpu.discovery
          description: |
            If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable,
            indexed with cpmCPUTotalIndex.
            This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
            like different CPU chips, group of CPUs, or CPUs in different modules/cards.
            In case of a single CPU, cpmCPUTotalTable has only one entry.
          item_prototypes:
            - uuid: b124144899bd4149a6257440574d4341
              name: '#{#SNMPINDEX}: CPU utilization'
              type: DEPENDENT
              key: 'system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}]'
              value_type: FLOAT
              units: '%'
              description: |
                MIB: CISCO-PROCESS-MIB
                The cpmCPUTotal5minRev MIB object provides a more accurate view of the performance of the router over time than the MIB objects cpmCPUTotal1minRev and cpmCPUTotal5secRev . These MIB objects are not accurate because they look at CPU at one minute and five second intervals, respectively. These MIBs enable you to monitor the trends and plan the capacity of your network. The recommended baseline rising threshold for cpmCPUTotal5minRev is 90 percent. Depending on the platform, some routers that run at 90 percent, for example, 2500s, can exhibit performance degradation versus a high-end router, for example, the 7500 series, which can operate fine.
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 5m
              master_item:
                key: system.cpu.walk
              tags:
                - tag: component
                  value: cpu
              trigger_prototypes:
                - uuid: 89b292f6748f49fa8b0f23f5378944b2
                  expression: 'min(/Cisco IOS by SNMP/system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}'
                  name: 'Cisco IOS: #{#SNMPINDEX}: High CPU utilization'
                  event_name: 'Cisco IOS: #{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
                  opdata: 'Current utilization: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'The CPU utilization is too high. The system might be slow to respond.'
                  tags:
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: e93fccb08b3a4150b986a54eaccbd1c5
              name: '#{#SNMPINDEX}: CPU utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'system.cpu.util[cpmCPUTotal5minRev.{#SNMPINDEX}]'
          master_item:
            key: system.cpu.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.109.1.1.1.1.5
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: e8c57e436eed4958a0a83c7afd6a07e3
          name: 'Entity Serial Numbers Discovery'
          type: DEPENDENT
          key: entity_sn.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#ENT_CLASS}'
                value: ^3$
              - macro: '{#ENT_SN}'
                value: .+
          item_prototypes:
            - uuid: e86b198ba7b7451482dfb8ab07553abf
              name: '{#ENT_NAME}: Hardware serial number'
              type: DEPENDENT
              key: 'system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]'
              value_type: CHAR
              description: 'MIB: ENTITY-MIB'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: system.hw.serialnumber.walk
              tags:
                - tag: component
                  value: system
              trigger_prototypes:
                - uuid: e5477e6803974060ba3ce8a131d97d40
                  expression: 'last(/Cisco IOS by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#2) and length(last(/Cisco IOS by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]))>0'
                  name: 'Cisco IOS: {#ENT_NAME}: Device has been replaced'
                  event_name: 'Cisco IOS: {#ENT_NAME}: Device has been replaced (new serial number received)'
                  priority: INFO
                  description: 'Device serial number has changed. Acknowledge to close the problem manually.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
          master_item:
            key: system.hw.serialnumber.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#ENT_CLASS}'
                - 1.3.6.1.2.1.47.1.1.1.1.5
                - '0'
                - '{#ENT_NAME}'
                - 1.3.6.1.2.1.47.1.1.1.1.7
                - '0'
                - '{#ENT_SN}'
                - 1.3.6.1.2.1.47.1.1.1.1.11
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 98eebfb8ed28460c8e5982af61f18931
          name: 'FAN Discovery'
          type: DEPENDENT
          key: fan.discovery
          description: 'The table of fan status maintained by the environmental monitor.'
          item_prototypes:
            - uuid: d7188ce8f18442d882c585ef044de2cf
              name: '{#SENSOR_INFO}: Fan status'
              type: DEPENDENT
              key: 'sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}]'
              trends: '0'
              description: 'MIB: CISCO-ENVMON-MIB'
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.4.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.fans.walk
              tags:
                - tag: component
                  value: fan
              trigger_prototypes:
                - uuid: e64b0790509c4a21b7ead959fa1b7951
                  expression: 'count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the fan unit'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 33207a0c65e14a5d9355690c8d9d54e2
                  expression: 'count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"notFunctioning\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the fan unit'
                  dependencies:
                    - name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in critical state'
                      expression: 'count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          master_item:
            key: sensor.fans.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SENSOR_INFO}'
                - 1.3.6.1.4.1.9.9.13.1.4.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: d7144482448b4bb5b4f59f18365ecb04
          name: 'Memory Discovery'
          type: DEPENDENT
          key: memory.discovery
          description: |
            Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
            http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
          item_prototypes:
            - uuid: b05c256436e14f72a3dea21d48b98a9c
              name: '{#SNMPVALUE}: Free memory'
              type: DEPENDENT
              key: 'vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-MEMORY-POOL-MIB
                Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: vm.memory.walk
              tags:
                - tag: component
                  value: memory
            - uuid: 58e8eeb2ddf74c6e86e02845f0d38784
              name: '{#SNMPVALUE}: Used memory'
              type: DEPENDENT
              key: 'vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-MEMORY-POOL-MIB
                Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: vm.memory.walk
              tags:
                - tag: component
                  value: memory
            - uuid: 5407d019461f45b895663de105d75298
              name: '{#SNMPVALUE}: Memory utilization'
              type: CALCULATED
              key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
              value_type: FLOAT
              units: '%'
              params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100'
              description: 'Memory utilization in %.'
              tags:
                - tag: component
                  value: memory
              trigger_prototypes:
                - uuid: ee300a1f9f644bdbb545bd65d59d4837
                  expression: 'min(/Cisco IOS by SNMP/vm.memory.util[vm.memory.util.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
                  name: 'Cisco IOS: {#SNMPVALUE}: High memory utilization'
                  event_name: 'Cisco IOS: {#SNMPVALUE}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
                  priority: AVERAGE
                  description: 'The system is running out of free memory.'
                  tags:
                    - tag: scope
                      value: capacity
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: 9b18855195cc45a8a84550544bc6d7e7
              name: '{#SNMPVALUE}: Memory utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
          master_item:
            key: vm.memory.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.48.1.1.1.2
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: b416fb001e46464f847578a50451164b
          name: 'Network interfaces discovery'
          type: DEPENDENT
          key: net.if.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.MATCHES}'
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.MATCHES}'
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.MATCHES}'
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.MATCHES}'
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
          description: 'Discovering interfaces from IF-MIB.'
          item_prototypes:
            - uuid: 6d4b70db5618436f8d5096098d94ad39
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
              type: DEPENDENT
              key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of inbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 1cdd9e77a6f9420da700b903e2fc0966
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
              type: DEPENDENT
              key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 22cb1c9d188c4274a4f9ac815832fc21
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
              type: DEPENDENT
              key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 75182ac83419420194cf34c4e5f92a62
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
              type: DEPENDENT
              key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of outbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: c31a98b3b9784cd699b5d0dadbc3dc4a
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
              type: DEPENDENT
              key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 973dbf88a72d4f5897bb199b5d41941a
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
              type: DEPENDENT
              key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: e24cccb1e89446268b30830ac01d59f8
              name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
              type: DEPENDENT
              key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]'
              trends: '0'
              units: bps
              description: |
                MIB: IF-MIB
                An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n`, then the speed of the interface is somewhere in the range of `n-500,000` to `n+499,999`.
                For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.
                For a sub-layer which has no concept of bandwidth, this object should be zero.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}'
                    - '0'
                - type: MULTIPLIER
                  parameters:
                    - '1000000'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 6ecd6a8ec5fa487c836adb69e72915e7
              name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
              type: DEPENDENT
              key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The current operational state of the interface.
                - The testing(3) state indicates that no operational packet scan be passed
                - If ifAdminStatus is down(2) then ifOperStatus should be down(2)
                - If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
                - It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
                - It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
                - It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
              valuemap:
                name: 'IF-MIB::ifOperStatus'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: 6bf13b6cac1b438bbfe384a746646597
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
                  name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    This trigger expression works as follows:
                    1. It can be triggered if the operations status is down.
                    2. `{$IFCONTROL:"{#IFNAME}"}=1` - a user can redefine the context macro to "0", marking this interface as not important. No new trigger will be fired if this interface is down.
                    3. `last(/TEMPLATE_NAME/METRIC,#1)<>last(/TEMPLATE_NAME/METRIC,#2)` - the trigger fires only if the operational status was up to (1) sometime before (so, does not fire for "eternal off" interfaces.)
                    
                    WARNING: if closed manually - it will not fire again on the next poll, because of .diff.
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: availability
            - uuid: 51e3b46e009944d594fd4bdadeac83aa
              name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
              type: DEPENDENT
              key: 'net.if.type[ifType.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The type of interface.
                Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
                through updating the syntax of the IANAifType textual convention.
              valuemap:
                name: 'IF-MIB::ifType'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
          trigger_prototypes:
            - uuid: 3783d41e790f4d1e9ebb7340d82edc1f
              expression: |
                change(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
                and (
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or
                last(/Cisco IOS by SNMP/net.if.type[ifType.{#SNMPINDEX}])=117
                )
                and
                (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                (change(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or
                (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before'
              opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
              priority: INFO
              description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 17a07d8b87c04874bfbf12009e1da65f
              expression: |
                (avg(/Cisco IOS by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
                avg(/Cisco IOS by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
                last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                avg(/Cisco IOS by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
                avg(/Cisco IOS by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco IOS by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage'
              event_name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
              opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 0c1c6f8fc17849a68a12813389da6373
              expression: |
                min(/Cisco IOS by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
                or min(/Cisco IOS by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                max(/Cisco IOS by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
                and max(/Cisco IOS by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High error rate'
              event_name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
              opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'It recovers when it is below 80% of the `{$IF.ERRORS.WARN:"{#IFNAME}"}` threshold.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
          graph_prototypes:
            - uuid: 171ff5fe2b1543aa869ab56f800b52a5
              name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
                - sortorder: '1'
                  drawtype: BOLD_LINE
                  color: F63100
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
                - sortorder: '2'
                  color: 00611C
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
                - sortorder: '3'
                  color: F7941D
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
                - sortorder: '4'
                  color: FC6EA3
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
                - sortorder: '5'
                  color: 6C59DC
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS by SNMP'
                    key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
          master_item:
            key: net.if.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#IFOPERSTATUS}'
                - 1.3.6.1.2.1.2.2.1.8
                - '0'
                - '{#IFADMINSTATUS}'
                - 1.3.6.1.2.1.2.2.1.7
                - '0'
                - '{#IFALIAS}'
                - 1.3.6.1.2.1.31.1.1.1.18
                - '0'
                - '{#IFNAME}'
                - 1.3.6.1.2.1.31.1.1.1.1
                - '0'
                - '{#IFDESCR}'
                - 1.3.6.1.2.1.2.2.1.2
                - '0'
                - '{#IFTYPE}'
                - 1.3.6.1.2.1.2.2.1.3
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: d79d3a6026bd4d1f877fc164a3eb7f84
          name: 'EtherLike-MIB Discovery'
          type: DEPENDENT
          key: net.if.duplex.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#IFOPERSTATUS}'
                value: '1'
              - macro: '{#SNMPVALUE}'
                value: (2|3)
              - macro: '{#SNMPVALUE}'
                operator: EXISTS
          description: 'Discovering interfaces from IF-MIB and EtherLike-MIB. Interfaces with `up(1)` Operational Status are discovered.'
          item_prototypes:
            - uuid: 338e81aa226b41dd956bc1f9d10c0a87
              name: 'Interface {#IFNAME}({#IFALIAS}): Duplex status'
              type: DEPENDENT
              key: 'net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}]'
              description: |
                MIB: EtherLike-MIB
                The current mode of operation of the MAC entity. `unknown` indicates that the current duplex mode could not be determined.
                Management control of the duplex mode is accomplished through the MAU MIB. When an interface does not support autonegotiation or when autonegotiation is not enabled, the duplex mode is controlled using `ifMauDefaultType`. When autonegotiation is supported and enabled, duplex mode is controlled using `ifMauAutoNegAdvertisedBits`. In either case, the currently operating duplex mode in reflected both in this object and in `ifMauType`.
                Note that this object provides redundant information with `ifMauType`. Normally, redundant objects are discouraged. However, in this instance, it allows a management application to determine the duplex status of an interface without having to know every possible value of `ifMauType`. This was felt to be sufficiently valuable to justify the redundancy.
                Reference: [IEEE 802.3 Std.], 30.3.1.1.32,aDuplexStatus.
              valuemap:
                name: 'EtherLike-MIB::dot3StatsDuplexStatus'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: net.if.duplex.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: 251a80d2f6824e33b8edfca94e0f335d
                  expression: 'last(/Cisco IOS by SNMP/net.if.duplex[dot3StatsDuplexStatus.{#SNMPINDEX}])=2'
                  name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): In half-duplex mode'
                  priority: WARNING
                  description: 'Please check autonegotiation settings and cabling.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: performance
          master_item:
            key: net.if.duplex.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.2.1.10.7.2.1.19
                - '0'
                - '{#IFOPERSTATUS}'
                - 1.3.6.1.2.1.2.2.1.8
                - '0'
                - '{#IFALIAS}'
                - 1.3.6.1.2.1.31.1.1.1.18
                - '0'
                - '{#IFNAME}'
                - 1.3.6.1.2.1.31.1.1.1.1
                - '0'
                - '{#IFDESCR}'
                - 1.3.6.1.2.1.2.2.1.2
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 4ffaea3ee50c424baa1080586d92ba2f
          name: 'PSU Discovery'
          type: DEPENDENT
          key: psu.discovery
          description: 'The table of power supply status maintained by the environmental monitor card.'
          item_prototypes:
            - uuid: 22ac9f6f30eb4f4b9d009db4adba7f29
              name: '{#SENSOR_INFO}: Power supply status'
              type: DEPENDENT
              key: 'sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}]'
              trends: '0'
              description: 'MIB: CISCO-ENVMON-MIB'
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.5.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.psu.walk
              tags:
                - tag: component
                  value: power
              trigger_prototypes:
                - uuid: 3068fc8f0b0749d4b76d97d7f500e36d
                  expression: 'count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the power supply unit for errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 194444afb5d143a0a0734120e26066e4
                  expression: 'count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the power supply unit for errors'
                  dependencies:
                    - name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in critical state'
                      expression: 'count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          master_item:
            key: sensor.psu.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SENSOR_INFO}'
                - 1.3.6.1.4.1.9.9.13.1.5.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 2751c1ff3f334145971aa400440631fe
          name: 'Temperature Discovery'
          type: DEPENDENT
          key: temperature.discovery
          description: |
            Discovery of ciscoEnvMonTemperatureTable (ciscoEnvMonTemperatureDescr), a table of ambient temperature status
            maintained by the environmental monitor.
          item_prototypes:
            - uuid: 7985d9ceeaeb4a4f8e39e02730e91d29
              name: '{#SNMPVALUE}: Temperature status'
              type: DEPENDENT
              key: 'sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CISCO-ENVMON-MIB
                The current state of the test point being instrumented.
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.3.1.6.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.temp.walk
              tags:
                - tag: component
                  value: temperature
            - uuid: c1fb8e8099ed496a9af8d3e36d6d3c8b
              name: '{#SNMPVALUE}: Temperature'
              type: DEPENDENT
              key: 'sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CISCO-ENVMON-MIB
                The current measurement of the test point being instrumented.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.3.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.temp.walk
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 64888770ef6a44089593e78d4d2c528d
                  expression: 'avg(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'min(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}+3'
                  name: 'Cisco IOS: {#SNMPVALUE}: Temperature is too low'
                  event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          trigger_prototypes:
            - uuid: 95f562a5b2fb4e17b091eaed07c77d4a
              expression: |
                avg(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}
                or
                last(/Cisco IOS by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_CRIT_STATUS}
                or
                last(/Cisco IOS by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_DISASTER_STATUS}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'max(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
              name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold'
              event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:"{#SNMPVALUE}"}'
              opdata: 'Current value: {ITEM.LASTVALUE1}'
              priority: HIGH
              description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
            - uuid: 5809893fb23a452ebad327c595322619
              expression: |
                avg(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SNMPVALUE}"}
                or
                last(/Cisco IOS by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_WARN_STATUS}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'max(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_WARN:"{#SNMPVALUE}"}-3'
              name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above warning threshold'
              event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:"{#SNMPVALUE}"}'
              opdata: 'Current value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
              dependencies:
                - name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold'
                  expression: |
                    avg(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}
                    or
                    last(/Cisco IOS by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_CRIT_STATUS}
                    or
                    last(/Cisco IOS by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_DISASTER_STATUS}
                  recovery_expression: 'max(/Cisco IOS by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
          master_item:
            key: sensor.temp.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.13.1.3.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
      tags:
        - tag: class
          value: network
        - tag: target
          value: cisco
        - tag: target
          value: cisco-ios
      macros:
        - macro: '{$CPU.UTIL.CRIT}'
          value: '90'
          config:
            type: TEXT
            priority: '2'
            section_name: Thresholds
            label: 'Threshold for CPU utilization (critical)'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$FAN_CRIT_STATUS:"critical"}'
          value: '3'
          description: 'Value indicating the FAN status for the critical condition.'
          config:
            type: TEXT
            priority: '16'
            section_name: Other
            label: 'Value of FAN status for state of `critical`'
            description: 'Value indicating the FAN status for the critical condition.'
        - macro: '{$FAN_CRIT_STATUS:"shutdown"}'
          value: '4'
          description: 'Value indicating the FAN status for the shutdown condition.'
          config:
            type: TEXT
            priority: '17'
            section_name: Other
            label: 'Value of FAN status for state of `shutdown`'
            description: 'Value indicating the FAN status for the shutdown condition.'
        - macro: '{$FAN_WARN_STATUS:"notFunctioning"}'
          value: '6'
          description: 'Value indicating the FAN status for the not-functioning condition.'
          config:
            type: TEXT
            priority: '18'
            section_name: Other
            label: 'Value of FAN status for state of `notFunctioning`'
            description: 'Value indicating the FAN status for the not-functioning condition.'
        - macro: '{$FAN_WARN_STATUS:"warning"}'
          value: '2'
          description: 'Value indicating the FAN status for the warning condition.'
          config:
            type: TEXT
            priority: '15'
            section_name: Other
            label: 'Value of FAN status for state of `warning`'
            description: 'Value indicating the FAN status for the warning condition.'
        - macro: '{$ICMP_LOSS_WARN}'
          value: '20'
          description: 'Warning threshold of ICMP packet loss in %.'
          config:
            type: TEXT
            priority: '20'
            section_name: Thresholds
            label: 'Threshold of ICMP packet loss'
            description: 'Warning threshold of ICMP packet loss in %. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_RESPONSE_TIME_WARN}'
          value: '0.15'
          description: 'Warning threshold of the average ICMP response time in seconds.'
          config:
            type: TEXT
            priority: '21'
            section_name: Thresholds
            label: 'Threshold of the average ICMP response'
            description: 'Warning threshold of the average ICMP response time in seconds. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.ERRORS.WARN}'
          value: '2'
          description: 'Warning threshold of error packet rate. Can be used with interface name as context.'
          config:
            type: TEXT
            priority: '24'
            section_name: Thresholds
            label: 'Threshold of error packet rate'
            description: 'Warning threshold of error packet rate. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.UTIL.MAX}'
          value: '90'
          description: 'Used as a threshold in the interface utilization trigger.'
          config:
            type: TEXT
            priority: '23'
            section_name: Thresholds
            label: 'The threshold in the interface utilization'
            description: 'Used as a threshold in the interface utilization trigger. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IFCONTROL}'
          value: '1'
          description: 'Link status trigger will be fired only for interfaces where the context macro equals "1".'
          config:
            type: CHECKBOX
            priority: '22'
            label: 'Interfaces control'
            description: 'Fire a trigger when the interface operational status changes to "Link down".'
            options:
              - checked: '1'
                unchecked: '0'
        - macro: '{$MEMORY.UTIL.MAX}'
          value: '90'
          config:
            type: TEXT
            priority: '1'
            section_name: Thresholds
            label: 'Threshold for memory utilization'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$NET.IF.IFADMINSTATUS.MATCHES}'
          value: '^.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '29'
            section_name: Filters
            label: 'Filter network interface by adminstatus'
            description: 'Regex string to include discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
          value: ^2$
          description: 'Ignore `down(2)` administrative status'
          config:
            type: TEXT
            priority: '30'
            section_name: Filters
            label: 'Filter network interface by adminstatus (exclude)'
            description: 'Regex string to exclude discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFALIAS.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '33'
            section_name: Filters
            label: 'Filter network interface by alias'
            description: 'Regex string to include discovered interface by alias.'
        - macro: '{$NET.IF.IFALIAS.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '34'
            section_name: Filters
            label: 'Filter network interface by alias (exclude)'
            description: 'Regex string to exclude discovered interface by alias.'
        - macro: '{$NET.IF.IFDESCR.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '31'
            section_name: Filters
            label: 'Filter network interface by description'
            description: 'Regex string to include discovered interface by description.'
        - macro: '{$NET.IF.IFDESCR.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '32'
            section_name: Filters
            label: 'Filter network interface by description (exclude)'
            description: 'Regex string to exclude discovered interface by description.'
        - macro: '{$NET.IF.IFNAME.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '25'
            section_name: Filters
            label: 'Filter for network interface by name'
            description: 'Regex string to include discovered interface by name.'
        - macro: '{$NET.IF.IFNAME.NOT_MATCHES}'
          value: '(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})'
          description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0 bridge` by default.'
          config:
            type: TEXT
            priority: '26'
            section_name: Filters
            label: 'Filter for network interface by name (exclude)'
            description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0` bridge by default.'
        - macro: '{$NET.IF.IFOPERSTATUS.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '27'
            section_name: Filters
            label: 'Filter network interface by status'
            description: 'Regex string to include discovered interface by status.'
        - macro: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
          value: ^6$
          description: 'Ignore `notPresent(6)`'
          config:
            type: TEXT
            priority: '28'
            section_name: Filters
            label: 'Filter network interface by status (exclude)'
            description: 'Regex string to exclude discovered interface by status.'
        - macro: '{$NET.IF.IFTYPE.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '35'
            section_name: Filters
            label: 'Filter network interface by type'
            description: 'Regex string to include discovered interface by type.'
        - macro: '{$NET.IF.IFTYPE.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '36'
            section_name: Filters
            label: 'Filter network interface by type (exclude)'
            description: 'Regex string to exclude discovered interface by type.'
        - macro: '{$PSU_CRIT_STATUS:"critical"}'
          value: '3'
          description: 'Value indicating the PSU status for the critical condition.'
          config:
            type: TEXT
            priority: '12'
            section_name: Other
            label: 'Value of PSU status for state of `critical`'
            description: 'Value indicating the PSU status for the critical condition.'
        - macro: '{$PSU_CRIT_STATUS:"shutdown"}'
          value: '4'
          description: 'Value indicating the PSU status for the shutdown condition.'
          config:
            type: TEXT
            priority: '13'
            section_name: Other
            label: 'Value of PSU status for state of `shutdown`'
            description: 'Value indicating the PSU status for the shutdown condition.'
        - macro: '{$PSU_WARN_STATUS:"notFunctioning"}'
          value: '6'
          description: 'Value indicating the PSU status for the not-functioning condition.'
          config:
            type: TEXT
            priority: '14'
            section_name: Other
            label: 'Value of PSU status for state of `notFunctioning`'
            description: 'Value indicating the PSU status for the not-functioning condition.'
        - macro: '{$PSU_WARN_STATUS:"warning"}'
          value: '2'
          description: 'Value indicating the PSU status for the warning condition.'
          config:
            type: TEXT
            priority: '11'
            section_name: Other
            label: 'Value of PSU status for state of `warning`'
            description: 'Value indicating the PSU status for the warning condition.'
        - macro: '{$SNMP.TIMEOUT}'
          value: 5m
          description: 'Time interval for the SNMP availability trigger.'
          config:
            type: TEXT
            priority: '19'
            section_name: Other
            label: 'Time interval'
            description: 'Time interval for the SNMP availability trigger.'
        - macro: '{$TEMP_CRIT}'
          value: '60'
          description: 'Critical threshold for temperature.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Threshold for temperature (critical)'
            description: 'Critical threshold for temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:"CPU"}'
          value: '75'
          description: 'Critical threshold for CPU temperature.'
          config:
            type: TEXT
            priority: '7'
            section_name: Thresholds
            label: 'Threshold for CPU temperature (critical)'
            description: 'Critical threshold for CPU temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT_LOW}'
          value: '5'
          description: 'Critical threshold for low temperature.'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Threshold for low temperature (critical)'
            description: 'Critical threshold for low temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT_STATUS}'
          value: '3'
          description: 'Value indicating the state when the temperature is in critical condition.'
          config:
            type: TEXT
            priority: '9'
            section_name: Other
            label: 'Value for state of `Temperature is critical`'
            description: 'Value indicating the state when the temperature is in critical condition.'
        - macro: '{$TEMP_DISASTER_STATUS}'
          value: '4'
          description: 'Value indicating the state when the temperature is in disaster condition.'
          config:
            type: TEXT
            priority: '10'
            section_name: Other
            label: 'Value for state of `Temperature is disaster`'
            description: 'Value indicating the state when the temperature is in disaster condition.'
        - macro: '{$TEMP_WARN}'
          value: '50'
          description: 'Warning threshold for temperature.'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Threshold for temperature (warning)'
            description: 'Warning threshold for temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:"CPU"}'
          value: '70'
          description: 'Warning threshold for CPU temperature.'
          config:
            type: TEXT
            priority: '6'
            section_name: Thresholds
            label: 'Threshold for CPU temperature (warning)'
            description: 'Warning threshold for CPU temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN_STATUS}'
          value: '2'
          description: 'Value indicating the state when the temperature is in the warning condition.'
          config:
            type: TEXT
            priority: '8'
            section_name: Other
            label: 'Value for state of `Temperature is warning`'
            description: 'Value indicating the state when the temperature is in the warning condition.'
      dashboards:
        - uuid: 9b817c34b74842c8a21827e5d84c4692
          name: 'Network interfaces'
          pages:
            - widgets:
                - type: graphprototype
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco IOS by SNMP'
                        name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
                    - type: STRING
                      name: reference
                      value: AAAAA
      valuemaps:
        - uuid: fb67666002524322b1b9ae9ed1611be5
          name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
          mappings:
            - value: '1'
              newvalue: normal
            - value: '2'
              newvalue: warning
            - value: '3'
              newvalue: critical
            - value: '4'
              newvalue: shutdown
            - value: '5'
              newvalue: notPresent
            - value: '6'
              newvalue: notFunctioning
        - uuid: 36ad5e7621ff466ca89e641c4410c6a1
          name: 'EtherLike-MIB::dot3StatsDuplexStatus'
          mappings:
            - value: '1'
              newvalue: unknown
            - value: '2'
              newvalue: halfDuplex
            - value: '3'
              newvalue: fullDuplex
        - uuid: 6c1104306b5447328703076cb76b64a9
          name: 'IF-MIB::ifOperStatus'
          mappings:
            - value: '1'
              newvalue: up
            - value: '2'
              newvalue: down
            - value: '4'
              newvalue: unknown
            - value: '5'
              newvalue: dormant
            - value: '6'
              newvalue: notPresent
            - value: '7'
              newvalue: lowerLayerDown
        - uuid: 80d8685de68c49d8beb0f96f58baa1ce
          name: 'IF-MIB::ifType'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: regular1822
            - value: '3'
              newvalue: hdh1822
            - value: '4'
              newvalue: ddnX25
            - value: '5'
              newvalue: rfc877x25
            - value: '6'
              newvalue: ethernetCsmacd
            - value: '7'
              newvalue: iso88023Csmacd
            - value: '8'
              newvalue: iso88024TokenBus
            - value: '9'
              newvalue: iso88025TokenRing
            - value: '10'
              newvalue: iso88026Man
            - value: '11'
              newvalue: starLan
            - value: '12'
              newvalue: proteon10Mbit
            - value: '13'
              newvalue: proteon80Mbit
            - value: '14'
              newvalue: hyperchannel
            - value: '15'
              newvalue: fddi
            - value: '16'
              newvalue: lapb
            - value: '17'
              newvalue: sdlc
            - value: '18'
              newvalue: ds1
            - value: '19'
              newvalue: e1
            - value: '20'
              newvalue: basicISDN
            - value: '21'
              newvalue: primaryISDN
            - value: '22'
              newvalue: propPointToPointSerial
            - value: '23'
              newvalue: ppp
            - value: '24'
              newvalue: softwareLoopback
            - value: '25'
              newvalue: eon
            - value: '26'
              newvalue: ethernet3Mbit
            - value: '27'
              newvalue: nsip
            - value: '28'
              newvalue: slip
            - value: '29'
              newvalue: ultra
            - value: '30'
              newvalue: ds3
            - value: '31'
              newvalue: sip
            - value: '32'
              newvalue: frameRelay
            - value: '33'
              newvalue: rs232
            - value: '34'
              newvalue: para
            - value: '35'
              newvalue: arcnet
            - value: '36'
              newvalue: arcnetPlus
            - value: '37'
              newvalue: atm
            - value: '38'
              newvalue: miox25
            - value: '39'
              newvalue: sonet
            - value: '40'
              newvalue: x25ple
            - value: '41'
              newvalue: iso88022llc
            - value: '42'
              newvalue: localTalk
            - value: '43'
              newvalue: smdsDxi
            - value: '44'
              newvalue: frameRelayService
            - value: '45'
              newvalue: v35
            - value: '46'
              newvalue: hssi
            - value: '47'
              newvalue: hippi
            - value: '48'
              newvalue: modem
            - value: '49'
              newvalue: aal5
            - value: '50'
              newvalue: sonetPath
            - value: '51'
              newvalue: sonetVT
            - value: '52'
              newvalue: smdsIcip
            - value: '53'
              newvalue: propVirtual
            - value: '54'
              newvalue: propMultiplexor
            - value: '55'
              newvalue: ieee80212
            - value: '56'
              newvalue: fibreChannel
            - value: '57'
              newvalue: hippiInterface
            - value: '58'
              newvalue: frameRelayInterconnect
            - value: '59'
              newvalue: aflane8023
            - value: '60'
              newvalue: aflane8025
            - value: '61'
              newvalue: cctEmul
            - value: '62'
              newvalue: fastEther
            - value: '63'
              newvalue: isdn
            - value: '64'
              newvalue: v11
            - value: '65'
              newvalue: v36
            - value: '66'
              newvalue: g703at64k
            - value: '67'
              newvalue: g703at2mb
            - value: '68'
              newvalue: qllc
            - value: '69'
              newvalue: fastEtherFX
            - value: '70'
              newvalue: channel
            - value: '71'
              newvalue: ieee80211
            - value: '72'
              newvalue: ibm370parChan
            - value: '73'
              newvalue: escon
            - value: '74'
              newvalue: dlsw
            - value: '75'
              newvalue: isdns
            - value: '76'
              newvalue: isdnu
            - value: '77'
              newvalue: lapd
            - value: '78'
              newvalue: ipSwitch
            - value: '79'
              newvalue: rsrb
            - value: '80'
              newvalue: atmLogical
            - value: '81'
              newvalue: ds0
            - value: '82'
              newvalue: ds0Bundle
            - value: '83'
              newvalue: bsc
            - value: '84'
              newvalue: async
            - value: '85'
              newvalue: cnr
            - value: '86'
              newvalue: iso88025Dtr
            - value: '87'
              newvalue: eplrs
            - value: '88'
              newvalue: arap
            - value: '89'
              newvalue: propCnls
            - value: '90'
              newvalue: hostPad
            - value: '91'
              newvalue: termPad
            - value: '92'
              newvalue: frameRelayMPI
            - value: '93'
              newvalue: x213
            - value: '94'
              newvalue: adsl
            - value: '95'
              newvalue: radsl
            - value: '96'
              newvalue: sdsl
            - value: '97'
              newvalue: vdsl
            - value: '98'
              newvalue: iso88025CRFPInt
            - value: '99'
              newvalue: myrinet
            - value: '100'
              newvalue: voiceEM
            - value: '101'
              newvalue: voiceFXO
            - value: '102'
              newvalue: voiceFXS
            - value: '103'
              newvalue: voiceEncap
            - value: '104'
              newvalue: voiceOverIp
            - value: '105'
              newvalue: atmDxi
            - value: '106'
              newvalue: atmFuni
            - value: '107'
              newvalue: atmIma
            - value: '108'
              newvalue: pppMultilinkBundle
            - value: '109'
              newvalue: ipOverCdlc
            - value: '110'
              newvalue: ipOverClaw
            - value: '111'
              newvalue: stackToStack
            - value: '112'
              newvalue: virtualIpAddress
            - value: '113'
              newvalue: mpc
            - value: '114'
              newvalue: ipOverAtm
            - value: '115'
              newvalue: iso88025Fiber
            - value: '116'
              newvalue: tdlc
            - value: '117'
              newvalue: gigabitEthernet
            - value: '118'
              newvalue: hdlc
            - value: '119'
              newvalue: lapf
            - value: '120'
              newvalue: v37
            - value: '121'
              newvalue: x25mlp
            - value: '122'
              newvalue: x25huntGroup
            - value: '123'
              newvalue: trasnpHdlc
            - value: '124'
              newvalue: interleave
            - value: '125'
              newvalue: fast
            - value: '126'
              newvalue: ip
            - value: '127'
              newvalue: docsCableMaclayer
            - value: '128'
              newvalue: docsCableDownstream
            - value: '129'
              newvalue: docsCableUpstream
            - value: '130'
              newvalue: a12MppSwitch
            - value: '131'
              newvalue: tunnel
            - value: '132'
              newvalue: coffee
            - value: '133'
              newvalue: ces
            - value: '134'
              newvalue: atmSubInterface
            - value: '135'
              newvalue: l2vlan
            - value: '136'
              newvalue: l3ipvlan
            - value: '137'
              newvalue: l3ipxvlan
            - value: '138'
              newvalue: digitalPowerline
            - value: '139'
              newvalue: mediaMailOverIp
            - value: '140'
              newvalue: dtm
            - value: '141'
              newvalue: dcn
            - value: '142'
              newvalue: ipForward
            - value: '143'
              newvalue: msdsl
            - value: '144'
              newvalue: ieee1394
            - value: '145'
              newvalue: if-gsn
            - value: '146'
              newvalue: dvbRccMacLayer
            - value: '147'
              newvalue: dvbRccDownstream
            - value: '148'
              newvalue: dvbRccUpstream
            - value: '149'
              newvalue: atmVirtual
            - value: '150'
              newvalue: mplsTunnel
            - value: '151'
              newvalue: srp
            - value: '152'
              newvalue: voiceOverAtm
            - value: '153'
              newvalue: voiceOverFrameRelay
            - value: '154'
              newvalue: idsl
            - value: '155'
              newvalue: compositeLink
            - value: '156'
              newvalue: ss7SigLink
            - value: '157'
              newvalue: propWirelessP2P
            - value: '158'
              newvalue: frForward
            - value: '159'
              newvalue: rfc1483
            - value: '160'
              newvalue: usb
            - value: '161'
              newvalue: ieee8023adLag
            - value: '162'
              newvalue: bgppolicyaccounting
            - value: '163'
              newvalue: frf16MfrBundle
            - value: '164'
              newvalue: h323Gatekeeper
            - value: '165'
              newvalue: h323Proxy
            - value: '166'
              newvalue: mpls
            - value: '167'
              newvalue: mfSigLink
            - value: '168'
              newvalue: hdsl2
            - value: '169'
              newvalue: shdsl
            - value: '170'
              newvalue: ds1FDL
            - value: '171'
              newvalue: pos
            - value: '172'
              newvalue: dvbAsiIn
            - value: '173'
              newvalue: dvbAsiOut
            - value: '174'
              newvalue: plc
            - value: '175'
              newvalue: nfas
            - value: '176'
              newvalue: tr008
            - value: '177'
              newvalue: gr303RDT
            - value: '178'
              newvalue: gr303IDT
            - value: '179'
              newvalue: isup
            - value: '180'
              newvalue: propDocsWirelessMaclayer
            - value: '181'
              newvalue: propDocsWirelessDownstream
            - value: '182'
              newvalue: propDocsWirelessUpstream
            - value: '183'
              newvalue: hiperlan2
            - value: '184'
              newvalue: propBWAp2Mp
            - value: '185'
              newvalue: sonetOverheadChannel
            - value: '186'
              newvalue: digitalWrapperOverheadChannel
            - value: '187'
              newvalue: aal2
            - value: '188'
              newvalue: radioMAC
            - value: '189'
              newvalue: atmRadio
            - value: '190'
              newvalue: imt
            - value: '191'
              newvalue: mvl
            - value: '192'
              newvalue: reachDSL
            - value: '193'
              newvalue: frDlciEndPt
            - value: '194'
              newvalue: atmVciEndPt
            - value: '195'
              newvalue: opticalChannel
            - value: '196'
              newvalue: opticalTransport
            - value: '197'
              newvalue: propAtm
            - value: '198'
              newvalue: voiceOverCable
            - value: '199'
              newvalue: infiniband
            - value: '200'
              newvalue: teLink
            - value: '201'
              newvalue: q2931
            - value: '202'
              newvalue: virtualTg
            - value: '203'
              newvalue: sipTg
            - value: '204'
              newvalue: sipSig
            - value: '205'
              newvalue: docsCableUpstreamChannel
            - value: '206'
              newvalue: econet
            - value: '207'
              newvalue: pon155
            - value: '208'
              newvalue: pon622
            - value: '209'
              newvalue: bridge
            - value: '210'
              newvalue: linegroup
            - value: '211'
              newvalue: voiceEMFGD
            - value: '212'
              newvalue: voiceFGDEANA
            - value: '213'
              newvalue: voiceDID
            - value: '214'
              newvalue: mpegTransport
            - value: '215'
              newvalue: sixToFour
            - value: '216'
              newvalue: gtp
            - value: '217'
              newvalue: pdnEtherLoop1
            - value: '218'
              newvalue: pdnEtherLoop2
            - value: '219'
              newvalue: opticalChannelGroup
            - value: '220'
              newvalue: homepna
            - value: '221'
              newvalue: gfp
            - value: '222'
              newvalue: ciscoISLvlan
            - value: '223'
              newvalue: actelisMetaLOOP
            - value: '224'
              newvalue: fcipLink
            - value: '225'
              newvalue: rpr
            - value: '226'
              newvalue: qam
            - value: '227'
              newvalue: lmp
            - value: '228'
              newvalue: cblVectaStar
            - value: '229'
              newvalue: docsCableMCmtsDownstream
            - value: '230'
              newvalue: adsl2
            - value: '231'
              newvalue: macSecControlledIF
            - value: '232'
              newvalue: macSecUncontrolledIF
            - value: '233'
              newvalue: aviciOpticalEther
            - value: '234'
              newvalue: atmbond
            - value: '235'
              newvalue: voiceFGDOS
            - value: '236'
              newvalue: mocaVersion1
            - value: '237'
              newvalue: ieee80216WMAN
            - value: '238'
              newvalue: adsl2plus
            - value: '239'
              newvalue: dvbRcsMacLayer
            - value: '240'
              newvalue: dvbTdm
            - value: '241'
              newvalue: dvbRcsTdma
            - value: '242'
              newvalue: x86Laps
            - value: '243'
              newvalue: wwanPP
            - value: '244'
              newvalue: wwanPP2
            - value: '245'
              newvalue: voiceEBS
            - value: '246'
              newvalue: ifPwType
            - value: '247'
              newvalue: ilan
            - value: '248'
              newvalue: pip
            - value: '249'
              newvalue: aluELP
            - value: '250'
              newvalue: gpon
            - value: '251'
              newvalue: vdsl2
            - value: '252'
              newvalue: capwapDot11Profile
            - value: '253'
              newvalue: capwapDot11Bss
            - value: '254'
              newvalue: capwapWtpVirtualRadio
            - value: '255'
              newvalue: bits
            - value: '256'
              newvalue: docsCableUpstreamRfPort
            - value: '257'
              newvalue: cableDownstreamRfPort
            - value: '258'
              newvalue: vmwareVirtualNic
            - value: '259'
              newvalue: ieee802154
            - value: '260'
              newvalue: otnOdu
            - value: '261'
              newvalue: otnOtu
            - value: '262'
              newvalue: ifVfiType
            - value: '263'
              newvalue: g9981
            - value: '264'
              newvalue: g9982
            - value: '265'
              newvalue: g9983
            - value: '266'
              newvalue: aluEpon
            - value: '267'
              newvalue: aluEponOnu
            - value: '268'
              newvalue: aluEponPhysicalUni
            - value: '269'
              newvalue: aluEponLogicalLink
            - value: '270'
              newvalue: aluGponOnu
            - value: '271'
              newvalue: aluGponPhysicalUni
            - value: '272'
              newvalue: vmwareNicTeam
            - value: '277'
              newvalue: docsOfdmDownstream
            - value: '278'
              newvalue: docsOfdmaUpstream
            - value: '279'
              newvalue: gfast
            - value: '280'
              newvalue: sdci
            - value: '281'
              newvalue: xboxWireless
            - value: '282'
              newvalue: fastdsl
            - value: '283'
              newvalue: docsCableScte55d1FwdOob
            - value: '284'
              newvalue: docsCableScte55d1RetOob
            - value: '285'
              newvalue: docsCableScte55d2DsOob
            - value: '286'
              newvalue: docsCableScte55d2UsOob
            - value: '287'
              newvalue: docsCableNdf
            - value: '288'
              newvalue: docsCableNdr
            - value: '289'
              newvalue: ptm
            - value: '290'
              newvalue: ghn
        - uuid: 521e28cd45a1421d89b1588e5392b50a
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
        - uuid: cc333fe140bc45388e5508237b42e1ad
          name: zabbix.host.available
          mappings:
            - value: '0'
              newvalue: 'not available'
            - value: '1'
              newvalue: available
            - value: '2'
              newvalue: unknown
    - uuid: 40c233aaa3424fd29dc378022ff3461d
      template: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
      name: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
      description: |
        Cisco IOS Software releases later to 12.0(3)T and prior to 12.2(3.5)
        
        MIBs used:
        CISCO-MEMORY-POOL-MIB
        IF-MIB
        HOST-RESOURCES-MIB
        SNMPv2-MIB
        CISCO-ENVMON-MIB
        CISCO-PROCESS-MIB
        ENTITY-MIB
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: 'Templates/Network devices'
      items:
        - uuid: a94e2b40f0e14bdfb70e66127f8d946b
          name: 'ICMP ping'
          type: SIMPLE
          key: icmpping
          description: |
            The host accessibility by ICMP ping.
            
            0 - ICMP ping fails;
            1 - ICMP ping successful.
          valuemap:
            name: 'Service state'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: f6fae61d08644d5fa3929f526aee34e4
              expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmpping,#3)=0'
              name: 'Cisco IOS: Unavailable by ICMP ping'
              priority: HIGH
              description: 'Last three attempts returned timeout. Please check device connectivity.'
              tags:
                - tag: scope
                  value: availability
        - uuid: 39baf182f6724813a951b25f6ff5aab4
          name: 'ICMP loss'
          type: SIMPLE
          key: icmppingloss
          value_type: FLOAT
          units: '%'
          description: 'The percentage of lost packets.'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 5c7eae9701be4661a34bbcdb99c094fe
              expression: 'min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmppingloss,5m)<100'
              name: 'Cisco IOS: High ICMP ping loss'
              opdata: 'Loss: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'ICMP packets loss detected.'
              dependencies:
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 85748657f67e45189256e7704c6e7a9c
          name: 'ICMP response time'
          type: SIMPLE
          key: icmppingsec
          value_type: FLOAT
          units: s
          description: 'The ICMP ping response time (in seconds).'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 9aebe4a1cfa34c5d92178abc8a6ce06e
              expression: 'avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
              name: 'Cisco IOS: High ICMP ping response time'
              opdata: 'Value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Average ICMP response time is too high.'
              dependencies:
                - name: 'Cisco IOS: High ICMP ping loss'
                  expression: 'min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmppingloss,5m)<100'
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: cb44245cd4224bbdaa8c5546ad483848
          name: 'Cisco IOS: SNMP walk network interfaces'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.2.2.1.8,1.3.6.1.2.1.2.2.1.7,1.3.6.1.2.1.31.1.1.1.18,1.3.6.1.2.1.31.1.1.1.1,1.3.6.1.2.1.2.2.1.2,1.3.6.1.2.1.2.2.1.3,1.3.6.1.2.1.31.1.1.1.6,1.3.6.1.2.1.31.1.1.1.10,1.3.6.1.2.1.2.2.1.14,1.3.6.1.2.1.2.2.1.20,1.3.6.1.2.1.2.2.1.19,1.3.6.1.2.1.2.2.1.13,1.3.6.1.2.1.31.1.1.1.15]'
          key: net.if.walk
          history: '0'
          value_type: TEXT
          description: 'Discovering interfaces from IF-MIB.'
          tags:
            - tag: component
              value: raw
        - uuid: fa5166db7ce14744817cf098c4be46f7
          name: 'Cisco IOS: SNMP walk fans'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.4.1.2,1.3.6.1.4.1.9.9.13.1.4.1.3]'
          key: sensor.fans.walk
          history: '0'
          value_type: TEXT
          description: 'Discovering system fans.'
          tags:
            - tag: component
              value: raw
        - uuid: 2c7987c8fb2748978fd9f3f84b5c96d5
          name: 'Cisco IOS: SNMP walk PSUs'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.5.1.2,1.3.6.1.4.1.9.9.13.1.5.1.3]'
          key: sensor.psu.walk
          history: '0'
          value_type: TEXT
          description: 'The table of power supply status maintained by the environmental monitor card.'
          tags:
            - tag: component
              value: raw
        - uuid: 7568839f76854edca01234fb707e1558
          name: 'Cisco IOS: SNMP walk temperature sensors'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.13.1.3.1.2,1.3.6.1.4.1.9.9.13.1.3.1.3,1.3.6.1.4.1.9.9.13.1.3.1.6]'
          key: sensor.temp.walk
          history: '0'
          value_type: TEXT
          description: 'Discovery of ciscoEnvMonTemperatureTable (ciscoEnvMonTemperatureDescr), a table of ambient temperature status maintained by the environmental monitor.'
          tags:
            - tag: component
              value: raw
        - uuid: 0f50837172ad475d9d5a27c95be19ab2
          name: 'SNMP traps (fallback)'
          type: SNMP_TRAP
          key: snmptrap.fallback
          value_type: LOG
          description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
          logtimefmt: 'hh:mm:sszyyyy/MM/dd'
          tags:
            - tag: component
              value: network
        - uuid: 22406c415a0a4f6bbd9d44707631f42c
          name: 'System contact details'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
          key: 'system.contact[sysContact.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
          inventory_link: CONTACT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: d188b4d086734f438c3752bb3d9b1971
          name: 'Cisco IOS: SNMP walk system CPUs'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.109.1.1.1.1.5]'
          key: system.cpu.walk
          history: '0'
          value_type: TEXT
          description: |
            If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable,
            indexed with cpmCPUTotalIndex.
            This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
            like different CPU chips, group of CPUs, or CPUs in different modules/cards.
            In case of a single CPU, cpmCPUTotalTable has only one entry.
          tags:
            - tag: component
              value: raw
        - uuid: 5a37d2e4f308475c932a6bb856d0ffb4
          name: 'System description'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.descr[sysDescr.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            A textual description of the entity. This value should
            include the full name and version identification of the system's hardware type, software operating-system, and
            networking software.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 12b69d0a3b844906a950bcedcbb8b9b8
          name: 'Hardware model name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.13.1]'
          key: system.hw.model
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB'
          inventory_link: MODEL
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 991021da67c84f96a76154078c45f3be
          name: 'Hardware serial number'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.11.1]'
          key: system.hw.serialnumber
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB'
          inventory_link: SERIALNO_A
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 78723249679b4a288861f4ad8621fd77
              expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber,#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber,#2) and length(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber))>0'
              name: 'Cisco IOS: Device has been replaced'
              event_name: 'Cisco IOS: Device has been replaced (new serial number received)'
              priority: INFO
              description: 'Device serial number has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 79968a2e878c45c290f79902e9e1cf37
          name: 'Cisco IOS: SNMP walk entity serial numbers'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.2.1.47.1.1.1.1.5,1.3.6.1.2.1.47.1.1.1.1.7,1.3.6.1.2.1.47.1.1.1.1.11]'
          key: system.hw.serialnumber.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: ENTITY-MIB
            Entity Serial Numbers Discovery.
          tags:
            - tag: component
              value: raw
        - uuid: 927d85dbb82f4b9a9edf4fb6194e7427
          name: 'Uptime (hardware)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
          key: 'system.hw.uptime[hrSystemUptime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: HOST-RESOURCES-MIB
            The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: d8ed796e88f3478ea72d95ddcc68f9ed
          name: 'System location'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
          key: 'system.location[sysLocation.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
          inventory_link: LOCATION
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: a26d3babf5674a5e9d9afff94518e6c6
          name: 'System name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
          key: system.name
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
          inventory_link: NAME
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 3e09d5d308e449a4974393650b33e64d
              expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name,#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name,#2) and length(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name))>0'
              name: 'Cisco IOS: System name has changed'
              event_name: 'Cisco IOS: System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'The name of the system has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
                - tag: scope
                  value: security
        - uuid: 182fd7bfd7b74331b9f3cf8f4a7646cb
          name: 'Uptime (network)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
          key: 'system.net.uptime[sysUpTime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: SNMPv2-MIB
            Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: da41d408448d4b1aa323e0046ff97598
          name: 'System object ID'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
          key: 'system.objectid[sysObjectID.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed.  For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: cf4af497970a415aa45aa66b2ba48115
          name: 'Operating system'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.sw.os[sysDescr.0]'
          delay: 1h
          value_type: CHAR
          description: 'MIB: SNMPv2-MIB'
          inventory_link: OS
          preprocessing:
            - type: REGEX
              parameters:
                - 'Version (.+), RELEASE'
                - \1
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: os
          triggers:
            - uuid: df85813bb6af4accab8d5191cd452329
              expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.sw.os[sysDescr.0],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.sw.os[sysDescr.0],#2) and length(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.sw.os[sysDescr.0]))>0'
              name: 'Cisco IOS: Operating system description has changed'
              priority: INFO
              description: 'The description of the operating system has changed. Possible reasons are that the system has been updated or replaced. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: System name has changed'
                  expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name,#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name,#2) and length(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.name))>0'
              tags:
                - tag: scope
                  value: notice
        - uuid: fe26641865204720a592be13d4793c99
          name: 'Cisco IOS: SNMP walk memory'
          type: SNMP_AGENT
          snmp_oid: 'walk[1.3.6.1.4.1.9.9.48.1.1.1.2,1.3.6.1.4.1.9.9.48.1.1.1.5,1.3.6.1.4.1.9.9.48.1.1.1.6]'
          key: vm.memory.walk
          history: '0'
          value_type: TEXT
          description: |
            MIB: CISCO-MEMORY-POOL-MIB
            Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
            http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html.
          tags:
            - tag: component
              value: raw
        - uuid: 92fa54c5c28b4244b0d22c9041064d15
          name: 'SNMP agent availability'
          type: INTERNAL
          key: 'zabbix[host,snmp,available]'
          description: |
            Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
            Possible values:
            0 - not available
            1 - available
            2 - unknown
          valuemap:
            name: zabbix.host.available
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 778749b260bb45c3a926d6bb49c07257
              expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
              name: 'Cisco IOS: No SNMP data collection'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
              dependencies:
                - name: 'Cisco IOS: Unavailable by ICMP ping'
                  expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: 1d8d76707b1049cabfda668257c257b6
          name: 'CPU Discovery'
          type: DEPENDENT
          key: cpu.discovery
          description: |
            If your IOS device has several CPUs, you must use CISCO-PROCESS-MIB and its object cpmCPUTotal5minRev from the table called cpmCPUTotalTable,
            indexed with cpmCPUTotalIndex.
            This table allows CISCO-PROCESS-MIB to keep CPU statistics for different physical entities in the router,
            like different CPU chips, group of CPUs, or CPUs in different modules/cards.
            In case of a single CPU, cpmCPUTotalTable has only one entry.
          item_prototypes:
            - uuid: 2f6285386ed54cd99d7aaf41e6f3e891
              name: '{#SNMPVALUE}: CPU utilization'
              type: DEPENDENT
              key: 'system.cpu.util[cpmCPUTotal5min.{#SNMPINDEX}]'
              value_type: FLOAT
              units: '%'
              description: |
                MIB: CISCO-PROCESS-MIB
                The overall CPU busy percentage in the last 5 minute
                period. This object deprecates the avgBusy5 object from
                the OLD-CISCO-SYSTEM-MIB. This object is deprecated
                by cpmCPUTotal5minRev which has the changed range
                of value (0..100).
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15215-collect-cpu-util-snmp.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.109.1.1.1.1.5.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 5m
              master_item:
                key: system.cpu.walk
              tags:
                - tag: component
                  value: cpu
              trigger_prototypes:
                - uuid: b964834d4f6549c7ae0f0c0c2646dfbc
                  expression: 'min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.cpu.util[cpmCPUTotal5min.{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}'
                  name: 'Cisco IOS: {#SNMPVALUE}: High CPU utilization'
                  event_name: 'Cisco IOS: {#SNMPVALUE}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
                  opdata: 'Current utilization: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'The CPU utilization is too high. The system might be slow to respond.'
                  tags:
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: 9e61506351cf4f16be21dcbed8875293
              name: '{#SNMPVALUE}: CPU utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'system.cpu.util[cpmCPUTotal5min.{#SNMPINDEX}]'
          master_item:
            key: system.cpu.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.109.1.1.1.1.5
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: afafbf551dc242e8a85dbb12ba1aa067
          name: 'Entity Serial Numbers Discovery'
          type: DEPENDENT
          key: entity_sn.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#ENT_CLASS}'
                value: ^3$
              - macro: '{#ENT_SN}'
                value: .+
          item_prototypes:
            - uuid: 88f4929957f5485f974bdc1bafde68d7
              name: '{#ENT_NAME}: Hardware serial number'
              type: DEPENDENT
              key: 'system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]'
              value_type: CHAR
              description: 'MIB: ENTITY-MIB'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: system.hw.serialnumber.walk
              tags:
                - tag: component
                  value: system
              trigger_prototypes:
                - uuid: 75ee6ab1f0c84946a4f4d6e87007ec25
                  expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}],#2) and length(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.serialnumber[entPhysicalSerialNum.{#SNMPINDEX}]))>0'
                  name: 'Cisco IOS: {#ENT_NAME}: Device has been replaced'
                  event_name: 'Cisco IOS: {#ENT_NAME}: Device has been replaced (new serial number received)'
                  priority: INFO
                  description: 'Device serial number has changed. Acknowledge to close the problem manually.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
          master_item:
            key: system.hw.serialnumber.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#ENT_CLASS}'
                - 1.3.6.1.2.1.47.1.1.1.1.5
                - '0'
                - '{#ENT_NAME}'
                - 1.3.6.1.2.1.47.1.1.1.1.7
                - '0'
                - '{#ENT_SN}'
                - 1.3.6.1.2.1.47.1.1.1.1.11
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 0906581023f54a0b95102288e8ed4714
          name: 'FAN Discovery'
          type: DEPENDENT
          key: fan.discovery
          description: 'The table of fan status maintained by the environmental monitor.'
          item_prototypes:
            - uuid: b1e82af988c14dce81fcbd549fe4ece6
              name: '{#SENSOR_INFO}: Fan status'
              type: DEPENDENT
              key: 'sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}]'
              trends: '0'
              description: 'MIB: CISCO-ENVMON-MIB'
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.4.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.fans.walk
              tags:
                - tag: component
                  value: fan
              trigger_prototypes:
                - uuid: 907502bbdeee45bbbfb84d43c2dc4f20
                  expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the fan unit'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 4b2a4eb4cb2a43758048cc05d63f37a4
                  expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS:\"notFunctioning\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the fan unit'
                  dependencies:
                    - name: 'Cisco IOS: {#SENSOR_INFO}: Fan is in critical state'
                      expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.fan.status[ciscoEnvMonFanState.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS:\"shutdown\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          master_item:
            key: sensor.fans.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SENSOR_INFO}'
                - 1.3.6.1.4.1.9.9.13.1.4.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 4831ae0d8acc47e7bb9c3a4a94678472
          name: 'Memory Discovery'
          type: DEPENDENT
          key: memory.discovery
          description: |
            Discovery of ciscoMemoryPoolTable, a table of memory pool monitoring entries.
            http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
          item_prototypes:
            - uuid: e9876af72ead4cc7814f8c54801de7ee
              name: '{#SNMPVALUE}: Free memory'
              type: DEPENDENT
              key: 'vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-MEMORY-POOL-MIB
                Indicates the number of bytes from the memory pool that are currently unused on the managed device. Note that the sum of ciscoMemoryPoolUsed and ciscoMemoryPoolFree is the total amount of memory in the pool
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.48.1.1.1.6.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: vm.memory.walk
              tags:
                - tag: component
                  value: memory
            - uuid: 260d3d59256040fd808d5d4c6a549d07
              name: '{#SNMPVALUE}: Used memory'
              type: DEPENDENT
              key: 'vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-MEMORY-POOL-MIB
                Indicates the number of bytes from the memory pool that are currently in use by applications on the managed device.
                Reference: http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.48.1.1.1.5.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: vm.memory.walk
              tags:
                - tag: component
                  value: memory
            - uuid: fb17d61634254c108d98ea28f5c5fb54
              name: '{#SNMPVALUE}: Memory utilization'
              type: CALCULATED
              key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
              value_type: FLOAT
              units: '%'
              params: 'last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}])/(last(//vm.memory.free[ciscoMemoryPoolFree.{#SNMPINDEX}])+last(//vm.memory.used[ciscoMemoryPoolUsed.{#SNMPINDEX}]))*100'
              description: 'Memory utilization in %.'
              tags:
                - tag: component
                  value: memory
              trigger_prototypes:
                - uuid: 0f8d70ef5e704483a49d7b635e74dfc6
                  expression: 'min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/vm.memory.util[vm.memory.util.{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
                  name: 'Cisco IOS: {#SNMPVALUE}: High memory utilization'
                  event_name: 'Cisco IOS: {#SNMPVALUE}: High memory utilization (>{$MEMORY.UTIL.MAX}% for 5m)'
                  priority: AVERAGE
                  description: 'The system is running out of free memory.'
                  tags:
                    - tag: scope
                      value: capacity
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: bf9a1faae91243b18133486b0421314b
              name: '{#SNMPVALUE}: Memory utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'vm.memory.util[vm.memory.util.{#SNMPINDEX}]'
          master_item:
            key: vm.memory.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.48.1.1.1.2
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 328da4bee6ea49aa8809cdbb74744263
          name: 'Network interfaces discovery'
          type: DEPENDENT
          key: net.if.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.MATCHES}'
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.MATCHES}'
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.MATCHES}'
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.MATCHES}'
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
          description: 'Discovering interfaces from IF-MIB.'
          item_prototypes:
            - uuid: db98684d85c644f28190544d534c1b09
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
              type: DEPENDENT
              key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of inbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: a2c7793712e549cbad6e37da30754b58
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
              type: DEPENDENT
              key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: a77450c8292a483b86e72156af6e7ec7
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
              type: DEPENDENT
              key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 33e86cf0c2374d0d932a8e3c9b6ebf1a
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
              type: DEPENDENT
              key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                The number of outbound packets which were chosen to be discarded
                even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system,
                and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 6960110871dd40f89f344ab90cdb03f9
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
              type: DEPENDENT
              key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB
                For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.  For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: fe427d3bbef7420880906cc52c07c706
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
              type: DEPENDENT
              key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB
                The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of ifOutOctets.Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of ifCounterDiscontinuityTime.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}'
                    - '0'
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: c03404b9c68749b3bef5de34a8815cce
              name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
              type: DEPENDENT
              key: 'net.if.speed[ifHighSpeed.{#SNMPINDEX}]'
              trends: '0'
              units: bps
              description: |
                MIB: IF-MIB
                An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of `n`, then the speed of the interface is somewhere in the range of `n-500,000` to `n+499,999`.
                For interfaces which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.
                For a sub-layer which has no concept of bandwidth, this object should be zero.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}'
                    - '0'
                - type: MULTIPLIER
                  parameters:
                    - '1000000'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: ec072a91a34244d5ba434f592e9cb72d
              name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
              type: DEPENDENT
              key: 'net.if.status[ifOperStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The current operational state of the interface.
                - The testing(3) state indicates that no operational packet scan be passed
                - If ifAdminStatus is down(2) then ifOperStatus should be down(2)
                - If ifAdminStatus is changed to up(1) then ifOperStatus should change to up(1) if the interface is ready to transmit and receive network traffic
                - It should change todormant(5) if the interface is waiting for external actions (such as a serial line waiting for an incoming connection)
                - It should remain in the down(2) state if and only if there is a fault that prevents it from going to the up(1) state
                - It should remain in the notPresent(6) state if the interface has missing(typically, hardware) components.
              valuemap:
                name: 'IF-MIB::ifOperStatus'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}'
                    - '0'
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: c99f0efcc30749e79cce0efe2fdd574f
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
                  name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    This trigger expression works as follows:
                    1. It can be triggered if the operations status is down.
                    2. `{$IFCONTROL:"{#IFNAME}"}=1` - a user can redefine the context macro to "0", marking this interface as not important. No new trigger will be fired if this interface is down.
                    3. `last(/TEMPLATE_NAME/METRIC,#1)<>last(/TEMPLATE_NAME/METRIC,#2)` - the trigger fires only if the operational status was up to (1) sometime before (so, does not fire for "eternal off" interfaces.)
                    
                    WARNING: if closed manually - it will not fire again on the next poll, because of .diff.
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: availability
            - uuid: 6dec04a0c0fc453ebc103e28daea731d
              name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
              type: DEPENDENT
              key: 'net.if.type[ifType.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: IF-MIB
                The type of interface.
                Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA),
                through updating the syntax of the IANAifType textual convention.
              valuemap:
                name: 'IF-MIB::ifType'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: net.if.walk
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
          trigger_prototypes:
            - uuid: 60809b6c94d74e34b5f29525d77c75b5
              expression: |
                change(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])<0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
                and (
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=6 or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=7 or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=11 or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=62 or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=69 or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.type[ifType.{#SNMPINDEX}])=117
                )
                and
                (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2)
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                (change(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}],#2)>0) or
                (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2)
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before'
              opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
              priority: INFO
              description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of autonegotiation issues. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 21d475be7fa24ba2b946e4ec31371df5
              expression: |
                (avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) or
                avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])) and
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])>0
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.in[ifHCInOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}]) and
                avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.out[ifHCOutOctets.{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.speed[ifHighSpeed.{#SNMPINDEX}])
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage'
              event_name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High bandwidth usage (>{$IF.UTIL.MAX:"{#IFNAME}"}%)'
              opdata: 'In: {ITEM.LASTVALUE1}, out: {ITEM.LASTVALUE3}, speed: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: performance
            - uuid: 5a2bc4c9bf344948a52ce256daa1258e
              expression: |
                min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
                or min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.in.errors[ifInErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
                and max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.out.errors[ifOutErrors.{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8
              name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High error rate'
              event_name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): High error rate (>{$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
              opdata: 'errors in: {ITEM.LASTVALUE1}, errors out: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'It recovers when it is below 80% of the `{$IF.ERRORS.WARN:"{#IFNAME}"}` threshold.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco IOS: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: '{$IFCONTROL:"{#IFNAME}"}=1 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])=2 and (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#1)<>last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}],#2))'
                  recovery_expression: 'last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/net.if.status[ifOperStatus.{#SNMPINDEX}])<>2 or {$IFCONTROL:"{#IFNAME}"}=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
          graph_prototypes:
            - uuid: fc6dd0ab86e7496d9b43103c13ba6a65
              name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.in[ifHCInOctets.{#SNMPINDEX}]'
                - sortorder: '1'
                  drawtype: BOLD_LINE
                  color: F63100
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.out[ifHCOutOctets.{#SNMPINDEX}]'
                - sortorder: '2'
                  color: 00611C
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.out.errors[ifOutErrors.{#SNMPINDEX}]'
                - sortorder: '3'
                  color: F7941D
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.in.errors[ifInErrors.{#SNMPINDEX}]'
                - sortorder: '4'
                  color: FC6EA3
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.out.discards[ifOutDiscards.{#SNMPINDEX}]'
                - sortorder: '5'
                  color: 6C59DC
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                    key: 'net.if.in.discards[ifInDiscards.{#SNMPINDEX}]'
          master_item:
            key: net.if.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#IFOPERSTATUS}'
                - 1.3.6.1.2.1.2.2.1.8
                - '0'
                - '{#IFADMINSTATUS}'
                - 1.3.6.1.2.1.2.2.1.7
                - '0'
                - '{#IFALIAS}'
                - 1.3.6.1.2.1.31.1.1.1.18
                - '0'
                - '{#IFNAME}'
                - 1.3.6.1.2.1.31.1.1.1.1
                - '0'
                - '{#IFDESCR}'
                - 1.3.6.1.2.1.2.2.1.2
                - '0'
                - '{#IFTYPE}'
                - 1.3.6.1.2.1.2.2.1.3
                - '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: 09264b1af69a4a4595ba2e4539106d6f
          name: 'PSU Discovery'
          type: DEPENDENT
          key: psu.discovery
          description: 'The table of power supply status maintained by the environmental monitor card.'
          item_prototypes:
            - uuid: 86973dc8030e463fb51b075e161ae8a3
              name: '{#SENSOR_INFO}: Power supply status'
              type: DEPENDENT
              key: 'sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}]'
              trends: '0'
              description: 'MIB: CISCO-ENVMON-MIB'
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.5.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.psu.walk
              tags:
                - tag: component
                  value: power
              trigger_prototypes:
                - uuid: 7c5269ac98e847f28da8d3d97e52a28e
                  expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the power supply unit for errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 616059e289694181aea6a076ecb093c1
                  expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"warning\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS:\"notFunctioning\"}")=1'
                  name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the power supply unit for errors'
                  dependencies:
                    - name: 'Cisco IOS: {#SENSOR_INFO}: Power supply is in critical state'
                      expression: 'count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"critical\"}")=1 or count(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.psu.status[ciscoEnvMonSupplyState.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS:\"shutdown\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          master_item:
            key: sensor.psu.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SENSOR_INFO}'
                - 1.3.6.1.4.1.9.9.13.1.5.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
        - uuid: eb482b3a03b74dc494632be0728f953b
          name: 'Temperature Discovery'
          type: DEPENDENT
          key: temperature.discovery
          description: |
            Discovery of ciscoEnvMonTemperatureTable (ciscoEnvMonTemperatureDescr), a table of ambient temperature status
            maintained by the environmental monitor.
          item_prototypes:
            - uuid: 14f46d8210164b6596dc6bf0c343db3b
              name: '{#SNMPVALUE}: Temperature status'
              type: DEPENDENT
              key: 'sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CISCO-ENVMON-MIB
                The current state of the test point being instrumented.
              valuemap:
                name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.3.1.6.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.temp.walk
              tags:
                - tag: component
                  value: temperature
            - uuid: 7c68ab13b881467e863b28776c0da571
              name: '{#SNMPVALUE}: Temperature'
              type: DEPENDENT
              key: 'sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CISCO-ENVMON-MIB
                The current measurement of the test point being instrumented.
              preprocessing:
                - type: SNMP_WALK_VALUE
                  parameters:
                    - '1.3.6.1.4.1.9.9.13.1.3.1.3.{#SNMPINDEX}'
                    - '0'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3m
              master_item:
                key: sensor.temp.walk
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 67fad9e835f9466ab368bbdad6544e7e
                  expression: 'avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'min(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}+3'
                  name: 'Cisco IOS: {#SNMPVALUE}: Temperature is too low'
                  event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          trigger_prototypes:
            - uuid: f138f708723a4ca49b21cb992798da7f
              expression: |
                avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}
                or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_CRIT_STATUS}
                or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_DISASTER_STATUS}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
              name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold'
              event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:"{#SNMPVALUE}"}'
              opdata: 'Current value: {ITEM.LASTVALUE1}'
              priority: HIGH
              description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
            - uuid: 281f7afca6ed4d3bb866430ec89e862e
              expression: |
                avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SNMPVALUE}"}
                or
                last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_WARN_STATUS}
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_WARN:"{#SNMPVALUE}"}-3'
              name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above warning threshold'
              event_name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:"{#SNMPVALUE}"}'
              opdata: 'Current value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'This trigger uses temperature sensor values as well as temperature sensor status if available'
              dependencies:
                - name: 'Cisco IOS: {#SNMPVALUE}: Temperature is above critical threshold'
                  expression: |
                    avg(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}
                    or
                    last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_CRIT_STATUS}
                    or
                    last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.status[ciscoEnvMonTemperatureState.{#SNMPINDEX}])={$TEMP_DISASTER_STATUS}
                  recovery_expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/sensor.temp.value[ciscoEnvMonTemperatureValue.{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
          master_item:
            key: sensor.temp.walk
          preprocessing:
            - type: SNMP_WALK_TO_JSON
              parameters:
                - '{#SNMPVALUE}'
                - 1.3.6.1.4.1.9.9.13.1.3.1.2
                - '0'
              error_handler: DISCARD_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
      tags:
        - tag: class
          value: network
        - tag: target
          value: cisco
        - tag: target
          value: cisco-ios
        - tag: target
          value: cisco-ios-12.0-12.2
      macros:
        - macro: '{$CPU.UTIL.CRIT}'
          value: '90'
          config:
            type: TEXT
            priority: '2'
            section_name: Thresholds
            label: 'Threshold for CPU utilization (critical)'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$FAN_CRIT_STATUS:"critical"}'
          value: '3'
          description: 'Value indicating the FAN status for the critical condition.'
          config:
            type: TEXT
            priority: '16'
            section_name: Other
            label: 'Value of FAN status for state of `critical`'
            description: 'Value indicating the FAN status for the critical condition.'
        - macro: '{$FAN_CRIT_STATUS:"shutdown"}'
          value: '4'
          description: 'Value indicating the FAN status for the shutdown condition.'
          config:
            type: TEXT
            priority: '17'
            section_name: Other
            label: 'Value of FAN status for state of `shutdown`'
            description: 'Value indicating the FAN status for the shutdown condition.'
        - macro: '{$FAN_WARN_STATUS:"notFunctioning"}'
          value: '6'
          description: 'Value indicating the FAN status for the not-functioning condition.'
          config:
            type: TEXT
            priority: '18'
            section_name: Other
            label: 'Value of FAN status for state of `notFunctioning`'
            description: 'Value indicating the FAN status for the not-functioning condition.'
        - macro: '{$FAN_WARN_STATUS:"warning"}'
          value: '2'
          description: 'Value indicating the FAN status for the warning condition.'
          config:
            type: TEXT
            priority: '15'
            section_name: Other
            label: 'Value of FAN status for state of `warning`'
            description: 'Value indicating the FAN status for the warning condition.'
        - macro: '{$ICMP_LOSS_WARN}'
          value: '20'
          description: 'Warning threshold of ICMP packet loss in %.'
          config:
            type: TEXT
            priority: '20'
            section_name: Thresholds
            label: 'Threshold of ICMP packet loss'
            description: 'Warning threshold of ICMP packet loss in %. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_RESPONSE_TIME_WARN}'
          value: '0.15'
          description: 'Warning threshold of the average ICMP response time in seconds.'
          config:
            type: TEXT
            priority: '21'
            section_name: Thresholds
            label: 'Threshold of the average ICMP response'
            description: 'Warning threshold of the average ICMP response time in seconds. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.ERRORS.WARN}'
          value: '2'
          description: 'Warning threshold of error packet rate. Can be used with interface name as context.'
          config:
            type: TEXT
            priority: '24'
            section_name: Thresholds
            label: 'Threshold of error packet rate'
            description: 'Warning threshold of error packet rate. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.UTIL.MAX}'
          value: '90'
          description: 'Used as a threshold in the interface utilization trigger.'
          config:
            type: TEXT
            priority: '23'
            section_name: Thresholds
            label: 'The threshold in the interface utilization'
            description: 'Used as a threshold in the interface utilization trigger. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IFCONTROL}'
          value: '1'
          description: 'Link status trigger will be fired only for interfaces where the context macro equals "1".'
          config:
            type: CHECKBOX
            priority: '22'
            label: 'Interfaces control'
            description: 'Fire a trigger when the interface operational status changes to "Link down".'
            options:
              - checked: '1'
                unchecked: '0'
        - macro: '{$MEMORY.UTIL.MAX}'
          value: '90'
          config:
            type: TEXT
            priority: '1'
            section_name: Thresholds
            label: 'Threshold for memory utilization'
            description: 'In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$NET.IF.IFADMINSTATUS.MATCHES}'
          value: '^.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '29'
            section_name: Filters
            label: 'Filter network interface by adminstatus'
            description: 'Regex string to include discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
          value: ^2$
          description: 'Ignore `down(2)` administrative status'
          config:
            type: TEXT
            priority: '30'
            section_name: Filters
            label: 'Filter network interface by adminstatus (exclude)'
            description: 'Regex string to exclude discovered interface by adminstatus.'
        - macro: '{$NET.IF.IFALIAS.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '33'
            section_name: Filters
            label: 'Filter network interface by alias'
            description: 'Regex string to include discovered interface by alias.'
        - macro: '{$NET.IF.IFALIAS.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '34'
            section_name: Filters
            label: 'Filter network interface by alias (exclude)'
            description: 'Regex string to exclude discovered interface by alias.'
        - macro: '{$NET.IF.IFDESCR.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '31'
            section_name: Filters
            label: 'Filter network interface by description'
            description: 'Regex string to include discovered interface by description.'
        - macro: '{$NET.IF.IFDESCR.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '32'
            section_name: Filters
            label: 'Filter network interface by description (exclude)'
            description: 'Regex string to exclude discovered interface by description.'
        - macro: '{$NET.IF.IFNAME.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '25'
            section_name: Filters
            label: 'Filter for network interface by name'
            description: 'Regex string to include discovered interface by name.'
        - macro: '{$NET.IF.IFNAME.NOT_MATCHES}'
          value: '(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})'
          description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0 bridge` by default.'
          config:
            type: TEXT
            priority: '26'
            section_name: Filters
            label: 'Filter for network interface by name (exclude)'
            description: 'Filters out `loopbacks`, `nulls`, docker `veth` links and `docker0` bridge by default.'
        - macro: '{$NET.IF.IFOPERSTATUS.MATCHES}'
          value: '^.*$'
          description: 'Used for network interface discovery. Can be overridden on the host or linked template level.'
          config:
            type: TEXT
            priority: '27'
            section_name: Filters
            label: 'Filter network interface by status'
            description: 'Regex string to include discovered interface by status.'
        - macro: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
          value: ^6$
          description: 'Ignore `notPresent(6)`'
          config:
            type: TEXT
            priority: '28'
            section_name: Filters
            label: 'Filter network interface by status (exclude)'
            description: 'Regex string to exclude discovered interface by status.'
        - macro: '{$NET.IF.IFTYPE.MATCHES}'
          value: '.*'
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '35'
            section_name: Filters
            label: 'Filter network interface by type'
            description: 'Regex string to include discovered interface by type.'
        - macro: '{$NET.IF.IFTYPE.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Used in network interface discovery rule filters.'
          config:
            type: TEXT
            priority: '36'
            section_name: Filters
            label: 'Filter network interface by type (exclude)'
            description: 'Regex string to exclude discovered interface by type.'
        - macro: '{$PSU_CRIT_STATUS:"critical"}'
          value: '3'
          description: 'Value indicating the PSU status for the critical condition.'
          config:
            type: TEXT
            priority: '12'
            section_name: Other
            label: 'Value of PSU status for state of `critical`'
            description: 'Value indicating the PSU status for the critical condition.'
        - macro: '{$PSU_CRIT_STATUS:"shutdown"}'
          value: '4'
          description: 'Value indicating the PSU status for the shutdown condition.'
          config:
            type: TEXT
            priority: '13'
            section_name: Other
            label: 'Value of PSU status for state of `shutdown`'
            description: 'Value indicating the PSU status for the shutdown condition.'
        - macro: '{$PSU_WARN_STATUS:"notFunctioning"}'
          value: '6'
          description: 'Value indicating the PSU status for the not-functioning condition.'
          config:
            type: TEXT
            priority: '14'
            section_name: Other
            label: 'Value of PSU status for state of `notFunctioning`'
            description: 'Value indicating the PSU status for the not-functioning condition.'
        - macro: '{$PSU_WARN_STATUS:"warning"}'
          value: '2'
          description: 'Value indicating the PSU status for the warning condition.'
          config:
            type: TEXT
            priority: '11'
            section_name: Other
            label: 'Value of PSU status for state of `warning`'
            description: 'Value indicating the PSU status for the warning condition.'
        - macro: '{$SNMP.TIMEOUT}'
          value: 5m
          description: 'Time interval for the SNMP availability trigger.'
          config:
            type: TEXT
            priority: '19'
            section_name: Other
            label: 'Time interval'
            description: 'Time interval for the SNMP availability trigger.'
        - macro: '{$TEMP_CRIT}'
          value: '60'
          description: 'Critical threshold for temperature.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Threshold for temperature (critical)'
            description: 'Critical threshold for temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:"CPU"}'
          value: '75'
          description: 'Critical threshold for CPU temperature.'
          config:
            type: TEXT
            priority: '7'
            section_name: Thresholds
            label: 'Threshold for CPU temperature (critical)'
            description: 'Critical threshold for CPU temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT_LOW}'
          value: '5'
          description: 'Critical threshold for low temperature.'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Threshold for low temperature (critical)'
            description: 'Critical threshold for low temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT_STATUS}'
          value: '3'
          description: 'Value indicating the state when the temperature is in critical condition.'
          config:
            type: TEXT
            priority: '9'
            section_name: Other
            label: 'Value for state of `Temperature is critical`'
            description: 'Value indicating the state when the temperature is in critical condition.'
        - macro: '{$TEMP_DISASTER_STATUS}'
          value: '4'
          description: 'Value indicating the state when the temperature is in disaster condition.'
          config:
            type: TEXT
            priority: '10'
            section_name: Other
            label: 'Value for state of `Temperature is disaster`'
            description: 'Value indicating the state when the temperature is in disaster condition.'
        - macro: '{$TEMP_WARN}'
          value: '50'
          description: 'Warning threshold for temperature.'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Threshold for temperature (warning)'
            description: 'Warning threshold for temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:"CPU"}'
          value: '70'
          description: 'Warning threshold for CPU temperature.'
          config:
            type: TEXT
            priority: '6'
            section_name: Thresholds
            label: 'Threshold for CPU temperature (warning)'
            description: 'Warning threshold for CPU temperature.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN_STATUS}'
          value: '2'
          description: 'Value indicating the state when the temperature is in the warning condition.'
          config:
            type: TEXT
            priority: '8'
            section_name: Other
            label: 'Value for state of `Temperature is warning`'
            description: 'Value indicating the state when the temperature is in the warning condition.'
      dashboards:
        - uuid: 19aa552abf004e729044a7af05a5544a
          name: 'Network interfaces'
          pages:
            - widgets:
                - type: graphprototype
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP'
                        name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
                    - type: STRING
                      name: reference
                      value: AAAAA
      valuemaps:
        - uuid: d811f4c78e8246f6a3ed1e903ade574d
          name: 'CISCO-ENVMON-MIB::CiscoEnvMonState'
          mappings:
            - value: '1'
              newvalue: normal
            - value: '2'
              newvalue: warning
            - value: '3'
              newvalue: critical
            - value: '4'
              newvalue: shutdown
            - value: '5'
              newvalue: notPresent
            - value: '6'
              newvalue: notFunctioning
        - uuid: b4d11dd4e18b4958a17b5da31d101e08
          name: 'IF-MIB::ifOperStatus'
          mappings:
            - value: '1'
              newvalue: up
            - value: '2'
              newvalue: down
            - value: '4'
              newvalue: unknown
            - value: '5'
              newvalue: dormant
            - value: '6'
              newvalue: notPresent
            - value: '7'
              newvalue: lowerLayerDown
        - uuid: 475ca8ba5faf4ddca62bd41be9b3d410
          name: 'IF-MIB::ifType'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: regular1822
            - value: '3'
              newvalue: hdh1822
            - value: '4'
              newvalue: ddnX25
            - value: '5'
              newvalue: rfc877x25
            - value: '6'
              newvalue: ethernetCsmacd
            - value: '7'
              newvalue: iso88023Csmacd
            - value: '8'
              newvalue: iso88024TokenBus
            - value: '9'
              newvalue: iso88025TokenRing
            - value: '10'
              newvalue: iso88026Man
            - value: '11'
              newvalue: starLan
            - value: '12'
              newvalue: proteon10Mbit
            - value: '13'
              newvalue: proteon80Mbit
            - value: '14'
              newvalue: hyperchannel
            - value: '15'
              newvalue: fddi
            - value: '16'
              newvalue: lapb
            - value: '17'
              newvalue: sdlc
            - value: '18'
              newvalue: ds1
            - value: '19'
              newvalue: e1
            - value: '20'
              newvalue: basicISDN
            - value: '21'
              newvalue: primaryISDN
            - value: '22'
              newvalue: propPointToPointSerial
            - value: '23'
              newvalue: ppp
            - value: '24'
              newvalue: softwareLoopback
            - value: '25'
              newvalue: eon
            - value: '26'
              newvalue: ethernet3Mbit
            - value: '27'
              newvalue: nsip
            - value: '28'
              newvalue: slip
            - value: '29'
              newvalue: ultra
            - value: '30'
              newvalue: ds3
            - value: '31'
              newvalue: sip
            - value: '32'
              newvalue: frameRelay
            - value: '33'
              newvalue: rs232
            - value: '34'
              newvalue: para
            - value: '35'
              newvalue: arcnet
            - value: '36'
              newvalue: arcnetPlus
            - value: '37'
              newvalue: atm
            - value: '38'
              newvalue: miox25
            - value: '39'
              newvalue: sonet
            - value: '40'
              newvalue: x25ple
            - value: '41'
              newvalue: iso88022llc
            - value: '42'
              newvalue: localTalk
            - value: '43'
              newvalue: smdsDxi
            - value: '44'
              newvalue: frameRelayService
            - value: '45'
              newvalue: v35
            - value: '46'
              newvalue: hssi
            - value: '47'
              newvalue: hippi
            - value: '48'
              newvalue: modem
            - value: '49'
              newvalue: aal5
            - value: '50'
              newvalue: sonetPath
            - value: '51'
              newvalue: sonetVT
            - value: '52'
              newvalue: smdsIcip
            - value: '53'
              newvalue: propVirtual
            - value: '54'
              newvalue: propMultiplexor
            - value: '55'
              newvalue: ieee80212
            - value: '56'
              newvalue: fibreChannel
            - value: '57'
              newvalue: hippiInterface
            - value: '58'
              newvalue: frameRelayInterconnect
            - value: '59'
              newvalue: aflane8023
            - value: '60'
              newvalue: aflane8025
            - value: '61'
              newvalue: cctEmul
            - value: '62'
              newvalue: fastEther
            - value: '63'
              newvalue: isdn
            - value: '64'
              newvalue: v11
            - value: '65'
              newvalue: v36
            - value: '66'
              newvalue: g703at64k
            - value: '67'
              newvalue: g703at2mb
            - value: '68'
              newvalue: qllc
            - value: '69'
              newvalue: fastEtherFX
            - value: '70'
              newvalue: channel
            - value: '71'
              newvalue: ieee80211
            - value: '72'
              newvalue: ibm370parChan
            - value: '73'
              newvalue: escon
            - value: '74'
              newvalue: dlsw
            - value: '75'
              newvalue: isdns
            - value: '76'
              newvalue: isdnu
            - value: '77'
              newvalue: lapd
            - value: '78'
              newvalue: ipSwitch
            - value: '79'
              newvalue: rsrb
            - value: '80'
              newvalue: atmLogical
            - value: '81'
              newvalue: ds0
            - value: '82'
              newvalue: ds0Bundle
            - value: '83'
              newvalue: bsc
            - value: '84'
              newvalue: async
            - value: '85'
              newvalue: cnr
            - value: '86'
              newvalue: iso88025Dtr
            - value: '87'
              newvalue: eplrs
            - value: '88'
              newvalue: arap
            - value: '89'
              newvalue: propCnls
            - value: '90'
              newvalue: hostPad
            - value: '91'
              newvalue: termPad
            - value: '92'
              newvalue: frameRelayMPI
            - value: '93'
              newvalue: x213
            - value: '94'
              newvalue: adsl
            - value: '95'
              newvalue: radsl
            - value: '96'
              newvalue: sdsl
            - value: '97'
              newvalue: vdsl
            - value: '98'
              newvalue: iso88025CRFPInt
            - value: '99'
              newvalue: myrinet
            - value: '100'
              newvalue: voiceEM
            - value: '101'
              newvalue: voiceFXO
            - value: '102'
              newvalue: voiceFXS
            - value: '103'
              newvalue: voiceEncap
            - value: '104'
              newvalue: voiceOverIp
            - value: '105'
              newvalue: atmDxi
            - value: '106'
              newvalue: atmFuni
            - value: '107'
              newvalue: atmIma
            - value: '108'
              newvalue: pppMultilinkBundle
            - value: '109'
              newvalue: ipOverCdlc
            - value: '110'
              newvalue: ipOverClaw
            - value: '111'
              newvalue: stackToStack
            - value: '112'
              newvalue: virtualIpAddress
            - value: '113'
              newvalue: mpc
            - value: '114'
              newvalue: ipOverAtm
            - value: '115'
              newvalue: iso88025Fiber
            - value: '116'
              newvalue: tdlc
            - value: '117'
              newvalue: gigabitEthernet
            - value: '118'
              newvalue: hdlc
            - value: '119'
              newvalue: lapf
            - value: '120'
              newvalue: v37
            - value: '121'
              newvalue: x25mlp
            - value: '122'
              newvalue: x25huntGroup
            - value: '123'
              newvalue: trasnpHdlc
            - value: '124'
              newvalue: interleave
            - value: '125'
              newvalue: fast
            - value: '126'
              newvalue: ip
            - value: '127'
              newvalue: docsCableMaclayer
            - value: '128'
              newvalue: docsCableDownstream
            - value: '129'
              newvalue: docsCableUpstream
            - value: '130'
              newvalue: a12MppSwitch
            - value: '131'
              newvalue: tunnel
            - value: '132'
              newvalue: coffee
            - value: '133'
              newvalue: ces
            - value: '134'
              newvalue: atmSubInterface
            - value: '135'
              newvalue: l2vlan
            - value: '136'
              newvalue: l3ipvlan
            - value: '137'
              newvalue: l3ipxvlan
            - value: '138'
              newvalue: digitalPowerline
            - value: '139'
              newvalue: mediaMailOverIp
            - value: '140'
              newvalue: dtm
            - value: '141'
              newvalue: dcn
            - value: '142'
              newvalue: ipForward
            - value: '143'
              newvalue: msdsl
            - value: '144'
              newvalue: ieee1394
            - value: '145'
              newvalue: if-gsn
            - value: '146'
              newvalue: dvbRccMacLayer
            - value: '147'
              newvalue: dvbRccDownstream
            - value: '148'
              newvalue: dvbRccUpstream
            - value: '149'
              newvalue: atmVirtual
            - value: '150'
              newvalue: mplsTunnel
            - value: '151'
              newvalue: srp
            - value: '152'
              newvalue: voiceOverAtm
            - value: '153'
              newvalue: voiceOverFrameRelay
            - value: '154'
              newvalue: idsl
            - value: '155'
              newvalue: compositeLink
            - value: '156'
              newvalue: ss7SigLink
            - value: '157'
              newvalue: propWirelessP2P
            - value: '158'
              newvalue: frForward
            - value: '159'
              newvalue: rfc1483
            - value: '160'
              newvalue: usb
            - value: '161'
              newvalue: ieee8023adLag
            - value: '162'
              newvalue: bgppolicyaccounting
            - value: '163'
              newvalue: frf16MfrBundle
            - value: '164'
              newvalue: h323Gatekeeper
            - value: '165'
              newvalue: h323Proxy
            - value: '166'
              newvalue: mpls
            - value: '167'
              newvalue: mfSigLink
            - value: '168'
              newvalue: hdsl2
            - value: '169'
              newvalue: shdsl
            - value: '170'
              newvalue: ds1FDL
            - value: '171'
              newvalue: pos
            - value: '172'
              newvalue: dvbAsiIn
            - value: '173'
              newvalue: dvbAsiOut
            - value: '174'
              newvalue: plc
            - value: '175'
              newvalue: nfas
            - value: '176'
              newvalue: tr008
            - value: '177'
              newvalue: gr303RDT
            - value: '178'
              newvalue: gr303IDT
            - value: '179'
              newvalue: isup
            - value: '180'
              newvalue: propDocsWirelessMaclayer
            - value: '181'
              newvalue: propDocsWirelessDownstream
            - value: '182'
              newvalue: propDocsWirelessUpstream
            - value: '183'
              newvalue: hiperlan2
            - value: '184'
              newvalue: propBWAp2Mp
            - value: '185'
              newvalue: sonetOverheadChannel
            - value: '186'
              newvalue: digitalWrapperOverheadChannel
            - value: '187'
              newvalue: aal2
            - value: '188'
              newvalue: radioMAC
            - value: '189'
              newvalue: atmRadio
            - value: '190'
              newvalue: imt
            - value: '191'
              newvalue: mvl
            - value: '192'
              newvalue: reachDSL
            - value: '193'
              newvalue: frDlciEndPt
            - value: '194'
              newvalue: atmVciEndPt
            - value: '195'
              newvalue: opticalChannel
            - value: '196'
              newvalue: opticalTransport
            - value: '197'
              newvalue: propAtm
            - value: '198'
              newvalue: voiceOverCable
            - value: '199'
              newvalue: infiniband
            - value: '200'
              newvalue: teLink
            - value: '201'
              newvalue: q2931
            - value: '202'
              newvalue: virtualTg
            - value: '203'
              newvalue: sipTg
            - value: '204'
              newvalue: sipSig
            - value: '205'
              newvalue: docsCableUpstreamChannel
            - value: '206'
              newvalue: econet
            - value: '207'
              newvalue: pon155
            - value: '208'
              newvalue: pon622
            - value: '209'
              newvalue: bridge
            - value: '210'
              newvalue: linegroup
            - value: '211'
              newvalue: voiceEMFGD
            - value: '212'
              newvalue: voiceFGDEANA
            - value: '213'
              newvalue: voiceDID
            - value: '214'
              newvalue: mpegTransport
            - value: '215'
              newvalue: sixToFour
            - value: '216'
              newvalue: gtp
            - value: '217'
              newvalue: pdnEtherLoop1
            - value: '218'
              newvalue: pdnEtherLoop2
            - value: '219'
              newvalue: opticalChannelGroup
            - value: '220'
              newvalue: homepna
            - value: '221'
              newvalue: gfp
            - value: '222'
              newvalue: ciscoISLvlan
            - value: '223'
              newvalue: actelisMetaLOOP
            - value: '224'
              newvalue: fcipLink
            - value: '225'
              newvalue: rpr
            - value: '226'
              newvalue: qam
            - value: '227'
              newvalue: lmp
            - value: '228'
              newvalue: cblVectaStar
            - value: '229'
              newvalue: docsCableMCmtsDownstream
            - value: '230'
              newvalue: adsl2
            - value: '231'
              newvalue: macSecControlledIF
            - value: '232'
              newvalue: macSecUncontrolledIF
            - value: '233'
              newvalue: aviciOpticalEther
            - value: '234'
              newvalue: atmbond
            - value: '235'
              newvalue: voiceFGDOS
            - value: '236'
              newvalue: mocaVersion1
            - value: '237'
              newvalue: ieee80216WMAN
            - value: '238'
              newvalue: adsl2plus
            - value: '239'
              newvalue: dvbRcsMacLayer
            - value: '240'
              newvalue: dvbTdm
            - value: '241'
              newvalue: dvbRcsTdma
            - value: '242'
              newvalue: x86Laps
            - value: '243'
              newvalue: wwanPP
            - value: '244'
              newvalue: wwanPP2
            - value: '245'
              newvalue: voiceEBS
            - value: '246'
              newvalue: ifPwType
            - value: '247'
              newvalue: ilan
            - value: '248'
              newvalue: pip
            - value: '249'
              newvalue: aluELP
            - value: '250'
              newvalue: gpon
            - value: '251'
              newvalue: vdsl2
            - value: '252'
              newvalue: capwapDot11Profile
            - value: '253'
              newvalue: capwapDot11Bss
            - value: '254'
              newvalue: capwapWtpVirtualRadio
            - value: '255'
              newvalue: bits
            - value: '256'
              newvalue: docsCableUpstreamRfPort
            - value: '257'
              newvalue: cableDownstreamRfPort
            - value: '258'
              newvalue: vmwareVirtualNic
            - value: '259'
              newvalue: ieee802154
            - value: '260'
              newvalue: otnOdu
            - value: '261'
              newvalue: otnOtu
            - value: '262'
              newvalue: ifVfiType
            - value: '263'
              newvalue: g9981
            - value: '264'
              newvalue: g9982
            - value: '265'
              newvalue: g9983
            - value: '266'
              newvalue: aluEpon
            - value: '267'
              newvalue: aluEponOnu
            - value: '268'
              newvalue: aluEponPhysicalUni
            - value: '269'
              newvalue: aluEponLogicalLink
            - value: '270'
              newvalue: aluGponOnu
            - value: '271'
              newvalue: aluGponPhysicalUni
            - value: '272'
              newvalue: vmwareNicTeam
            - value: '277'
              newvalue: docsOfdmDownstream
            - value: '278'
              newvalue: docsOfdmaUpstream
            - value: '279'
              newvalue: gfast
            - value: '280'
              newvalue: sdci
            - value: '281'
              newvalue: xboxWireless
            - value: '282'
              newvalue: fastdsl
            - value: '283'
              newvalue: docsCableScte55d1FwdOob
            - value: '284'
              newvalue: docsCableScte55d1RetOob
            - value: '285'
              newvalue: docsCableScte55d2DsOob
            - value: '286'
              newvalue: docsCableScte55d2UsOob
            - value: '287'
              newvalue: docsCableNdf
            - value: '288'
              newvalue: docsCableNdr
            - value: '289'
              newvalue: ptm
            - value: '290'
              newvalue: ghn
        - uuid: 5470fefd50c64782ac60e3a2aa8b3d3c
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
        - uuid: 91d7e7e2bd4d48d7aecb9f9b4654185f
          name: zabbix.host.available
          mappings:
            - value: '0'
              newvalue: 'not available'
            - value: '1'
              newvalue: available
            - value: '2'
              newvalue: unknown
    - uuid: 80fc469750f84061924662a98c33580c
      template: 'Cisco Nexus 9000 Series by SNMP'
      name: 'Cisco Nexus 9000 Series by SNMP'
      description: |
        Template Cisco Nexus 9000 Series
          
          MIBs used:
          CISCO-ENHANCED-MEMPOOL-MIB
          CISCO-ENTITY-FRU-CONTROL-MIB
          CISCO-ENTITY-SENSOR-MIB
          CISCO-PROCESS-MIB
          ENTITY-MIB
          EtherLike-MIB
          IF-MIB
          SNMPv2-MIB
          SNMP-FRAMEWORK-MIB
          CISCO-IMAGE-MIB
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/418396-discussion-thread-for-official-zabbix-templates-for-cisco
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        This template is designed to monitor `Cisco Nexus 9000 Series Switches`. 
        > See [Cisco support documentation](https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/series.html) for details.
        
        ## Setup
        
        > Refer to the [vendor documentation](https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-installation-and-configuration-guides-list.html) for details.
      vendor:
        name: Zabbix
        version: 8.0-3
      groups:
        - name: 'Templates/Network devices'
      items:
        - uuid: 8eff7e6fc12c45f6b98a4fb89c44f03d
          name: 'ICMP ping'
          type: SIMPLE
          key: icmpping
          valuemap:
            name: 'Service state'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 2b9b678cb9fc407cb485136ddcf5953c
              expression: 'max(/Cisco Nexus 9000 Series by SNMP/icmpping,#3)=0'
              name: 'Cisco Nexus 9000: Unavailable by ICMP ping'
              priority: HIGH
              description: 'The last three attempts returned a timeout. Check the connectivity of a device.'
              tags:
                - tag: scope
                  value: availability
        - uuid: cb04f67d7ea04894a9f143a7d27db09a
          name: 'ICMP loss'
          type: SIMPLE
          key: icmppingloss
          value_type: FLOAT
          units: '%'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: d32cffe7dcef4873ac8bb4d86119ddaa
              expression: 'min(/Cisco Nexus 9000 Series by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco Nexus 9000 Series by SNMP/icmppingloss,5m)<100'
              name: 'Cisco Nexus 9000: High ICMP ping loss'
              opdata: 'Loss: {ITEM.LASTVALUE1}'
              priority: WARNING
              dependencies:
                - name: 'Cisco Nexus 9000: Unavailable by ICMP ping'
                  expression: 'max(/Cisco Nexus 9000 Series by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: be862a0f8625484ebccb8a4e5255b683
          name: 'ICMP response time'
          type: SIMPLE
          key: icmppingsec
          value_type: FLOAT
          units: s
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: a51dc1f61eec4709b8f52b3df65eae86
              expression: 'avg(/Cisco Nexus 9000 Series by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
              name: 'Cisco Nexus 9000: High ICMP ping response time'
              opdata: 'Value: {ITEM.LASTVALUE1}'
              priority: WARNING
              dependencies:
                - name: 'Cisco Nexus 9000: High ICMP ping loss'
                  expression: 'min(/Cisco Nexus 9000 Series by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/Cisco Nexus 9000 Series by SNMP/icmppingloss,5m)<100'
                - name: 'Cisco Nexus 9000: Unavailable by ICMP ping'
                  expression: 'max(/Cisco Nexus 9000 Series by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 027bb218006e46238392afbb12d96ec6
          name: 'SNMP traps (fallback)'
          type: SNMP_TRAP
          key: snmptrap.fallback
          value_type: LOG
          description: 'The item is used to collect all the SNMP traps unmatched by the other snmptrap items.'
          logtimefmt: 'hh:mm:sszyyyy/MM/dd'
          tags:
            - tag: component
              value: system
        - uuid: 566c78f548bc4d1c9157b4a3f41f083b
          name: 'System contact details'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
          key: system.contact
          delay: 1h
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB.
            The textual identification of the contact person for the managed node (or: this node), together with the contact information of this person. If no contact information is known, the value is a zero-length string.
          inventory_link: CONTACT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: bc245084de0047aaa7bc62234970e827
          name: 'System description'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: system.descr
          delay: 1h
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB.
            The textual description of the entity. This value should include the full name and version identification number of the system's hardware type, software operating-system, and the networking software.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 34022f907faa4a3e8a02c5e5f5c8c43a
          name: 'Hardware model name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.13.149]'
          key: system.hw.model
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB.'
          inventory_link: MODEL
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
        - uuid: 9d42a842c591489bb984faad26cd7e63
          name: 'Hardware serial number'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.11.149]'
          key: system.hw.serialnumber
          delay: 1h
          value_type: CHAR
          description: 'MIB: ENTITY-MIB.'
          inventory_link: SERIALNO_A
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: b813bf6448fe4974911106e36b2d8888
              expression: 'change(/Cisco Nexus 9000 Series by SNMP/system.hw.serialnumber)=1 and length(last(/Cisco Nexus 9000 Series by SNMP/system.hw.serialnumber))>0'
              name: 'Cisco Nexus 9000: Device has been replaced'
              event_name: 'Cisco Nexus 9000: Device has been replaced (new serial number received)'
              priority: INFO
              description: 'The serial number of a device has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 5f109dce62c942f794fecaf7038d691e
          name: 'System location'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
          key: system.location
          delay: 1h
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB.
            The physical location of this node (e.g., telephone closet, the third floor).
            If the location is unknown, the value is a zero-length string.
          inventory_link: LOCATION
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: system
        - uuid: 31ff1ef55d69461bbc5b4416c7a040be
          name: 'System name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
          key: system.name
          delay: 1h
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB.
            The administratively-assigned name for this node. By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is a zero-length string.
          inventory_link: NAME
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: cf98bf1ffe854a758f0006aaeb5096ab
              expression: 'change(/Cisco Nexus 9000 Series by SNMP/system.name)=1 and length(last(/Cisco Nexus 9000 Series by SNMP/system.name))>0'
              name: 'Cisco Nexus 9000: System name has changed'
              event_name: 'Cisco Nexus 9000: System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'The system name has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: a60cce9cf0464d6292d6b7934e9cfcd6
          name: 'System object ID'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
          key: system.objectid
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB.
            The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprise's subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining "what kind of box" is being managed.
            For example, if the vendor "Flintstones, Inc." was assigned the subtree 1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its "Fred Router".
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: system
        - uuid: e02a0a8de70547e4895b395b616919dd
          name: 'Operating system'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.9.9.25.1.1.1.2.5]'
          key: system.sw.os
          delay: 1h
          value_type: CHAR
          description: 'MIB: CISCO-IMAGE-MIB'
          inventory_link: OS
          preprocessing:
            - type: REGEX
              parameters:
                - 'CW_VERSION\$(.*?)\$'
                - \1
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 749b4c4b8f4e49caa6b239b15953ffb9
              expression: 'change(/Cisco Nexus 9000 Series by SNMP/system.sw.os)=1 and length(last(/Cisco Nexus 9000 Series by SNMP/system.sw.os))>0'
              recovery_mode: NONE
              name: 'Cisco Nexus 9000: Operating system description has changed'
              priority: INFO
              description: 'The description of the operating system has changed. Possible reasons that system has been updated or replaced. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco Nexus 9000: System name has changed'
                  expression: 'change(/Cisco Nexus 9000 Series by SNMP/system.name)=1 and length(last(/Cisco Nexus 9000 Series by SNMP/system.name))>0'
              tags:
                - tag: scope
                  value: notice
        - uuid: 83405503b84d4af292e6846ccbd8a877
          name: 'Uptime (snmp)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.6.3.10.2.1.3.0]'
          key: system.uptime
          trends: '0'
          units: uptime
          description: |
            MIB: SNMP-FRAMEWORK-MIB::snmpEngineTime.
            The number of seconds since the value of the `snmpEngineBoots` object has had a last change.
            When incrementing this object's value would cause it to exceed its maximum, the `snmpEngineBoots` is incremented as if a re-initialization had occurred,
            and this object's value consequently reverts to zero.
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: fc80a45e361842f09dfe9b047e1c6b5f
              expression: 'last(/Cisco Nexus 9000 Series by SNMP/system.uptime)<10m'
              name: 'Cisco Nexus 9000: Device has been restarted or reinitialized'
              event_name: 'Cisco Nexus 9000: {HOST.NAME} has been restarted or reinitialized (uptime < 10m)'
              priority: WARNING
              description: 'The record of SNMP Boots has changed in less than 10 minutes. The restart of a device also counts.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: edb1d93d5fda47928dcb62223ada8b16
          name: 'SNMP agent availability'
          type: INTERNAL
          key: 'zabbix[host,snmp,available]'
          valuemap:
            name: zabbix.host.available
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: b60bca40b3b14f2384332103af74bd23
              expression: 'max(/Cisco Nexus 9000 Series by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
              name: 'Cisco Nexus 9000: No SNMP data collection'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'SNMP is not available for polling. Check the connectivity of a device and SNMP settings.'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: d1d6b8c10e83484e82e37b58c7004d9e
          name: 'CPU discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.109.1.1.1.1.2]'
          key: cpu.discovery
          delay: 1h
          description: |
            You must use CISCO-PROCESS-MIB and its object `cpmCPUTotal5minRev` from the table called `cpmCPUTotalTable`, and indexed with `cpmCPUTotalPhysicalIndex`.
            The table `cpmCPUTotalTable` allows CISCO-PROCESS-MIB to keep the CPU statistics for different physical entities in the router, such as different CPU chips, a group of CPUs, or CPUs in different modules/cards.
            In the case of a single CPU, the `cpmCPUTotalTable` has only one entry.
          item_prototypes:
            - uuid: 0196f6b4431b4823860b89c712b2e5a8
              name: '#{#SNMPINDEX}: CPU utilization'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.109.1.1.1.1.8.{#SNMPINDEX}]'
              key: 'system.cpu.util[{#SNMPINDEX}]'
              delay: 5m
              value_type: FLOAT
              units: '%'
              description: |
                MIB: CISCO-PROCESS-MIB
                The object name: `cpmCPUTotal5minRev`
                
                The MIB object `cpmCPUTotal5minRev` provides a more accurate view of the performance of the router over time than the MIB objects `cpmCPUTotal1minRev` and `cpmCPUTotal5secRev`. These MIB objects are not accurate because they look at the CPU with an interval of one minute and five seconds, respectively. These MIBs enable to monitor the trends and plan the capacity of your network. The recommended baseline rising threshold for the `cpmCPUTotal5minRev` is 90 percent. Depending on the platform, some routers that run at 90 percent, for example, 2500 series can exhibit performance degradation versus a high-end router, for example, the 7500 series, which can operate fine.
              tags:
                - tag: component
                  value: cpu
              trigger_prototypes:
                - uuid: 1ac7652bda474762aa0b0c354728307e
                  expression: 'min(/Cisco Nexus 9000 Series by SNMP/system.cpu.util[{#SNMPINDEX}],5m)>{$CPU.UTIL.CRIT}'
                  name: 'Cisco Nexus 9000: #{#SNMPINDEX}: High CPU utilization'
                  event_name: 'Cisco Nexus 9000: #{#SNMPINDEX}: High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)'
                  opdata: 'Current utilization: {ITEM.LASTVALUE}'
                  priority: WARNING
                  description: 'The CPU utilization is too high. The system might be slow to respond.'
                  tags:
                    - tag: scope
                      value: capacity
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: 477691193b1e43b595f421644926d5a7
              name: '#{#SNMPINDEX}: CPU utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'system.cpu.util[{#SNMPINDEX}]'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: b0c97bd2037f405ba2b183456d01973e
          name: 'Entity serial numbers discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#ENT_CLASS},1.3.6.1.2.1.47.1.1.1.1.5,{#ENT_NAME},1.3.6.1.2.1.47.1.1.1.1.7,{#ENT_SN},1.3.6.1.2.1.47.1.1.1.1.11]'
          key: entity_sn.discovery
          delay: 1h
          filter:
            evaltype: AND
            conditions:
              - macro: '{#ENT_CLASS}'
                value: '{$ENT_CLASS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#ENT_SN}'
                value: '{$ENT_SN.MATCHES}'
          description: 'The discovery of serial numbers of the entities from ENTITY-MIB.'
          item_prototypes:
            - uuid: 873d648619bf45168d8008ea32596838
              name: '{#ENT_NAME}: Hardware serial number'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.47.1.1.1.1.11.{#SNMPINDEX}]'
              key: 'system.hw.serialnumber[{#SNMPINDEX}]'
              delay: 1h
              value_type: CHAR
              description: |
                MIB: ENTITY-MIB.
                The object name: `entPhysicalSerialNum`.
                The vendor-specific serial number string for the physical entity. The preferred value is the serial number string actually printed on the component itself (if present).
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              tags:
                - tag: component
                  value: serial-number
                - tag: entity
                  value: '{#ENT_NAME}'
              trigger_prototypes:
                - uuid: 18e244c17d6c436f9e3b1d71d7bfd024
                  expression: 'change(/Cisco Nexus 9000 Series by SNMP/system.hw.serialnumber[{#SNMPINDEX}])=1 and length(last(/Cisco Nexus 9000 Series by SNMP/system.hw.serialnumber[{#SNMPINDEX}]))>0'
                  name: 'Cisco Nexus 9000: {#ENT_NAME}: Device has been replaced'
                  event_name: 'Cisco Nexus 9000: {#ENT_NAME}: Device has been replaced (new serial number received)'
                  priority: INFO
                  description: 'The device serial number has changed. Acknowledge to close the problem manually.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: a323e6f090e043058e2e932ed2456cba
          name: 'Fan status discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.47.1.1.1.1.7]'
          key: fan.status.discovery
          delay: 1h
          filter:
            conditions:
              - macro: '{#SNMPVALUE}'
                value: '{$CISCO.LLD.FILTER.FAN.NAME.MATCHES}'
          description: 'The discovery of metrics for the fan''s status from ENTITY-MIB and CISCO-ENTITY-FRU-CONTROL-MIB.'
          item_prototypes:
            - uuid: 16047f29242444f284e81f6b87a22c50
              name: '{#SNMPVALUE}: Fan operational status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.117.1.4.1.1.1.{#SNMPINDEX}]'
              key: 'sensor.fan.status[{#SNMPINDEX}]'
              description: |
                MIB: CISCO-ENTITY-FRU-CONTROL-MIB.
                The object name: `cefcFanTrayOperStatus`.
                The operational state of the fan or a fan tray.
                Possible values:
                -  unknown (1) - unknown;
                -  up (2) - powered on;
                -  down (3) - powered down;
                -  warning (4) - partial failure; needs replacement as soon as possible.
              valuemap:
                name: 'CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayOperStatus'
              tags:
                - tag: component
                  value: fan
              trigger_prototypes:
                - uuid: c06b2cf2183d40348b3f688a7fbcb479
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.fan.status[{#SNMPINDEX}])=3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Fan is down'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: AVERAGE
                  description: 'The fan unit requires immediate attention.'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: ec5a4c0aa2b947309d012fcaf1736c7e
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.fan.status[{#SNMPINDEX}])=1'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Fan is in unknown state'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: INFO
                  description: 'The fan unit requires attention.'
                  dependencies:
                    - name: 'Cisco Nexus 9000: {#SNMPVALUE}: Fan is down'
                      expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.fan.status[{#SNMPINDEX}])=3'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 83494b0d4ec84709a18f8674c1fa50fd
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.fan.status[{#SNMPINDEX}])=4'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Fan is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: WARNING
                  description: 'The fan unit requires attention.'
                  dependencies:
                    - name: 'Cisco Nexus 9000: {#SNMPVALUE}: Fan is down'
                      expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.fan.status[{#SNMPINDEX}])=3'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: 2714f855584347329b2f175a85198f80
          name: 'Memory discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.9.9.221.1.1.1.1.3]'
          key: memory.discovery
          delay: 1h
          description: |
            The discovery of `ciscoMemoryPoolTable` - the table that contains monitoring entries of the memory pool.
            For more details see "How to Get Free and Largest Block of Contiguous Memory Using SNMP":
            http://www.cisco.com/c/en/us/support/docs/ip/simple-network-management-protocol-snmp/15216-contiguous-memory.html
          item_prototypes:
            - uuid: 566a28e0151f4e54a8dd7fceae39ffab
              name: '{#SNMPVALUE}: Free memory'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.221.1.1.1.1.8.{#SNMPINDEX}]'
              key: 'vm.memory.free[{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-ENHANCED-MEMPOOL-MIB.
                The object name: `cempMemPoolFree`.
                It indicates the number of bytes from the memory pool that are currently unused on the physical entity.
              tags:
                - tag: component
                  value: memory
                - tag: memory
                  value: '{#SNMPVALUE}'
            - uuid: e1d336ee79b6448ea9d6a28107314a42
              name: '{#SNMPVALUE}: Used memory'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.221.1.1.1.1.7.{#SNMPINDEX}]'
              key: 'vm.memory.used[{#SNMPINDEX}]'
              units: B
              description: |
                MIB: CISCO-ENHANCED-MEMPOOL-MIB.
                The object name: `cempMemPoolUsed`.
                It indicates the number of bytes from the memory pool that are currently in use by applications on the physical entity.
              tags:
                - tag: component
                  value: memory
                - tag: memory
                  value: '{#SNMPVALUE}'
            - uuid: a56f71ab5bc64aa8884dc540baefe91a
              name: '{#SNMPVALUE}: Memory utilization'
              type: CALCULATED
              key: 'vm.memory.util[{#SNMPINDEX}]'
              value_type: FLOAT
              units: '%'
              params: 'last(//vm.memory.used[{#SNMPINDEX}])/(last(//vm.memory.free[{#SNMPINDEX}])+last(//vm.memory.used[{#SNMPINDEX}]))*100'
              description: 'The memory utilization expressed in %.'
              tags:
                - tag: component
                  value: memory
                - tag: memory
                  value: '{#SNMPVALUE}'
              trigger_prototypes:
                - uuid: d7f6de21b2434a81b2b116a98a59b1ed
                  expression: 'min(/Cisco Nexus 9000 Series by SNMP/vm.memory.util[{#SNMPINDEX}],5m)>{$MEMORY.UTIL.MAX}'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: High memory utilization'
                  event_name: 'Cisco Nexus 9000: {#SNMPVALUE}: High memory utilization ( >{$MEMORY.UTIL.MAX}% for 5m)'
                  priority: AVERAGE
                  description: 'The system is running out of free memory.'
                  tags:
                    - tag: scope
                      value: capacity
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: 12fcbac74d9b4874b6065c20bd6b2901
              name: '{#SNMPVALUE}: Memory utilization'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'vm.memory.util[{#SNMPINDEX}]'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: cd6bc93993e44b61aca57f0486e61756
          name: 'Network interfaces discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFADMINSTATUS},1.3.6.1.2.1.2.2.1.7,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2,{#IFTYPE},1.3.6.1.2.1.2.2.1.3]'
          key: net.if.discovery
          delay: 1h
          filter:
            evaltype: AND
            conditions:
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.MATCHES}'
              - macro: '{#IFADMINSTATUS}'
                value: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.MATCHES}'
              - macro: '{#IFALIAS}'
                value: '{$NET.IF.IFALIAS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.MATCHES}'
              - macro: '{#IFDESCR}'
                value: '{$NET.IF.IFDESCR.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.MATCHES}'
              - macro: '{#IFNAME}'
                value: '{$NET.IF.IFNAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.MATCHES}'
              - macro: '{#IFOPERSTATUS}'
                value: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.MATCHES}'
              - macro: '{#IFTYPE}'
                value: '{$NET.IF.IFTYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
          description: 'The discovery of interfaces from IF-MIB.'
          item_prototypes:
            - uuid: ad58c092ed604092a06ba518779c3294
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets discarded'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.13.{#SNMPINDEX}]'
              key: 'net.if.in.discards[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                The number of inbound packets, which were chosen to be discarded even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be the necessity to free up the buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: cbf3ec76d241416caf812eccdf91ec1b
              name: 'Interface {#IFNAME}({#IFALIAS}): Inbound packets with errors'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.14.{#SNMPINDEX}]'
              key: 'net.if.in.errors[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
                For character-oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: 9d60de695fa243b4b933766b668de946
                  expression: 'min(/Cisco Nexus 9000 Series by SNMP/net.if.in.errors[{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'max(/Cisco Nexus 9000 Series by SNMP/net.if.in.errors[{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8'
                  name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High input error rate'
                  event_name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High input error rate ( > {$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
                  opdata: 'errors in: {ITEM.LASTVALUE}'
                  priority: WARNING
                  description: 'It recovers when it goes below 80% of the {$IF.ERRORS.WARN:"{#IFNAME}"} threshold.'
                  manual_close: 'YES'
                  dependencies:
                    - name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                      expression: |
                        {$IFCONTROL:"{#IFNAME}"}=1 
                        and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                        and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
                  tags:
                    - tag: scope
                      value: performance
            - uuid: 7bce2682f482489c8c27aafc9ddcb205
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits received'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.31.1.1.1.6.{#SNMPINDEX}]'
              key: 'net.if.in[{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB.
                The total number of octets received on the interface, including framing characters. This object is a 64-bit version of ifInOctets.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 4751c9b0380d465799b013906e404e14
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets discarded'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.19.{#SNMPINDEX}]'
              key: 'net.if.out.discards[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                The number of outbound packets, which were chosen to be discarded, even though no errors had been detected to prevent their being deliverable to a higher-layer protocol.
                One possible reason for discarding such a packet could be to free up buffer space.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 36185d5b8239434ba2c85706cd890148
              name: 'Interface {#IFNAME}({#IFALIAS}): Outbound packets with errors'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.20.{#SNMPINDEX}]'
              key: 'net.if.out.errors[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                For packet-oriented interfaces, the number of outbound packets that contained errors preventing them from being deliverable to a higher-layer protocol.
                For character-oriented or fixed-length interfaces, the number of outbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: d1cc4527260346e59b86577e0ae9cc0c
                  expression: 'min(/Cisco Nexus 9000 Series by SNMP/net.if.out.errors[{#SNMPINDEX}],5m)>{$IF.ERRORS.WARN:"{#IFNAME}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'max(/Cisco Nexus 9000 Series by SNMP/net.if.out.errors[{#SNMPINDEX}],5m)<{$IF.ERRORS.WARN:"{#IFNAME}"}*0.8'
                  name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High output error rate'
                  event_name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High output error rate ( > {$IF.ERRORS.WARN:"{#IFNAME}"} for 5m)'
                  opdata: 'errors out: {ITEM.LASTVALUE2}'
                  priority: WARNING
                  description: 'It recovers when it goes below 80% of the {$IF.ERRORS.WARN:"{#IFNAME}"} threshold.'
                  manual_close: 'YES'
                  dependencies:
                    - name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                      expression: |
                        {$IFCONTROL:"{#IFNAME}"}=1 
                        and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                        and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
                  tags:
                    - tag: scope
                      value: performance
            - uuid: 669337baef364a46bc8ad34bd4c97494
              name: 'Interface {#IFNAME}({#IFALIAS}): Bits sent'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.31.1.1.1.10.{#SNMPINDEX}]'
              key: 'net.if.out[{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB.
                The total number of octets transmitted out of the interface, including framing characters. This object is a 64-bit version of the ifOutOctets.
                Discontinuities in the value of this counter can occur at re-initialization of the management system, and at other times as indicated by the value of the ifCounterDiscontinuityTime.
              preprocessing:
                - type: CHANGE_PER_SECOND
                - type: MULTIPLIER
                  parameters:
                    - '8'
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 2d7507061f1e49debfbbd78e5e666a13
              name: 'Interface {#IFNAME}({#IFALIAS}): Speed'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.31.1.1.1.15.{#SNMPINDEX}]'
              key: 'net.if.speed[{#SNMPINDEX}]'
              units: bps
              description: |
                MIB: IF-MIB.
                An estimate of the interface's current bandwidth in units of 1,000,000 bits per second. If this object reports a value of "n", then the speed of the interface is somewhere in the range from n-500,000 to n+499,999.
                For the interfaces, which do not vary in bandwidth or for those where no accurate estimation can be made, this object should contain the nominal bandwidth.
                For a sub-layer, which has no concept of bandwidth, this object should be zero.
              preprocessing:
                - type: MULTIPLIER
                  parameters:
                    - '1000000'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
            - uuid: 07cf5068d5584affa0b35aea5f63e17c
              name: 'Interface {#IFNAME}({#IFALIAS}): Operational status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.8.{#SNMPINDEX}]'
              key: 'net.if.status[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                The current operational state of the interface:
                -  The testing (3) state indicates that no operational packet scan be passed.
                -  If ifAdminStatus is down (2), then ifOperStatus should be down (2).
                -  If ifAdminStatus is changed to up (1), then ifOperStatus should change to up (1), provided the interface is ready to transmit and receive network traffic.
                -  It should change to dormant (5) if the interface is waiting for external actions, such as a serial line waiting for an incoming connection.
                -  It should remain in the down (2) state if and only when there is a fault that prevents it from going to the up (1) state.
                -  It should remain in the notPresent (6) state if the interface has missing components (typically, hardware).
              valuemap:
                name: 'IF-MIB::ifOperStatus'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: d16b8b35258a4c4b8e4338c2577f198b
                  expression: |
                    {$IFCONTROL:"{#IFNAME}"}=1 
                    and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                    and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
                  name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: |
                    This trigger expression works as follows:
                    1. It can be triggered if the operations status is down.
                    2. Use $IFCONTROL macro with context "{#IFNAME}" to void trigger firing on specific interfaces. Values:
                    -  0 : Marks an interface as not important. Trigger does not fire when interface is down.
                    -  1 : Default value to fire the trigger when interface is down
                    3. change(//net.if.status[{#IFNAME}]) - condition prevents firing of trigger if status did not change. It helps in cases, when interfaces were initially down.
                    BEWARE, manual close will ceasefire until at least two status changes happens again!
                  tags:
                    - tag: scope
                      value: availability
            - uuid: f2353404b957494683ade2d0c0a24e05
              name: 'Interface {#IFNAME}({#IFALIAS}): Interface type'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.2.2.1.3.{#SNMPINDEX}]'
              key: 'net.if.type[{#SNMPINDEX}]'
              description: |
                MIB: IF-MIB.
                The type of an interface.
                Additional values for ifType are assigned by the Internet Assigned Numbers Authority (IANA)
                through updating the syntax of the IANAifType textual convention.
              valuemap:
                name: 'IF-MIB::ifType'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
          trigger_prototypes:
            - uuid: 06a31bd057814786aac4f42ccdf57fdf
              expression: |
                change(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])<0 
                and last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])>0 
                and find(/Cisco Nexus 9000 Series by SNMP/net.if.type[{#SNMPINDEX}],#1,"regexp","^(6|7|11|62|69|117)$") 
                and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])<>2
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: |
                (change(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])>0 and last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}],#2)>0)
                or last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2
              name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Ethernet has changed to lower speed than it was before'
              opdata: 'Current reported speed: {ITEM.LASTVALUE1}'
              priority: INFO
              description: 'This Ethernet connection has transitioned down from its known maximum speed. This might be a sign of issues with autonegotiation. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: |
                    {$IFCONTROL:"{#IFNAME}"}=1 
                    and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                    and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
              tags:
                - tag: scope
                  value: performance
            - uuid: 9dc308a5f30a45689eb2b9b3c2d9d453
              expression: |
                (avg(/Cisco Nexus 9000 Series by SNMP/net.if.in[{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])) and
                last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])>0
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Cisco Nexus 9000 Series by SNMP/net.if.in[{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])'
              name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High inbound bandwidth usage'
              event_name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High inbound bandwidth usage ( > {$IF.UTIL.MAX:"{#IFNAME}"}% )'
              opdata: 'In: {ITEM.LASTVALUE1}, speed: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: |
                    {$IFCONTROL:"{#IFNAME}"}=1 
                    and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                    and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
              tags:
                - tag: scope
                  value: performance
            - uuid: 0036e4b0761740aea6f0b5c305861a4d
              expression: |
                (avg(/Cisco Nexus 9000 Series by SNMP/net.if.out[{#SNMPINDEX}],15m)>({$IF.UTIL.MAX:"{#IFNAME}"}/100)*last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])) and
                last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])>0
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Cisco Nexus 9000 Series by SNMP/net.if.out[{#SNMPINDEX}],15m)<(({$IF.UTIL.MAX:"{#IFNAME}"}-3)/100)*last(/Cisco Nexus 9000 Series by SNMP/net.if.speed[{#SNMPINDEX}])'
              name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High outbound bandwidth usage'
              event_name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): High outbound bandwidth usage ( > {$IF.UTIL.MAX:"{#IFNAME}"}% )'
              opdata: 'Out: {ITEM.LASTVALUE1}, speed: {ITEM.LASTVALUE2}'
              priority: WARNING
              description: 'The utilization of the network interface is close to its estimated maximum bandwidth.'
              manual_close: 'YES'
              dependencies:
                - name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): Link down'
                  expression: |
                    {$IFCONTROL:"{#IFNAME}"}=1 
                    and last(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])=2 
                    and change(/Cisco Nexus 9000 Series by SNMP/net.if.status[{#SNMPINDEX}])
              tags:
                - tag: scope
                  value: performance
          graph_prototypes:
            - uuid: 34e5de605fd54d43979c2ed35b0bdc80
              name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.in[{#SNMPINDEX}]'
                - sortorder: '1'
                  drawtype: BOLD_LINE
                  color: 2774A4
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.out[{#SNMPINDEX}]'
                - sortorder: '2'
                  color: F63100
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.out.errors[{#SNMPINDEX}]'
                - sortorder: '3'
                  color: A54F10
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.in.errors[{#SNMPINDEX}]'
                - sortorder: '4'
                  color: FC6EA3
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.out.discards[{#SNMPINDEX}]'
                - sortorder: '5'
                  color: 6C59DC
                  yaxisside: RIGHT
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'net.if.in.discards[{#SNMPINDEX}]'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: 73133517383046b58c8039363a907fe4
          name: 'EtherLike discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.10.7.2.1.19,{#IFOPERSTATUS},1.3.6.1.2.1.2.2.1.8,{#IFALIAS},1.3.6.1.2.1.31.1.1.1.18,{#IFNAME},1.3.6.1.2.1.31.1.1.1.1,{#IFDESCR},1.3.6.1.2.1.2.2.1.2]'
          key: net.if.duplex.discovery
          delay: 1h
          filter:
            conditions:
              - macro: '{#IFOPERSTATUS}'
                value: '1'
              - macro: '{#SNMPVALUE}'
                value: (2|3)
          description: 'The discovery of interfaces from IF-MIB and EtherLike-MIB. The interfaces that have up (1) operational status are discovered.'
          item_prototypes:
            - uuid: 17792bed5be34b21a4c8a4069374d7f7
              name: 'Interface {#IFNAME}({#IFALIAS}): Duplex status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.2.1.10.7.2.1.19.{#SNMPINDEX}]'
              key: 'net.if.duplex[{#SNMPINDEX}]'
              description: |
                MIB: EtherLike-MIB.
                The object name: dot3StatsDuplexStatus.
                The current mode of operation of the MAC entity 'unknown' indicates that the current duplex mode could not be determined.
                The management control of the duplex mode is accomplished through the MAU MIB. 
                When the interface does not support autonegotiation, or when autonegotiation is not enabled, the duplex mode is controlled using ifMauDefaultType.
                When autonegotiation is supported and enabled, duplex mode is controlled using ifMauAutoNegAdvertisedBits.
                In either case, the currently operating duplex mode is reflected in both: in this object and in ifMauType.
                Note that this object provides redundant information with ifMauType.
                Normally, redundant objects are discouraged. 
                However, in this instance, it allows the management application to determine the duplex status of an interface without having to know every possible value of ifMauType.
                This was felt to be sufficiently valuable to justify the redundancy.
                For the reference see: [IEEE 802.3 Std.], 30.3.1.1.32, aDuplexStatus.
              valuemap:
                name: 'EtherLike-MIB::dot3StatsDuplexStatus'
              tags:
                - tag: component
                  value: network
                - tag: description
                  value: '{#IFALIAS}'
                - tag: interface
                  value: '{#IFNAME}'
              trigger_prototypes:
                - uuid: c1f6a9e7c53c43a6ae19fa249236157d
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/net.if.duplex[{#SNMPINDEX}])=2'
                  name: 'Cisco Nexus 9000: Interface {#IFNAME}({#IFALIAS}): In half-duplex mode'
                  priority: WARNING
                  description: 'Check the autonegotiation settings and cabling.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: performance
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  try {
                  	var data = JSON.parse(value);
                  }
                  catch (error) {
                  	throw 'Failed to parse JSON of EtherLike-MIB discovery.';
                  }
                  var fields = ['{#SNMPVALUE}','{#IFOPERSTATUS}','{#IFALIAS}','{#IFNAME}','{#IFDESCR}'];
                  data.forEach(function (element) {
                  	fields.forEach(function (field) {
                  		element[field] = typeof(element[field]) === 'undefined' ? '' : element[field];
                  	});
                  });
                  return JSON.stringify(data);
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: 8a6f70d8eaa94e1dbd45f199c231d770
          name: 'PSU discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.2.1.47.1.1.1.1.7]'
          key: psu.discovery
          delay: 1h
          filter:
            conditions:
              - macro: '{#SNMPVALUE}'
                value: '{$CISCO.LLD.FILTER.PSU.NAME.MATCHES}'
          description: 'The discovery of power supplies from ENTITY-MIB and CISCO-ENTITY-FRU-CONTROL-MIB.'
          item_prototypes:
            - uuid: 8a083945d7e244099095b022169de86c
              name: '{#SNMPVALUE}: Power supply status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.117.1.1.2.1.2.{#SNMPINDEX}]'
              key: 'sensor.psu.status[{#SNMPINDEX}]'
              description: |
                MIB: CISCO-ENTITY-FRU-CONTROL-MIB.
                The object name: cefcFRUPowerOperStatus.
                The Operational field-replaceable unit (FRU) Status types.
                The valid values are:
                -  offEnvOther (1): FRU is powered off because of a problem not listed below;
                -  on (2): FRU is powered on;
                -  offAdmin (3): administratively off;
                -  offDenied (4): FRU is powered off because available system power is insufficient;
                -  offEnvPower (5): FRU is powered off because of a power problem in the FRU. For example, the FRU's power translation (DC-DC converter) or distribution failed;
                -  offEnvTemp (6): FRU is powered off because of temperature problem;
                -  offEnvFan (7): FRU is powered off because of fan problems;
                -  failed (8): FRU is in failed state;
                -  onButFanFail (9): FRU is on but fan has failed;
                -  offCooling (10): FRU is powered off because of the system's insufficient cooling capacity;
                -  offConnectorRating (11): FRU is powered off because of the system's connector rating exceeded;
                -  onButInlinePowerFail (12): The FRU is on but no inline power is being delivered as the data/inline power component of the FRU has failed.
              valuemap:
                name: 'CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUPowerOperStatus'
              tags:
                - tag: component
                  value: power
              trigger_prototypes:
                - uuid: 4bc31f8605ab4899979d2f3385cd7b7a
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.psu.status[{#SNMPINDEX}])=8'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: PSU is in failed state'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: HIGH
                  description: 'The FRU is in a failed state.'
                  tags:
                    - tag: scope
                      value: availability
                - uuid: a930e2d032804dc880ebe51c4fd0dd07
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.psu.status[{#SNMPINDEX}])=3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: PSU is off: Administratively'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: INFO
                  description: 'The FRU is administratively off.'
                  dependencies:
                    - name: 'Cisco Nexus 9000: {#SNMPVALUE}: PSU is in failed state'
                      expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.psu.status[{#SNMPINDEX}])=8'
                  tags:
                    - tag: scope
                      value: availability
                - uuid: 6e2517ce92c949589539edece3cb5eb5
                  expression: 'find(/Cisco Nexus 9000 Series by SNMP/sensor.psu.status[{#SNMPINDEX}],#1,"regexp",{$PSU.PROBLEM.STATES})'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: PSU is off or out of optimal state'
                  opdata: 'Current state: {ITEM.LASTVALUE}'
                  priority: AVERAGE
                  description: |
                    The PSU requires attention. Compare the current state from operational data with the table below:
                    -  offEnvOther (1): FRU is powered off because of a problem not listed below;
                    -  on (2): FRU is powered on;
                    -  offAdmin (3): administratively off;
                    -  offDenied (4): FRU is powered off because available system power is insufficient;
                    -  offEnvPower (5): FRU is powered off because of a power problem in the FRU. For example, the FRU's power translation (DC-DC converter) or distribution failed;
                    -  offEnvTemp (6): FRU is powered off because of temperature problem;
                    -  offEnvFan (7): FRU is powered off because of fan problems;
                    -  failed (8): FRU is in failed state;
                    -  onButFanFail (9): FRU is on but fan has failed;
                    -  offCooling (10): FRU is powered off because of the system's insufficient cooling capacity;
                    -  offConnectorRating (11): FRU is powered off because of the system's connector rating exceeded;
                    -  onButInlinePowerFail (12): The FRU is on but no inline power is being delivered as the data/inline power component of the FRU has failed.
                  dependencies:
                    - name: 'Cisco Nexus 9000: {#SNMPVALUE}: PSU is in failed state'
                      expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.psu.status[{#SNMPINDEX}])=8'
                  tags:
                    - tag: scope
                      value: availability
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
        - uuid: bb7d48018f8044ec9bb4fd20d6c52106
          name: 'Temperature sensors discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SENSOR_TYPE},1.3.6.1.4.1.9.9.91.1.1.1.1.1,{#SENSOR_SCALE},1.3.6.1.4.1.9.9.91.1.1.1.1.2,{#SNMPVALUE},1.3.6.1.2.1.47.1.1.1.1.7]'
          key: temperature.discovery
          delay: 1h
          description: 'The discovery of temperature sensors from CISCO-ENTITY-SENSOR-MIB and ENTITY-MIB. The sensors that have celsius (8) `entSensorType` are discovered. The scale of gathered values is taken from the `entSensorScale` and applied in item preprocessing.'
          item_prototypes:
            - uuid: d4e13b5e26164a2ca240bfb93fdd9b77
              name: '{#SNMPVALUE}: Temperature sensor status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.91.1.1.1.1.5.{#SNMPINDEX}]'
              key: 'sensor.temp.status[{#SNMPINDEX}]'
              description: |
                MIB: CISCO-ENTITY-SENSOR-MIB.
                The object name: entSensorStatus.
                This variable indicates the present operational status of the sensor.
                Possible values:
                -  ok (1): means the agent can read the sensor value;
                -  unavailable (2): means that the agent presently can not report the sensor value;
                -  nonoperational (3) means that the agent believes the sensor is broken. The sensor could have a hard failure (e.g., disconnected wire), or a soft failure (e.g., out-of-range, jittery, or wildly fluctuating readings).
              valuemap:
                name: 'CISCO-ENTITY-SENSOR-MIB::entSensorStatus'
              tags:
                - tag: component
                  value: temperature
                - tag: sensor
                  value: '{#SNMPVALUE}'
              trigger_prototypes:
                - uuid: 938eb8e3d3f4486b89316a7b00aa5600
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.temp.status[{#SNMPINDEX}])=2'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature sensor is not available'
                  opdata: 'Current value: {ITEM.LASTVALUE}'
                  priority: WARNING
                  description: 'It means that the agent presently can not report the sensor value.'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: ec63ba043da64c8abd4c4a9e2dbc297f
                  expression: 'last(/Cisco Nexus 9000 Series by SNMP/sensor.temp.status[{#SNMPINDEX}])=3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature sensor is not operational'
                  opdata: 'Current value: {ITEM.LASTVALUE}'
                  priority: HIGH
                  description: 'It means that the agent considers that the sensor is broken. The sensor could have a hard failure (e.g., disconnected wire), or a soft failure (e.g., out-of-range, jittery, or wildly fluctuating readings).'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
            - uuid: 87bb149a7c464318be942011b678a704
              name: '{#SNMPVALUE}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.9.9.91.1.1.1.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[{#SNMPINDEX}]'
              value_type: FLOAT
              units: '!°C'
              description: |
                MIB: CISCO-ENTITY-SENSOR-MIB.
                The object name: entSensorValue.
                This variable reports the most recent measurement seen by the sensor.
              preprocessing:
                - type: MULTIPLIER
                  parameters:
                    - '{#SENSOR_SCALE}'
              tags:
                - tag: component
                  value: temperature
                - tag: sensor
                  value: '{#SNMPVALUE}'
              trigger_prototypes:
                - uuid: ca54affa31654e358ad2be30b8e6dc72
                  expression: 'avg(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'max(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is above critical threshold'
                  event_name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is above critical threshold: >{$TEMP_CRIT:"{#SNMPVALUE}"}°C'
                  opdata: 'Current value: {ITEM.LASTVALUE}'
                  priority: HIGH
                  description: 'This trigger uses the values of the temperature sensor.'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 29f9c6e22d714a18997683ad8979239a
                  expression: 'avg(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)>{$TEMP_WARN:"{#SNMPVALUE}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'max(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)<{$TEMP_WARN:"{#SNMPVALUE}"}-3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is above warning threshold'
                  event_name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is above warning threshold: >{$TEMP_WARN:"{#SNMPVALUE}°C"}'
                  opdata: 'Current value: {ITEM.LASTVALUE}'
                  priority: WARNING
                  description: 'This trigger uses the values of the temperature sensor.'
                  dependencies:
                    - name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is above critical threshold'
                      expression: 'avg(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)>{$TEMP_CRIT:"{#SNMPVALUE}"}'
                      recovery_expression: 'max(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)<{$TEMP_CRIT:"{#SNMPVALUE}"}-3'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 0ce9b389385f482c9bea0c52822be85d
                  expression: 'avg(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)<{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: 'min(/Cisco Nexus 9000 Series by SNMP/sensor.temp.value[{#SNMPINDEX}],5m)>{$TEMP_CRIT_LOW:"{#SNMPVALUE}"}-3'
                  name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is too low'
                  event_name: 'Cisco Nexus 9000: {#SNMPVALUE}: Temperature is too low: <{$TEMP_CRIT_LOW:"{#SNMPVALUE}°C"}'
                  opdata: 'Current value: {ITEM.LASTVALUE}'
                  priority: AVERAGE
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          graph_prototypes:
            - uuid: 821343c6c4614842b05c85ba57e054ae
              name: '{#SNMPVALUE}: Temperature'
              ymin_type_1: FIXED
              ymax_type_1: FIXED
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'Cisco Nexus 9000 Series by SNMP'
                    key: 'sensor.temp.value[{#SNMPINDEX}]'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  try {
                  	var sensors = JSON.parse(value);
                  } catch (e) {
                  	throw "Failed to parse JSON of temperature discovery.";
                  }
                  
                  var scales = { '9': 1, '8': 0.001, '7': 0.000001 };
                  var result = sensors.filter(function (sensor) {
                  	if (sensor['{#SENSOR_TYPE}'] !== '8' || typeof (scales[sensor['{#SENSOR_SCALE}']]) === 'undefined') {
                  		return false;
                  	}
                  	sensor['{#SENSOR_SCALE}'] = scales[sensor['{#SENSOR_SCALE}']];
                  	return true;
                  });
                  
                  return JSON.stringify(result);
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 4h
      tags:
        - tag: class
          value: network
        - tag: target
          value: cisco
        - tag: target
          value: cisco-nexus
        - tag: target
          value: n9000
      macros:
        - macro: '{$CISCO.LLD.FILTER.FAN.NAME.MATCHES}'
          value: '^(?:Fan Module-\d+|PowerSupply-\d+ Fan-\d+)$'
          description: 'It leaves only the matching fan names as indicated in the filter string.'
          config:
            type: TEXT
            priority: '12'
            section_name: Thresholds
            label: 'Filter for fan name'
            description: 'It leaves only the matching fan names as indicated in the filter string.'
        - macro: '{$CISCO.LLD.FILTER.PSU.NAME.MATCHES}'
          value: '^(?:PowerSupply-\d+)$'
          description: 'It leaves only the matching power supply names as indicated in the filter string.'
          config:
            type: TEXT
            priority: '13'
            section_name: Thresholds
            label: 'Filter for PSU name'
            description: 'It leaves only the matching power supply names as indicated in the filter string.'
        - macro: '{$CPU.UTIL.CRIT}'
          value: '90'
          description: 'Critical threshold of CPU utilization in %.'
          config:
            type: TEXT
            priority: '1'
            section_name: Thresholds
            label: 'Threshold for CPU utilization (critical)'
            description: 'Critical threshold of CPU utilization in %. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ENT_CLASS.NOT_MATCHES}'
          value: '3'
          description: 'The filter excludes chassis (3) class from Serial discovery. The chassis (3) are polled with a regular item.'
          config:
            type: TEXT
            priority: '36'
            section_name: Filters
            label: 'Filter for class serial discovery (exclude)'
            description: 'The filter excludes chassis (3) class from Serial discovery. The chassis (3) are polled with a regular item.'
        - macro: '{$ENT_SN.MATCHES}'
          value: .+
          description: 'The filter retrieves only existing serial number strings.'
          config:
            type: TEXT
            priority: '37'
            section_name: Filters
            label: 'Filter for serial numbers'
            description: 'The filter retrieves only existing serial number strings.'
        - macro: '{$ICMP_LOSS_WARN}'
          value: '20'
          description: 'Warning threshold of ICMP packet loss in %.'
          config:
            type: TEXT
            priority: '2'
            section_name: Thresholds
            label: 'Threshold of ICMP packet loss'
            description: 'Warning threshold of ICMP packet loss in %.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_RESPONSE_TIME_WARN}'
          value: '0.15'
          description: 'Threshold of the average ICMP response time in seconds.'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Threshold of the average ICMP response'
            description: 'Threshold of the average ICMP response time in seconds.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.ERRORS.WARN}'
          value: '2'
          description: 'Threshold for the warning level of the interface error packet rate.'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Threshold of error packet rate'
            description: 'Threshold for the warning level of the interface error packet rate.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IF.UTIL.MAX}'
          value: '90'
          description: 'Maximum threshold of interface bandwidth utilization in %. Can be used with the interface name as context.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'The threshold in the interface utilization'
            description: 'Maximum threshold of interface bandwidth utilization in %. Can be used with the interface name as context. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$IFCONTROL}'
          value: '1'
          description: 'Macro for the operational state of the interface for the link down trigger. Can be used with the interface name as context.'
          config:
            type: TEXT
            priority: '6'
            section_name: Other
            label: 'Interfaces control'
            description: 'Macro for the operational state of the interface for the link down trigger. Can be used with the interface name as context.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$MEMORY.UTIL.MAX}'
          value: '90'
          description: 'Threshold for maximum memory utilization in %.'
          config:
            type: TEXT
            priority: '7'
            section_name: Thresholds
            label: 'Threshold for memory utilization'
            description: 'Threshold for maximum memory utilization in %.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$NET.IF.IFADMINSTATUS.MATCHES}'
          value: '^.*'
          description: 'This macro is used to include network interfaces by their administrative status.'
          config:
            type: TEXT
            priority: '8'
            section_name: Thresholds
            label: 'Filter for network interface by adminstatus'
            description: 'This macro is used to include network interfaces by their administrative status.'
        - macro: '{$NET.IF.IFADMINSTATUS.NOT_MATCHES}'
          value: ^2$
          description: 'If the administrative status is down (2), then an interface is excluded.'
          config:
            type: TEXT
            priority: '9'
            section_name: Thresholds
            label: 'Filter for network interface by adminstatus (exclude)'
            description: 'If the administrative status is down (2), then an interface is excluded.'
        - macro: '{$NET.IF.IFALIAS.MATCHES}'
          value: '.*'
          description: 'This macro is used to include network interfaces by their alias.'
          config:
            type: TEXT
            priority: '10'
            section_name: Thresholds
            label: 'Filter for network interfaces by alias'
            description: 'This macro is used to include network interfaces by their alias.'
        - macro: '{$NET.IF.IFALIAS.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'This macro is used to exclude network interfaces by their alias.'
          config:
            type: TEXT
            priority: '11'
            section_name: Thresholds
            label: 'Filter for network interfaces by alias (exclude)'
            description: 'This macro is used to exclude network interfaces by their alias.'
        - macro: '{$NET.IF.IFDESCR.MATCHES}'
          value: '.*'
          description: 'This macro is used to include network interfaces by their description.'
          config:
            type: TEXT
            priority: '14'
            section_name: Thresholds
            label: 'Filter for network interfaces by description'
            description: 'This macro is used to include network interfaces by their description.'
        - macro: '{$NET.IF.IFDESCR.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'This macro is used to exclude network interfaces by their description.'
          config:
            type: TEXT
            priority: '15'
            section_name: Thresholds
            label: 'Filter for network interfaces by description (exclude)'
            description: 'This macro is used to exclude network interfaces by their description.'
        - macro: '{$NET.IF.IFNAME.MATCHES}'
          value: '^.*$'
          description: 'This macro is used to include network interfaces by their name.'
          config:
            type: TEXT
            priority: '16'
            section_name: Thresholds
            label: 'Filter for network interface by name'
            description: 'This macro is used to include network interfaces by their name.'
        - macro: '{$NET.IF.IFNAME.NOT_MATCHES}'
          value: '(^Software Loopback Interface|^NULL[0-9.]*$|^[Ll]o[0-9.]*$|^[Ss]ystem$|^Nu[0-9.]*$|^veth[0-9a-z]+$|docker[0-9]+|br-[a-z0-9]{12})'
          description: 'It filters out `loopbacks`, `nulls`, `docker veth` links and `docker0 bridge` by default.'
          config:
            type: TEXT
            priority: '17'
            section_name: Thresholds
            label: 'Filter for network interface by name (exclude)'
            description: 'It filters out `loopbacks`, `nulls`, `docker veth` links and `docker0 bridge` by default.'
        - macro: '{$NET.IF.IFOPERSTATUS.MATCHES}'
          value: '^.*$'
          description: 'This macro is used to include network interfaces by their operational status.'
          config:
            type: TEXT
            priority: '18'
            section_name: Thresholds
            label: 'Filter for network interface by status'
            description: 'This macro is used to include network interfaces by their operational status.'
        - macro: '{$NET.IF.IFOPERSTATUS.NOT_MATCHES}'
          value: ^6$
          description: 'If the operational status is `notPresent (6)`, then an interface is excluded.'
          config:
            type: TEXT
            priority: '19'
            section_name: Thresholds
            label: 'Filter for network interface by status (exclude)'
            description: 'If the operational status is `notPresent (6)`, then an interface is excluded.'
        - macro: '{$NET.IF.IFTYPE.MATCHES}'
          value: '.*'
          description: 'This macro is used to include network interfaces by their type.'
          config:
            type: TEXT
            priority: '20'
            section_name: Thresholds
            label: 'Filter for network interfaces by type'
            description: 'This macro is used to include network interfaces by their type.'
        - macro: '{$NET.IF.IFTYPE.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'This macro is used to exclude network interfaces by their type.'
          config:
            type: TEXT
            priority: '21'
            section_name: Thresholds
            label: 'Filter for network interfaces by type (exclude)'
            description: 'This macro is used to exclude network interfaces by their type.'
        - macro: '{$PSU.PROBLEM.STATES}'
          value: ^(1|4|5|6|7|9|10|11|12)$
          description: 'The PSU states list for average trigger priority.'
          config:
            type: TEXT
            priority: '38'
            section_name: Other
            label: 'PSU states'
            description: 'The PSU states list for average trigger priority.'
        - macro: '{$SNMP.TIMEOUT}'
          value: 5m
          description: 'The time interval for the SNMP availability trigger.'
          config:
            type: TEXT
            priority: '22'
            section_name: Other
            label: 'Time interval'
            description: 'The time interval for the SNMP availability trigger.'
        - macro: '{$TEMP_CRIT}'
          value: '60'
          description: 'Critical threshold of the temperature in °C.'
          config:
            type: TEXT
            priority: '35'
            section_name: Thresholds
            label: 'Threshold for temperature (critical)'
            description: 'Critical threshold of the temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:regex:"BACK"}'
          value: '70'
          description: 'Critical threshold for the back temperature in °C.'
          config:
            type: TEXT
            priority: '24'
            section_name: Thresholds
            label: 'Threshold for temperature critical (back)'
            description: 'Critical threshold for the back temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:regex:"CPU"}'
          value: '90'
          description: 'Critical threshold of the CPU temperature in °C.'
          config:
            type: TEXT
            priority: '28'
            section_name: Thresholds
            label: 'Threshold for temperature critical (CPU)'
            description: 'Critical threshold of the CPU temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:regex:"FRONT"}'
          value: '80'
          description: 'Critical threshold of the front temperature in °C.'
          config:
            type: TEXT
            priority: '26'
            section_name: Thresholds
            label: 'Threshold for temperature critical (front)'
            description: 'Critical threshold of the front temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:regex:"SUN1"}'
          value: '110'
          description: 'Critical threshold of the SUN1 temperature in °C.'
          config:
            type: TEXT
            priority: '30'
            section_name: Thresholds
            label: 'Threshold for temperature critical (SUN1)'
            description: 'Critical threshold of the SUN1 temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT:regex:"Transceiver"}'
          value: '75'
          description: 'Critical threshold of the Transceiver temperature in °C.'
          config:
            type: TEXT
            priority: '32'
            section_name: Thresholds
            label: 'Threshold for temperature warning (Transceiver)'
            description: 'Critical threshold of the Transceiver temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_CRIT_LOW}'
          value: '5'
          description: 'Critical threshold of the low temperature in °C.'
          config:
            type: TEXT
            priority: '33'
            section_name: Thresholds
            label: 'Threshold for low temperature (critical)'
            description: 'Critical threshold of the low temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN}'
          value: '50'
          description: 'Warning threshold of the temperature in °C.'
          config:
            type: TEXT
            priority: '34'
            section_name: Thresholds
            label: 'Threshold for temperature (warning)'
            description: 'Warning threshold of the temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:regex:"BACK"}'
          value: '42'
          description: 'Warning threshold for the back temperature in °C.'
          config:
            type: TEXT
            priority: '23'
            section_name: Thresholds
            label: 'Threshold for temperature warning (back)'
            description: 'Warning threshold for the back temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:regex:"CPU"}'
          value: '80'
          description: 'Warning threshold of the CPU temperature in °C.'
          config:
            type: TEXT
            priority: '27'
            section_name: Thresholds
            label: 'Threshold for temperature warning (CPU)'
            description: 'Warning threshold of the CPU temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:regex:"FRONT"}'
          value: '70'
          description: 'Warning threshold for the front temperature in °C.'
          config:
            type: TEXT
            priority: '25'
            section_name: Thresholds
            label: 'Threshold for temperature warning (front)'
            description: 'Warning threshold for the front temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:regex:"SUN1"}'
          value: '90'
          description: 'Warning threshold of the SUN1 temperature in °C.'
          config:
            type: TEXT
            priority: '29'
            section_name: Thresholds
            label: 'Threshold for temperature warning (SUN1)'
            description: 'Warning threshold of the SUN1 temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$TEMP_WARN:regex:"Transceiver"}'
          value: '70'
          description: 'Warning threshold of the Transceiver temperature in °C.'
          config:
            type: TEXT
            priority: '31'
            section_name: Thresholds
            label: 'Threshold for temperature warning (Transceiver)'
            description: 'Warning threshold of the Transceiver temperature in °C.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
      dashboards:
        - uuid: 370f653fc1eb4600afdc5c37fe7b9d0d
          name: 'Cisco Nexus 9000 Series: Overview'
          pages:
            - name: Resources
              widgets:
                - type: graphprototype
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco Nexus 9000 Series by SNMP'
                        name: '#{#SNMPINDEX}: CPU utilization'
                    - type: STRING
                      name: reference
                      value: AAAAA
                - type: graphprototype
                  'y': '5'
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco Nexus 9000 Series by SNMP'
                        name: '{#SNMPVALUE}: Memory utilization'
                    - type: STRING
                      name: reference
                      value: AAAAB
                - type: graphprototype
                  'y': '10'
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco Nexus 9000 Series by SNMP'
                        name: '{#SNMPVALUE}: Temperature'
                    - type: STRING
                      name: reference
                      value: AAAAC
            - name: 'Network traffic'
              widgets:
                - type: graphprototype
                  width: '72'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Cisco Nexus 9000 Series by SNMP'
                        name: 'Interface {#IFNAME}({#IFALIAS}): Network traffic'
                    - type: STRING
                      name: reference
                      value: AAAAD
      valuemaps:
        - uuid: aadba98c69b14fbab88e7c37cab158c6
          name: 'CISCO-ENTITY-FRU-CONTROL-MIB::cefcFanTrayOperStatus'
          mappings:
            - value: '1'
              newvalue: unknown
            - value: '2'
              newvalue: up
            - value: '3'
              newvalue: down
            - value: '4'
              newvalue: warning
        - uuid: 166e0ff278184ab7b574833bb0dbaec1
          name: 'CISCO-ENTITY-FRU-CONTROL-MIB::cefcFRUPowerOperStatus'
          mappings:
            - value: '1'
              newvalue: offEnvOther
            - value: '2'
              newvalue: 'on'
            - value: '3'
              newvalue: offAdmin
            - value: '4'
              newvalue: offDenied
            - value: '5'
              newvalue: offEnvPower
            - value: '6'
              newvalue: offEnvTemp
            - value: '7'
              newvalue: offEnvFan
            - value: '8'
              newvalue: failed
            - value: '9'
              newvalue: onButFanFail
            - value: '10'
              newvalue: offCooling
            - value: '11'
              newvalue: offConnectorRating
            - value: '12'
              newvalue: onButInlinePowerFail
        - uuid: 2c29188a8b70409eb9735be0caab0393
          name: 'CISCO-ENTITY-SENSOR-MIB::entSensorStatus'
          mappings:
            - value: '1'
              newvalue: ok
            - value: '2'
              newvalue: unavailable
            - value: '3'
              newvalue: nonoperational
        - uuid: feee58fb80214a779f809b5b5ea098d4
          name: 'EtherLike-MIB::dot3StatsDuplexStatus'
          mappings:
            - value: '1'
              newvalue: unknown
            - value: '2'
              newvalue: halfDuplex
            - value: '3'
              newvalue: fullDuplex
        - uuid: 29398bbb22bd4743944d117f17973bcb
          name: 'IF-MIB::ifOperStatus'
          mappings:
            - value: '1'
              newvalue: up
            - value: '2'
              newvalue: down
            - value: '3'
              newvalue: testing
            - value: '4'
              newvalue: unknown
            - value: '5'
              newvalue: dormant
            - value: '6'
              newvalue: notPresent
            - value: '7'
              newvalue: lowerLayerDown
        - uuid: dc2b653516504e14a19afc2d2d9f6ef1
          name: 'IF-MIB::ifType'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: regular1822
            - value: '3'
              newvalue: hdh1822
            - value: '4'
              newvalue: ddnX25
            - value: '5'
              newvalue: rfc877x25
            - value: '6'
              newvalue: ethernetCsmacd
            - value: '7'
              newvalue: iso88023Csmacd
            - value: '8'
              newvalue: iso88024TokenBus
            - value: '9'
              newvalue: iso88025TokenRing
            - value: '10'
              newvalue: iso88026Man
            - value: '11'
              newvalue: starLan
            - value: '12'
              newvalue: proteon10Mbit
            - value: '13'
              newvalue: proteon80Mbit
            - value: '14'
              newvalue: hyperchannel
            - value: '15'
              newvalue: fddi
            - value: '16'
              newvalue: lapb
            - value: '17'
              newvalue: sdlc
            - value: '18'
              newvalue: ds1
            - value: '19'
              newvalue: e1
            - value: '20'
              newvalue: basicISDN
            - value: '21'
              newvalue: primaryISDN
            - value: '22'
              newvalue: propPointToPointSerial
            - value: '23'
              newvalue: ppp
            - value: '24'
              newvalue: softwareLoopback
            - value: '25'
              newvalue: eon
            - value: '26'
              newvalue: ethernet3Mbit
            - value: '27'
              newvalue: nsip
            - value: '28'
              newvalue: slip
            - value: '29'
              newvalue: ultra
            - value: '30'
              newvalue: ds3
            - value: '31'
              newvalue: sip
            - value: '32'
              newvalue: frameRelay
            - value: '33'
              newvalue: rs232
            - value: '34'
              newvalue: para
            - value: '35'
              newvalue: arcnet
            - value: '36'
              newvalue: arcnetPlus
            - value: '37'
              newvalue: atm
            - value: '38'
              newvalue: miox25
            - value: '39'
              newvalue: sonet
            - value: '40'
              newvalue: x25ple
            - value: '41'
              newvalue: iso88022llc
            - value: '42'
              newvalue: localTalk
            - value: '43'
              newvalue: smdsDxi
            - value: '44'
              newvalue: frameRelayService
            - value: '45'
              newvalue: v35
            - value: '46'
              newvalue: hssi
            - value: '47'
              newvalue: hippi
            - value: '48'
              newvalue: modem
            - value: '49'
              newvalue: aal5
            - value: '50'
              newvalue: sonetPath
            - value: '51'
              newvalue: sonetVT
            - value: '52'
              newvalue: smdsIcip
            - value: '53'
              newvalue: propVirtual
            - value: '54'
              newvalue: propMultiplexor
            - value: '55'
              newvalue: ieee80212
            - value: '56'
              newvalue: fibreChannel
            - value: '57'
              newvalue: hippiInterface
            - value: '58'
              newvalue: frameRelayInterconnect
            - value: '59'
              newvalue: aflane8023
            - value: '60'
              newvalue: aflane8025
            - value: '61'
              newvalue: cctEmul
            - value: '62'
              newvalue: fastEther
            - value: '63'
              newvalue: isdn
            - value: '64'
              newvalue: v11
            - value: '65'
              newvalue: v36
            - value: '66'
              newvalue: g703at64k
            - value: '67'
              newvalue: g703at2mb
            - value: '68'
              newvalue: qllc
            - value: '69'
              newvalue: fastEtherFX
            - value: '70'
              newvalue: channel
            - value: '71'
              newvalue: ieee80211
            - value: '72'
              newvalue: ibm370parChan
            - value: '73'
              newvalue: escon
            - value: '74'
              newvalue: dlsw
            - value: '75'
              newvalue: isdns
            - value: '76'
              newvalue: isdnu
            - value: '77'
              newvalue: lapd
            - value: '78'
              newvalue: ipSwitch
            - value: '79'
              newvalue: rsrb
            - value: '80'
              newvalue: atmLogical
            - value: '81'
              newvalue: ds0
            - value: '82'
              newvalue: ds0Bundle
            - value: '83'
              newvalue: bsc
            - value: '84'
              newvalue: async
            - value: '85'
              newvalue: cnr
            - value: '86'
              newvalue: iso88025Dtr
            - value: '87'
              newvalue: eplrs
            - value: '88'
              newvalue: arap
            - value: '89'
              newvalue: propCnls
            - value: '90'
              newvalue: hostPad
            - value: '91'
              newvalue: termPad
            - value: '92'
              newvalue: frameRelayMPI
            - value: '93'
              newvalue: x213
            - value: '94'
              newvalue: adsl
            - value: '95'
              newvalue: radsl
            - value: '96'
              newvalue: sdsl
            - value: '97'
              newvalue: vdsl
            - value: '98'
              newvalue: iso88025CRFPInt
            - value: '99'
              newvalue: myrinet
            - value: '100'
              newvalue: voiceEM
            - value: '101'
              newvalue: voiceFXO
            - value: '102'
              newvalue: voiceFXS
            - value: '103'
              newvalue: voiceEncap
            - value: '104'
              newvalue: voiceOverIp
            - value: '105'
              newvalue: atmDxi
            - value: '106'
              newvalue: atmFuni
            - value: '107'
              newvalue: atmIma
            - value: '108'
              newvalue: pppMultilinkBundle
            - value: '109'
              newvalue: ipOverCdlc
            - value: '110'
              newvalue: ipOverClaw
            - value: '111'
              newvalue: stackToStack
            - value: '112'
              newvalue: virtualIpAddress
            - value: '113'
              newvalue: mpc
            - value: '114'
              newvalue: ipOverAtm
            - value: '115'
              newvalue: iso88025Fiber
            - value: '116'
              newvalue: tdlc
            - value: '117'
              newvalue: gigabitEthernet
            - value: '118'
              newvalue: hdlc
            - value: '119'
              newvalue: lapf
            - value: '120'
              newvalue: v37
            - value: '121'
              newvalue: x25mlp
            - value: '122'
              newvalue: x25huntGroup
            - value: '123'
              newvalue: trasnpHdlc
            - value: '124'
              newvalue: interleave
            - value: '125'
              newvalue: fast
            - value: '126'
              newvalue: ip
            - value: '127'
              newvalue: docsCableMaclayer
            - value: '128'
              newvalue: docsCableDownstream
            - value: '129'
              newvalue: docsCableUpstream
            - value: '130'
              newvalue: a12MppSwitch
            - value: '131'
              newvalue: tunnel
            - value: '132'
              newvalue: coffee
            - value: '133'
              newvalue: ces
            - value: '134'
              newvalue: atmSubInterface
            - value: '135'
              newvalue: l2vlan
            - value: '136'
              newvalue: l3ipvlan
            - value: '137'
              newvalue: l3ipxvlan
            - value: '138'
              newvalue: digitalPowerline
            - value: '139'
              newvalue: mediaMailOverIp
            - value: '140'
              newvalue: dtm
            - value: '141'
              newvalue: dcn
            - value: '142'
              newvalue: ipForward
            - value: '143'
              newvalue: msdsl
            - value: '144'
              newvalue: ieee1394
            - value: '145'
              newvalue: if-gsn
            - value: '146'
              newvalue: dvbRccMacLayer
            - value: '147'
              newvalue: dvbRccDownstream
            - value: '148'
              newvalue: dvbRccUpstream
            - value: '149'
              newvalue: atmVirtual
            - value: '150'
              newvalue: mplsTunnel
            - value: '151'
              newvalue: srp
            - value: '152'
              newvalue: voiceOverAtm
            - value: '153'
              newvalue: voiceOverFrameRelay
            - value: '154'
              newvalue: idsl
            - value: '155'
              newvalue: compositeLink
            - value: '156'
              newvalue: ss7SigLink
            - value: '157'
              newvalue: propWirelessP2P
            - value: '158'
              newvalue: frForward
            - value: '159'
              newvalue: rfc1483
            - value: '160'
              newvalue: usb
            - value: '161'
              newvalue: ieee8023adLag
            - value: '162'
              newvalue: bgppolicyaccounting
            - value: '163'
              newvalue: frf16MfrBundle
            - value: '164'
              newvalue: h323Gatekeeper
            - value: '165'
              newvalue: h323Proxy
            - value: '166'
              newvalue: mpls
            - value: '167'
              newvalue: mfSigLink
            - value: '168'
              newvalue: hdsl2
            - value: '169'
              newvalue: shdsl
            - value: '170'
              newvalue: ds1FDL
            - value: '171'
              newvalue: pos
            - value: '172'
              newvalue: dvbAsiIn
            - value: '173'
              newvalue: dvbAsiOut
            - value: '174'
              newvalue: plc
            - value: '175'
              newvalue: nfas
            - value: '176'
              newvalue: tr008
            - value: '177'
              newvalue: gr303RDT
            - value: '178'
              newvalue: gr303IDT
            - value: '179'
              newvalue: isup
            - value: '180'
              newvalue: propDocsWirelessMaclayer
            - value: '181'
              newvalue: propDocsWirelessDownstream
            - value: '182'
              newvalue: propDocsWirelessUpstream
            - value: '183'
              newvalue: hiperlan2
            - value: '184'
              newvalue: propBWAp2Mp
            - value: '185'
              newvalue: sonetOverheadChannel
            - value: '186'
              newvalue: digitalWrapperOverheadChannel
            - value: '187'
              newvalue: aal2
            - value: '188'
              newvalue: radioMAC
            - value: '189'
              newvalue: atmRadio
            - value: '190'
              newvalue: imt
            - value: '191'
              newvalue: mvl
            - value: '192'
              newvalue: reachDSL
            - value: '193'
              newvalue: frDlciEndPt
            - value: '194'
              newvalue: atmVciEndPt
            - value: '195'
              newvalue: opticalChannel
            - value: '196'
              newvalue: opticalTransport
            - value: '197'
              newvalue: propAtm
            - value: '198'
              newvalue: voiceOverCable
            - value: '199'
              newvalue: infiniband
            - value: '200'
              newvalue: teLink
            - value: '201'
              newvalue: q2931
            - value: '202'
              newvalue: virtualTg
            - value: '203'
              newvalue: sipTg
            - value: '204'
              newvalue: sipSig
            - value: '205'
              newvalue: docsCableUpstreamChannel
            - value: '206'
              newvalue: econet
            - value: '207'
              newvalue: pon155
            - value: '208'
              newvalue: pon622
            - value: '209'
              newvalue: bridge
            - value: '210'
              newvalue: linegroup
            - value: '211'
              newvalue: voiceEMFGD
            - value: '212'
              newvalue: voiceFGDEANA
            - value: '213'
              newvalue: voiceDID
            - value: '214'
              newvalue: mpegTransport
            - value: '215'
              newvalue: sixToFour
            - value: '216'
              newvalue: gtp
            - value: '217'
              newvalue: pdnEtherLoop1
            - value: '218'
              newvalue: pdnEtherLoop2
            - value: '219'
              newvalue: opticalChannelGroup
            - value: '220'
              newvalue: homepna
            - value: '221'
              newvalue: gfp
            - value: '222'
              newvalue: ciscoISLvlan
            - value: '223'
              newvalue: actelisMetaLOOP
            - value: '224'
              newvalue: fcipLink
            - value: '225'
              newvalue: rpr
            - value: '226'
              newvalue: qam
            - value: '227'
              newvalue: lmp
            - value: '228'
              newvalue: cblVectaStar
            - value: '229'
              newvalue: docsCableMCmtsDownstream
            - value: '230'
              newvalue: adsl2
            - value: '231'
              newvalue: macSecControlledIF
            - value: '232'
              newvalue: macSecUncontrolledIF
            - value: '233'
              newvalue: aviciOpticalEther
            - value: '234'
              newvalue: atmbond
            - value: '235'
              newvalue: voiceFGDOS
            - value: '236'
              newvalue: mocaVersion1
            - value: '237'
              newvalue: ieee80216WMAN
            - value: '238'
              newvalue: adsl2plus
            - value: '239'
              newvalue: dvbRcsMacLayer
            - value: '240'
              newvalue: dvbTdm
            - value: '241'
              newvalue: dvbRcsTdma
            - value: '242'
              newvalue: x86Laps
            - value: '243'
              newvalue: wwanPP
            - value: '244'
              newvalue: wwanPP2
            - value: '245'
              newvalue: voiceEBS
            - value: '246'
              newvalue: ifPwType
            - value: '247'
              newvalue: ilan
            - value: '248'
              newvalue: pip
            - value: '249'
              newvalue: aluELP
            - value: '250'
              newvalue: gpon
            - value: '251'
              newvalue: vdsl2
            - value: '252'
              newvalue: capwapDot11Profile
            - value: '253'
              newvalue: capwapDot11Bss
            - value: '254'
              newvalue: capwapWtpVirtualRadio
            - value: '255'
              newvalue: bits
            - value: '256'
              newvalue: docsCableUpstreamRfPort
            - value: '257'
              newvalue: cableDownstreamRfPort
            - value: '258'
              newvalue: vmwareVirtualNic
            - value: '259'
              newvalue: ieee802154
            - value: '260'
              newvalue: otnOdu
            - value: '261'
              newvalue: otnOtu
            - value: '262'
              newvalue: ifVfiType
            - value: '263'
              newvalue: g9981
            - value: '264'
              newvalue: g9982
            - value: '265'
              newvalue: g9983
            - value: '266'
              newvalue: aluEpon
            - value: '267'
              newvalue: aluEponOnu
            - value: '268'
              newvalue: aluEponPhysicalUni
            - value: '269'
              newvalue: aluEponLogicalLink
            - value: '270'
              newvalue: aluGponOnu
            - value: '271'
              newvalue: aluGponPhysicalUni
            - value: '272'
              newvalue: vmwareNicTeam
            - value: '277'
              newvalue: docsOfdmDownstream
            - value: '278'
              newvalue: docsOfdmaUpstream
            - value: '279'
              newvalue: gfast
            - value: '280'
              newvalue: sdci
            - value: '281'
              newvalue: xboxWireless
            - value: '282'
              newvalue: fastdsl
            - value: '283'
              newvalue: docsCableScte55d1FwdOob
            - value: '284'
              newvalue: docsCableScte55d1RetOob
            - value: '285'
              newvalue: docsCableScte55d2DsOob
            - value: '286'
              newvalue: docsCableScte55d2UsOob
            - value: '287'
              newvalue: docsCableNdf
            - value: '288'
              newvalue: docsCableNdr
            - value: '289'
              newvalue: ptm
            - value: '290'
              newvalue: ghn
        - uuid: e523e2589daf46be96abf630047538cd
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
        - uuid: 7b2dabb391bf41d1ab5084248e77efed
          name: zabbix.host.available
          mappings:
            - value: '0'
              newvalue: 'not available'
            - value: '1'
              newvalue: available
            - value: '2'
              newvalue: unknown
    - uuid: e129aeba7c814bf189772cf5919b4bbb
      template: 'Hadoop by HTTP'
      name: 'Hadoop by HTTP'
      description: |
        The template gets the Hadoop metrics from cluster's hosts (ResourceManager, NodeManagers, NameNode, DataNodes) by HTTP agent. You should define the IP address (or FQDN) and Web-UI port for the ResourceManager in {$HADOOP.RESOURCEMANAGER.HOST} and {$HADOOP.RESOURCEMANAGER.PORT} macros and for the NameNode in {$HADOOP.NAMENODE.HOST} and {$HADOOP.NAMENODE.PORT} macros respectively. Macros can be set in the template or overridden at the host level.
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/413459-discussion-thread-for-official-zabbix-template-hadoop
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        The template for monitoring Hadoop over HTTP that works without any external scripts.
        It collects metrics by polling the Hadoop API remotely using an HTTP agent and JSONPath preprocessing.
        Zabbix server (or proxy) execute direct requests to ResourceManager, NodeManagers, NameNode, DataNodes APIs.
        All metrics are collected at once, thanks to the Zabbix bulk data collection.
        
        ## Setup
        
        You should define the IP address (or FQDN) and Web-UI port for the ResourceManager in `ResourceManager host` and `ResourceManager Web UI port` host wizard configuration fields and for the NameNode in `NameNode host` and `NameNode Web UI port` host wizard configuration fields respectively.
      vendor:
        name: Zabbix
        version: 8.0-1
      groups:
        - name: Templates/Applications
      items:
        - uuid: d2d19ac9d1eb434c98a55cbf76c27850
          name: 'Get DataNodes states'
          type: HTTP_AGENT
          key: hadoop.datanodes.get
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  try {
                  	parsed = JSON.parse(value);
                  	var result = [];
                  
                  	function getNodes(nodes, state) {
                  		Object.keys(nodes).forEach(function (field) {
                  			var Node = {};
                  			Node['HostName'] = field || '';
                  			Node['adminState'] = nodes[field].adminState || '';
                  			Node['operState'] = state || '';
                  			Node['version'] = nodes[field].version || '';
                  			result.push(Node);
                  		});
                  	}
                  
                  	getNodes(JSON.parse(parsed.beans[0].LiveNodes), 'Live');
                  	getNodes(JSON.parse(parsed.beans[0].DeadNodes), 'Dead');
                  	getNodes(JSON.parse(parsed.beans[0].DecomNodes), 'Decommission');
                  	getNodes(JSON.parse(parsed.beans[0].EnteringMaintenanceNodes), 'Maintenance');
                  
                  	return JSON.stringify(result);
                  }
                  catch (error) {
                  	throw 'Failed to process response received from Hadoop';
                  }
          url: '{$HADOOP.NAMENODE.HOST}:{$HADOOP.NAMENODE.PORT}/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo'
          tags:
            - tag: component
              value: raw
        - uuid: 2cb55b7ed9cd41878dc985497f45e084
          name: 'NameNode: Total blocks'
          type: DEPENDENT
          key: hadoop.namenode.blocks_total
          description: 'Count of blocks tracked by NameNode.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].BlocksTotal.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 1d098dc6fa134053b6c6be0e7618092e
          name: 'NameNode: Blocks allocable'
          type: DEPENDENT
          key: hadoop.namenode.block_capacity
          description: 'Maximum number of blocks allocable.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].BlockCapacity.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 26ca0bbd18e04b49b9eb8d2a74f4fd15
          name: 'NameNode: Capacity remaining'
          type: DEPENDENT
          key: hadoop.namenode.capacity_remaining
          units: B
          description: 'Available capacity.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].CapacityRemaining.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: c73c2b6c24b846e49bdb68c3f5a01419
          name: 'NameNode: Corrupt blocks'
          type: DEPENDENT
          key: hadoop.namenode.corrupt_blocks
          description: 'Number of corrupt blocks.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].CorruptBlocks.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 82198b21427a4e39a173369db42d9de3
          name: 'NameNode: Total files'
          type: DEPENDENT
          key: hadoop.namenode.files_total
          description: 'Total count of files tracked by the NameNode.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].FilesTotal.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 687406d06ce94a8291b2e72bb2f8bec4
          name: 'Get NameNode stats'
          type: HTTP_AGENT
          key: hadoop.namenode.get
          history: '0'
          value_type: TEXT
          url: '{$HADOOP.NAMENODE.HOST}:{$HADOOP.NAMENODE.PORT}/jmx'
          tags:
            - tag: component
              value: raw
        - uuid: ea72dc1574f348d19432a1a922b4ed35
          name: 'NameNode: Get info'
          type: DEPENDENT
          key: hadoop.namenode.info
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.beans[?(@.name=~''Hadoop:service=NameNode,name=*'')]'
              error_handler: CUSTOM_VALUE
              error_handler_params: '[]'
          master_item:
            key: hadoop.namenode.get
          tags:
            - tag: component
              value: raw
        - uuid: 30ee7e09067e4f00a4f26ad6c00454b2
          name: 'NameNode: Missing blocks'
          type: DEPENDENT
          key: hadoop.namenode.missing_blocks
          description: 'Number of missing blocks.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].MissingBlocks.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
          triggers:
            - uuid: 3b92daaaddb74105a5e57c4b381e3060
              expression: 'min(/Hadoop by HTTP/hadoop.namenode.missing_blocks,15m)>0'
              name: 'Hadoop: NameNode: Cluster has missing blocks'
              priority: AVERAGE
              description: 'A missing block is far worse than a corrupt block, because a missing block cannot be recovered by copying a replica.'
              tags:
                - tag: scope
                  value: notice
        - uuid: 3473bad0a7c94c8b9fd35cd4398e6215
          name: 'NameNode: Dead DataNodes'
          type: DEPENDENT
          key: hadoop.namenode.num_dead_data_nodes
          description: 'Count of dead DataNodes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].NumDeadDataNodes.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
          triggers:
            - uuid: b2d1a26791aa4b16865b4410c50c7ceb
              expression: 'min(/Hadoop by HTTP/hadoop.namenode.num_dead_data_nodes,5m)>0'
              name: 'Hadoop: NameNode: Cluster has DataNodes in Dead state'
              priority: AVERAGE
              description: 'The death of a DataNode causes a flurry of network activity, as the NameNode initiates replication of blocks lost on the dead nodes.'
              tags:
                - tag: scope
                  value: notice
        - uuid: 398a8c95db3248b684f222fe7b912fe3
          name: 'NameNode: Alive DataNodes'
          type: DEPENDENT
          key: hadoop.namenode.num_live_data_nodes
          description: 'Count of alive DataNodes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].NumLiveDataNodes.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 15bcb22fdc7f4e2c8f24560ef641d63d
          name: 'NameNode: Stale DataNodes'
          type: DEPENDENT
          key: hadoop.namenode.num_stale_data_nodes
          description: 'DataNodes that do not send a heartbeat within 30 seconds are marked as "stale".'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].StaleDataNodes.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: b72d54b849fc48fd8e7cdacd75943c23
          name: 'NameNode: Block Pool Renaming'
          type: DEPENDENT
          key: hadoop.namenode.percent_block_pool_used
          value_type: FLOAT
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=NameNodeInfo'')].PercentBlockPoolUsed.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 3cfbf084a31b479c91be356556d43c0d
          name: 'NameNode: Percent capacity remaining'
          type: DEPENDENT
          key: hadoop.namenode.percent_remaining
          value_type: FLOAT
          units: '%'
          description: 'Available capacity in percent.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=NameNodeInfo'')].PercentRemaining.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
          triggers:
            - uuid: 3104295848c5497085f397b8f3e06ef6
              expression: 'max(/Hadoop by HTTP/hadoop.namenode.percent_remaining,15m)<{$HADOOP.CAPACITY_REMAINING.MIN.WARN}'
              name: 'Hadoop: NameNode: Cluster capacity remaining is low'
              event_name: 'Hadoop: NameNode: Cluster capacity remaining is low (below {$HADOOP.CAPACITY_REMAINING.MIN.WARN}% for 15m)'
              priority: WARNING
              description: 'A good practice is to ensure that disk use never exceeds 80 percent capacity.'
              tags:
                - tag: scope
                  value: capacity
        - uuid: a9e6c1e2f9544c71844785b4baa9c017
          name: 'NameNode: RPC queue & processing time'
          type: DEPENDENT
          key: hadoop.namenode.rpc_processing_time_avg
          value_type: FLOAT
          units: s
          description: 'Average time spent on processing RPC requests.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=RpcActivityForPort9000'')].RpcProcessingTimeAvgTime.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 9f00149ef0c2444ebbc9327b24acd7b9
          name: 'NameNode: Total load'
          type: DEPENDENT
          key: hadoop.namenode.total_load
          description: 'The current number of concurrent file accesses (read/write) across all DataNodes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].TotalLoad.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 6abfe537a36646a0b10fe2c72586d249
          name: 'NameNode: Transactions since last checkpoint'
          type: DEPENDENT
          key: hadoop.namenode.transactions_since_last_checkpoint
          description: 'Total number of transactions since last checkpoint.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].TransactionsSinceLastCheckpoint.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 249098bbeb7a43cdac59f1297ca95104
          name: 'NameNode: Under-replicated blocks'
          type: DEPENDENT
          key: hadoop.namenode.under_replicated_blocks
          description: 'The number of blocks with insufficient replication.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].UnderReplicatedBlocks.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
        - uuid: 7e8769eb77304b6f9c6e1d5bbd420fd0
          name: 'NameNode: Uptime'
          type: DEPENDENT
          key: hadoop.namenode.uptime
          value_type: FLOAT
          units: s
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()'
            - type: MULTIPLIER
              parameters:
                - '0.001'
          master_item:
            key: hadoop.namenode.get
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 9fac0ae651ab40a08551945eb0a93b68
              expression: 'nodata(/Hadoop by HTTP/hadoop.namenode.uptime,30m)=1'
              name: 'Hadoop: NameNode: Failed to fetch NameNode API page'
              event_name: 'Hadoop: NameNode: Failed to fetch NameNode API page (or no data for 30m)'
              priority: WARNING
              description: 'Zabbix has not received any data for items for the last 30 minutes.'
              manual_close: 'YES'
              dependencies:
                - name: 'Hadoop: NameNode: Service is unavailable'
                  expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"])=0'
              tags:
                - tag: scope
                  value: availability
            - uuid: 84d866bc0dc3486d9c5dc9beefec8d31
              expression: 'last(/Hadoop by HTTP/hadoop.namenode.uptime)<10m'
              name: 'Hadoop: NameNode: Service has been restarted'
              event_name: 'Hadoop: NameNode: Service has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 396eb8f791d54254b08ddee553d3d944
          name: 'NameNode: Failed volumes'
          type: DEPENDENT
          key: hadoop.namenode.volume_failures_total
          description: 'Number of failed volumes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=NameNode,name=FSNamesystem'')].VolumeFailuresTotal.first()'
          master_item:
            key: hadoop.namenode.info
          tags:
            - tag: component
              value: namenode
          triggers:
            - uuid: fcf791b6d0594dbb9ddfc3f93bc94825
              expression: 'min(/Hadoop by HTTP/hadoop.namenode.volume_failures_total,15m)>0'
              name: 'Hadoop: NameNode: Cluster has volume failures'
              priority: AVERAGE
              description: 'HDFS now allows for disks to fail in place, without affecting DataNode operations, until a threshold value is reached. This is set on each DataNode via the dfs.datanode.failed.volumes.tolerated property; it defaults to 0, meaning that any volume failure will shut down the DataNode; on a production cluster where DataNodes typically have 6, 8, or 12 disks, setting this parameter to 1 or 2 is typically the best practice.'
              tags:
                - tag: scope
                  value: notice
        - uuid: 6d7546c5d15d4e478b2e87e35d5306b0
          name: 'Get NodeManagers states'
          type: HTTP_AGENT
          key: hadoop.nodemanagers.get
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(JSON.parse(JSON.parse(value).beans[0].LiveNodeManagers));'
          url: '{$HADOOP.RESOURCEMANAGER.HOST}:{$HADOOP.RESOURCEMANAGER.PORT}/jmx?qry=Hadoop:service=ResourceManager,name=RMNMInfo'
          tags:
            - tag: component
              value: raw
        - uuid: e693cff98ec74cc198ec6b5e973f116c
          name: 'Get ResourceManager stats'
          type: HTTP_AGENT
          key: hadoop.resourcemanager.get
          history: '0'
          value_type: TEXT
          url: '{$HADOOP.RESOURCEMANAGER.HOST}:{$HADOOP.RESOURCEMANAGER.PORT}/jmx'
          tags:
            - tag: component
              value: raw
        - uuid: 5b9200a5a39c41c2b4b88e7d41d90e7b
          name: 'ResourceManager: Get info'
          type: DEPENDENT
          key: hadoop.resourcemanager.info
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.beans[?(@.name=~''Hadoop:service=ResourceManager,name=*'')]'
              error_handler: CUSTOM_VALUE
              error_handler_params: '[]'
          master_item:
            key: hadoop.resourcemanager.get
          tags:
            - tag: component
              value: raw
        - uuid: 63d4fe7384044027b08b99698355fd8b
          name: 'ResourceManager: Active NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_active_nm
          description: 'Number of Active NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumActiveNMs.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
          triggers:
            - uuid: eb02a30f45394e4d84d9d7239002ed40
              expression: 'max(/Hadoop by HTTP/hadoop.resourcemanager.num_active_nm,5m)=0'
              name: 'Hadoop: ResourceManager: Cluster has no active NodeManagers'
              priority: HIGH
              description: 'Cluster is unable to execute any jobs without at least one NodeManager.'
              tags:
                - tag: scope
                  value: notice
        - uuid: 3fccfdd8738544ca8969ade842430fc8
          name: 'ResourceManager: Decommissioned NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_decommissioned_nm
          description: 'Number of Decommissioned NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumDecommissionedNMs.first()'
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: 9aad193a9e074575878e44aa96ff4237
          name: 'ResourceManager: Decommissioning NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_decommissioning_nm
          description: 'Number of Decommissioning NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumDecommissioningNMs.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: c4bbf5295b2a44619e2b641468071f9b
          name: 'ResourceManager: Lost NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_lost_nm
          description: 'Number of Lost NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumLostNMs.first()'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: b7791ce30e8f4aa7b5eea2ee7ca7eef9
          name: 'ResourceManager: Rebooted NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_rebooted_nm
          description: 'Number of Rebooted NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumRebootedNMs.first()'
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: 666152b3bf544a29b9e58a9f417c0ab8
          name: 'ResourceManager: Shutdown NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_shutdown_nm
          description: 'Number of Shutdown NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumShutdownNMs.first()'
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: e6aa4b4b29414f2fb1f06bd536552c1c
          name: 'ResourceManager: Unhealthy NMs'
          type: DEPENDENT
          key: hadoop.resourcemanager.num_unhealthy_nm
          description: 'Number of Unhealthy NodeManagers.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=ClusterMetrics'')].NumUnhealthyNMs.first()'
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
          triggers:
            - uuid: 0f35a0fa7a404559a3df225b906f0653
              expression: 'min(/Hadoop by HTTP/hadoop.resourcemanager.num_unhealthy_nm,15m)>0'
              name: 'Hadoop: ResourceManager: Cluster has unhealthy NodeManagers'
              priority: AVERAGE
              description: 'YARN considers any node with disk utilization exceeding the value specified under the property yarn.nodemanager.disk-health-checker.max-disk-utilization-per-disk-percentage (in yarn-site.xml) to be unhealthy. Ample disk space is critical to ensure uninterrupted operation of a Hadoop cluster, and large numbers of unhealthyNodes (the number to alert on depends on the size of your cluster) should be quickly investigated and resolved.'
              tags:
                - tag: scope
                  value: notice
        - uuid: c4c3195326e34ebcb57e5039beffce7c
          name: 'ResourceManager: RPC queue & processing time'
          type: DEPENDENT
          key: hadoop.resourcemanager.rpc_processing_time_avg
          value_type: FLOAT
          units: s
          description: 'Average time spent on processing RPC requests.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[?(@.name==''Hadoop:service=ResourceManager,name=RpcActivityForPort8031'')].RpcProcessingTimeAvgTime.first()'
          master_item:
            key: hadoop.resourcemanager.info
          tags:
            - tag: component
              value: resourcemanager
        - uuid: 4e74ca69a84d441e95e2c20afd25fada
          name: 'ResourceManager: Uptime'
          type: DEPENDENT
          key: hadoop.resourcemanager.uptime
          value_type: FLOAT
          units: s
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()'
            - type: MULTIPLIER
              parameters:
                - '0.001'
          master_item:
            key: hadoop.resourcemanager.get
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 7d4d026992344602a199966a8308a571
              expression: 'nodata(/Hadoop by HTTP/hadoop.resourcemanager.uptime,30m)=1'
              name: 'Hadoop: ResourceManager: Failed to fetch ResourceManager API page'
              event_name: 'Hadoop: ResourceManager: Failed to fetch ResourceManager API page (or no data for 30m)'
              priority: WARNING
              description: 'Zabbix has not received any data for items for the last 30 minutes.'
              manual_close: 'YES'
              dependencies:
                - name: 'Hadoop: ResourceManager: Service is unavailable'
                  expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"])=0'
              tags:
                - tag: scope
                  value: availability
            - uuid: ade7cc30a4184ef89ed896bae56e0b18
              expression: 'last(/Hadoop by HTTP/hadoop.resourcemanager.uptime)<10m'
              name: 'Hadoop: ResourceManager: Service has been restarted'
              event_name: 'Hadoop: ResourceManager: Service has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 66a87b21d32c436bb2d2eb23ec328f91
          name: 'NameNode: Service response time'
          type: SIMPLE
          key: 'net.tcp.service.perf["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"]'
          value_type: FLOAT
          units: s
          description: 'Hadoop NameNode API performance.'
          tags:
            - tag: component
              value: network
          triggers:
            - uuid: 4e4a6ab28fe5492d8fe4e291b8a586dc
              expression: 'min(/Hadoop by HTTP/net.tcp.service.perf["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"],5m)>{$HADOOP.NAMENODE.RESPONSE_TIME.MAX.WARN}'
              name: 'Hadoop: NameNode: Service response time is too high'
              event_name: 'Hadoop: NameNode: Service response time is too high (over {$HADOOP.NAMENODE.RESPONSE_TIME.MAX.WARN} for 5m)'
              priority: WARNING
              manual_close: 'YES'
              dependencies:
                - name: 'Hadoop: NameNode: Service is unavailable'
                  expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"])=0'
              tags:
                - tag: scope
                  value: performance
        - uuid: 98b11f1156dc472fbce27ca053e01d4e
          name: 'ResourceManager: Service response time'
          type: SIMPLE
          key: 'net.tcp.service.perf["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"]'
          value_type: FLOAT
          units: s
          description: 'Hadoop ResourceManager API performance.'
          tags:
            - tag: component
              value: network
          triggers:
            - uuid: e8e55f4c7e9e4823927a8c1345d3b941
              expression: 'min(/Hadoop by HTTP/net.tcp.service.perf["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"],5m)>{$HADOOP.RESOURCEMANAGER.RESPONSE_TIME.MAX.WARN}'
              name: 'Hadoop: ResourceManager: Service response time is too high'
              event_name: 'Hadoop: ResourceManager: Service response time is too high (over {$HADOOP.RESOURCEMANAGER.RESPONSE_TIME.MAX.WARN} for 5m)'
              priority: WARNING
              manual_close: 'YES'
              dependencies:
                - name: 'Hadoop: ResourceManager: Service is unavailable'
                  expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"])=0'
              tags:
                - tag: scope
                  value: performance
        - uuid: 2c52d856e07e4524abf3c2ae4b47c6b6
          name: 'NameNode: Service status'
          type: SIMPLE
          key: 'net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"]'
          description: 'Hadoop NameNode API port availability.'
          valuemap:
            name: 'Service state'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: f7e16c4ec91e4c04b13b73ee817c71d7
              expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"])=0'
              name: 'Hadoop: NameNode: Service is unavailable'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: availability
        - uuid: 615b75c42ebe471da798a0613667d499
          name: 'ResourceManager: Service status'
          type: SIMPLE
          key: 'net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"]'
          description: 'Hadoop ResourceManager API port availability.'
          valuemap:
            name: 'Service state'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: a9ac7ede0c004fe18ab9f1fee36ad2b2
              expression: 'last(/Hadoop by HTTP/net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"])=0'
              name: 'Hadoop: ResourceManager: Service is unavailable'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: 0f05e90a6fc547d18f291ae2264db9d1
          name: 'Data node discovery'
          type: HTTP_AGENT
          key: hadoop.datanode.discovery
          delay: 1h
          item_prototypes:
            - uuid: ef570f8b37c545bd880b7df20bd19f06
              name: '{#HOSTNAME}: Admin state'
              type: DEPENDENT
              key: 'hadoop.datanode.admin_state[{#HOSTNAME}]'
              value_type: CHAR
              description: 'Administrative state.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.adminState
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: 'hadoop.datanode.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: datanode
            - uuid: 14904ca75991456784d2082c14b7ec88
              name: '{#HOSTNAME}: Used'
              type: DEPENDENT
              key: 'hadoop.datanode.dfs_used[{#HOSTNAME}]'
              units: B
              description: 'Used disk space.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].DfsUsed.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: capacity
            - uuid: 6d2d030b3ddb41a394faede737329bbb
              name: 'Hadoop DataNode {#HOSTNAME}: Get stats'
              type: HTTP_AGENT
              key: 'hadoop.datanode.get[{#HOSTNAME}]'
              history: '0'
              value_type: TEXT
              url: '{#INFOADDR}/jmx'
              tags:
                - tag: component
                  value: raw
            - uuid: 01bc20e53e314089a55b270961062c00
              name: '{#HOSTNAME}: JVM Garbage collection time'
              type: DEPENDENT
              key: 'hadoop.datanode.jvm.gc_time[{#HOSTNAME}]'
              units: '!ms'
              description: 'The JVM garbage collection time in milliseconds.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=DataNode,name=JvmMetrics'')].GcTimeMillis.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: datanode
            - uuid: 4cae9eef95f24810a6607de5348b7b54
              name: '{#HOSTNAME}: JVM Heap usage'
              type: DEPENDENT
              key: 'hadoop.datanode.jvm.mem_heap_used[{#HOSTNAME}]'
              value_type: FLOAT
              units: '!MB'
              description: 'The JVM heap usage in MBytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=DataNode,name=JvmMetrics'')].MemHeapUsedM.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: capacity
            - uuid: dc30742dba2e4e5d99ca237615ffaef3
              name: '{#HOSTNAME}: JVM Threads'
              type: DEPENDENT
              key: 'hadoop.datanode.jvm.threads[{#HOSTNAME}]'
              description: 'The number of JVM threads.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''java.lang:type=Threading'')].ThreadCount.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: datanode
            - uuid: 57c00b46aef94c018806cdae43adfab5
              name: '{#HOSTNAME}: Number of failed volumes'
              type: DEPENDENT
              key: 'hadoop.datanode.numfailedvolumes[{#HOSTNAME}]'
              description: 'Number of failed storage volumes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].NumFailedVolumes.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: datanode
            - uuid: a6541492d4f7426b8016d1a8932b87ce
              name: '{#HOSTNAME}: Oper state'
              type: DEPENDENT
              key: 'hadoop.datanode.oper_state[{#HOSTNAME}]'
              value_type: CHAR
              description: 'Operational state.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.operState
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: 'hadoop.datanode.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: datanode
              trigger_prototypes:
                - uuid: 9f657289a04041e5bcaa1947f62f607d
                  expression: 'last(/Hadoop by HTTP/hadoop.datanode.oper_state[{#HOSTNAME}])<>"Live"'
                  name: 'Hadoop: {#HOSTNAME}: DataNode has state {ITEM.VALUE}.'
                  priority: AVERAGE
                  description: 'The state is different from normal.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: e1f9badba66147e6aaa2f895e6638fb9
              name: 'Hadoop DataNode {#HOSTNAME}: Get raw info'
              type: DEPENDENT
              key: 'hadoop.datanode.raw_info[{#HOSTNAME}]'
              history: '0'
              value_type: TEXT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.[?(@.HostName==''{#HOSTNAME}'')].first()'
                  error_handler: DISCARD_VALUE
              master_item:
                key: hadoop.datanodes.get
              tags:
                - tag: component
                  value: raw
            - uuid: 5a46ec3c89eb40d4ad57cec2080c66f8
              name: '{#HOSTNAME}: Remaining'
              type: DEPENDENT
              key: 'hadoop.datanode.remaining[{#HOSTNAME}]'
              units: B
              description: 'Remaining disk space.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=DataNode,name=FSDatasetState'')].Remaining.first()'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: capacity
            - uuid: 2ac19ff8ee7f480f9974be56ab06eaaf
              name: '{#HOSTNAME}: Uptime'
              type: DEPENDENT
              key: 'hadoop.datanode.uptime[{#HOSTNAME}]'
              value_type: FLOAT
              units: s
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()'
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'hadoop.datanode.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: system
              trigger_prototypes:
                - uuid: 3eccb9daf76f4bde88b424cf6f2d21f6
                  expression: 'nodata(/Hadoop by HTTP/hadoop.datanode.uptime[{#HOSTNAME}],30m)=1'
                  name: 'Hadoop: {#HOSTNAME}: Failed to fetch DataNode API page'
                  event_name: 'Hadoop: {#HOSTNAME}: Failed to fetch DataNode API page (or no data for 30m)'
                  priority: WARNING
                  description: 'Zabbix has not received any data for items for the last 30 minutes.'
                  manual_close: 'YES'
                  dependencies:
                    - name: 'Hadoop: {#HOSTNAME}: DataNode has state {ITEM.VALUE}.'
                      expression: 'last(/Hadoop by HTTP/hadoop.datanode.oper_state[{#HOSTNAME}])<>"Live"'
                  tags:
                    - tag: scope
                      value: availability
                - uuid: e40298d300764251abcf93d5df3d9a67
                  expression: 'last(/Hadoop by HTTP/hadoop.datanode.uptime[{#HOSTNAME}])<10m'
                  name: 'Hadoop: {#HOSTNAME}: Service has been restarted'
                  event_name: 'Hadoop: {#HOSTNAME}: Service has been restarted (uptime < 10m)'
                  priority: INFO
                  description: 'Uptime is less than 10 minutes.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: 62b4ca9b1e8a43aa89fbeb78ac16c8cf
              name: '{#HOSTNAME}: Version'
              type: DEPENDENT
              key: 'hadoop.datanode.version[{#HOSTNAME}]'
              value_type: CHAR
              description: 'DataNode software version.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.version
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: 'hadoop.datanode.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: system
          graph_prototypes:
            - uuid: c497416bcce1416ebcede7fc491ccdba
              name: '{#HOSTNAME}: DataNode {#HOSTNAME} DFS size'
              type: STACKED
              graph_items:
                - color: 199C0D
                  item:
                    host: 'Hadoop by HTTP'
                    key: 'hadoop.datanode.dfs_used[{#HOSTNAME}]'
                - sortorder: '1'
                  color: F63100
                  item:
                    host: 'Hadoop by HTTP'
                    key: 'hadoop.datanode.remaining[{#HOSTNAME}]'
          url: '{$HADOOP.NAMENODE.HOST}:{$HADOOP.NAMENODE.PORT}/jmx?qry=Hadoop:service=NameNode,name=NameNodeInfo'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  try {
                  	parsed = JSON.parse(value);
                  	var result = [];
                  
                  	function getNodes(nodes) {
                  		Object.keys(nodes).forEach(function (field) {
                  			var Node = {};
                  			Node['{#HOSTNAME}'] = field || '';
                  			Node['{#INFOADDR}'] = nodes[field].infoAddr || '';
                  			result.push(Node);
                  		});
                  	}
                  
                  	getNodes(JSON.parse(parsed.beans[0].LiveNodes));
                  	getNodes(JSON.parse(parsed.beans[0].DeadNodes));
                  	getNodes(JSON.parse(parsed.beans[0].DecomNodes));
                  	getNodes(JSON.parse(parsed.beans[0].EnteringMaintenanceNodes));
                  
                  	return JSON.stringify(result);
                  }
                  catch (error) {
                  	throw 'Failed to process response received from Hadoop.';
                  }
        - uuid: de2d5f97843345668bc0b8c8336b9c14
          name: 'Node manager discovery'
          type: HTTP_AGENT
          key: hadoop.nodemanager.discovery
          delay: 1h
          item_prototypes:
            - uuid: ffa4704e099a4f1a8b49add245938501
              name: '{#HOSTNAME}: Available memory'
              type: DEPENDENT
              key: 'hadoop.nodemanager.availablememory[{#HOSTNAME}]'
              units: '!MB'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.AvailableMemoryMB
              master_item:
                key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: memory
            - uuid: e8d0ea2c96b643f899e370ab73c5c262
              name: '{#HOSTNAME}: Container launch avg duration'
              type: DEPENDENT
              key: 'hadoop.nodemanager.container_launch_duration_avg[{#HOSTNAME}]'
              value_type: FLOAT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=NodeManager,name=NodeManagerMetrics'')].ContainerLaunchDurationAvgTime.first()'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: 23c89dfb26a34b77bf34fcf543f719f2
              name: 'Hadoop NodeManager {#HOSTNAME}: Get stats'
              type: HTTP_AGENT
              key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              history: '0'
              value_type: TEXT
              url: '{#NODEHTTPADDRESS}/jmx'
              tags:
                - tag: component
                  value: raw
            - uuid: 82e289c999a246a6bd1feb85349d0348
              name: '{#HOSTNAME}: JVM Garbage collection time'
              type: DEPENDENT
              key: 'hadoop.nodemanager.jvm.gc_time[{#HOSTNAME}]'
              units: '!ms'
              description: 'The JVM garbage collection time in milliseconds.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=NodeManager,name=JvmMetrics'')].GcTimeMillis.first()'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: 4032f0a266c44b34896e8179bbed2419
              name: '{#HOSTNAME}: JVM Heap usage'
              type: DEPENDENT
              key: 'hadoop.nodemanager.jvm.mem_heap_used[{#HOSTNAME}]'
              value_type: FLOAT
              units: '!MB'
              description: 'The JVM heap usage in MBytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=NodeManager,name=JvmMetrics'')].MemHeapUsedM.first()'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: d7485913b2db4e31a8f02f63f8c18913
              name: '{#HOSTNAME}: JVM Threads'
              type: DEPENDENT
              key: 'hadoop.nodemanager.jvm.threads[{#HOSTNAME}]'
              description: 'The number of JVM threads.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''java.lang:type=Threading'')].ThreadCount.first()'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: 662cafd31e194db8808c75789bf712eb
              name: '{#HOSTNAME}: Number of containers'
              type: DEPENDENT
              key: 'hadoop.nodemanager.numcontainers[{#HOSTNAME}]'
              value_type: CHAR
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.NumContainers
              master_item:
                key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: a8b11a7fb3244792abf4ffa9461e4712
              name: 'Hadoop NodeManager {#HOSTNAME}: Get raw info'
              type: DEPENDENT
              key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              history: '0'
              value_type: TEXT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.[?(@.HostName==''{#HOSTNAME}'')].first()'
                  error_handler: DISCARD_VALUE
              master_item:
                key: hadoop.nodemanagers.get
              tags:
                - tag: component
                  value: raw
            - uuid: 01a5bcdbfc1c4a84a471738998aed372
              name: '{#HOSTNAME}: RPC queue & processing time'
              type: DEPENDENT
              key: 'hadoop.nodemanager.rpc_processing_time_avg[{#HOSTNAME}]'
              value_type: FLOAT
              description: 'Average time spent on processing RPC requests.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''Hadoop:service=NodeManager,name=RpcActivityForPort8040'')].RpcProcessingTimeAvgTime.first()'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
            - uuid: bab9c705d31e42ce9af65b396e18504b
              name: '{#HOSTNAME}: State'
              type: DEPENDENT
              key: 'hadoop.nodemanager.state[{#HOSTNAME}]'
              value_type: CHAR
              description: 'State of the node - valid values are: NEW, RUNNING, UNHEALTHY, DECOMMISSIONING, DECOMMISSIONED, LOST, REBOOTED, SHUTDOWN.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.State
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: nodemanager
              trigger_prototypes:
                - uuid: 8752a292093347fcb16d3f06dd97c5c3
                  expression: 'last(/Hadoop by HTTP/hadoop.nodemanager.state[{#HOSTNAME}])<>"RUNNING"'
                  name: 'Hadoop: {#HOSTNAME}: NodeManager has state {ITEM.VALUE}.'
                  priority: AVERAGE
                  description: 'The state is different from normal.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: f8f6799130d34848a7dfb65815939c48
              name: '{#HOSTNAME}: Uptime'
              type: DEPENDENT
              key: 'hadoop.nodemanager.uptime[{#HOSTNAME}]'
              value_type: FLOAT
              units: s
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.beans[?(@.name==''java.lang:type=Runtime'')].Uptime.first()'
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'hadoop.nodemanager.get[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: system
              trigger_prototypes:
                - uuid: 6f8a6308d4334dd9bebe7af2fa3fb831
                  expression: 'nodata(/Hadoop by HTTP/hadoop.nodemanager.uptime[{#HOSTNAME}],30m)=1'
                  name: 'Hadoop: {#HOSTNAME}: Failed to fetch NodeManager API page'
                  event_name: 'Hadoop: {#HOSTNAME}: Failed to fetch NodeManager API page (or no data for 30m)'
                  priority: WARNING
                  description: 'Zabbix has not received any data for items for the last 30 minutes.'
                  manual_close: 'YES'
                  dependencies:
                    - name: 'Hadoop: {#HOSTNAME}: NodeManager has state {ITEM.VALUE}.'
                      expression: 'last(/Hadoop by HTTP/hadoop.nodemanager.state[{#HOSTNAME}])<>"RUNNING"'
                  tags:
                    - tag: scope
                      value: availability
                - uuid: 05f3cf8ed34f4a708df508f0e50e119d
                  expression: 'last(/Hadoop by HTTP/hadoop.nodemanager.uptime[{#HOSTNAME}])<10m'
                  name: 'Hadoop: {#HOSTNAME}: Service has been restarted'
                  event_name: 'Hadoop: {#HOSTNAME}: Service has been restarted (uptime < 10m)'
                  priority: INFO
                  description: 'Uptime is less than 10 minutes.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: d92b66e61a5244a995693ab8aedee96e
              name: '{#HOSTNAME}: Used memory'
              type: DEPENDENT
              key: 'hadoop.nodemanager.usedmemory[{#HOSTNAME}]'
              units: '!MB'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.UsedMemoryMB
              master_item:
                key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: memory
            - uuid: c4d46de2d6d341f5a2c1826236f94e5e
              name: '{#HOSTNAME}: Version'
              type: DEPENDENT
              key: 'hadoop.nodemanager.version[{#HOSTNAME}]'
              value_type: CHAR
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.NodeManagerVersion
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: 'hadoop.nodemanager.raw_info[{#HOSTNAME}]'
              tags:
                - tag: component
                  value: system
          url: '{$HADOOP.RESOURCEMANAGER.HOST}:{$HADOOP.RESOURCEMANAGER.PORT}/jmx?qry=Hadoop:service=ResourceManager,name=RMNMInfo'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  try {
                  	parsed = JSON.parse(value);
                  	var result = [];
                  
                  	function getNodes(nodes) {
                  		Object.keys(nodes).forEach(function (field) {
                  			var Node = {};
                  			Node['{#HOSTNAME}'] = nodes[field].HostName || '';
                  			Node['{#NODEHTTPADDRESS}'] = nodes[field].NodeHTTPAddress || '';
                  			result.push(Node);
                  		});
                  	}
                  
                  	getNodes(JSON.parse(parsed.beans[0].LiveNodeManagers));
                  
                  	return JSON.stringify(result);
                  }
                  catch (error) {
                  	throw 'Failed to process response received from Hadoop.';
                  }
      tags:
        - tag: class
          value: software
        - tag: subclass
          value: bigdata
        - tag: subclass
          value: development
        - tag: target
          value: hadoop
      macros:
        - macro: '{$HADOOP.CAPACITY_REMAINING.MIN.WARN}'
          value: '20'
          description: 'The Hadoop cluster capacity remaining percent for trigger expression.'
          config:
            type: TEXT
            priority: '7'
            section_name: Thresholds
            label: 'Cluster capacity remaining (%)'
            description: 'The Hadoop cluster capacity remaining percent for trigger expression.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$HADOOP.NAMENODE.HOST}'
          value: NameNode
          description: 'The Hadoop NameNode host IP address or FQDN.'
          config:
            type: TEXT
            priority: '4'
            label: 'NameNode host'
            description: 'The Hadoop NameNode host IP address or FQDN.'
        - macro: '{$HADOOP.NAMENODE.PORT}'
          value: '9870'
          description: 'The Hadoop NameNode Web-UI port.'
          config:
            type: TEXT
            priority: '5'
            label: 'NameNode Web UI port'
            description: 'The Hadoop NameNode Web-UI port. In the range from 1 to 65535 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$HADOOP.NAMENODE.RESPONSE_TIME.MAX.WARN}'
          value: 10s
          description: 'The Hadoop NameNode API page maximum response time in seconds for trigger expression.'
          config:
            type: TEXT
            priority: '6'
            section_name: Thresholds
            label: 'NameNode API max response time (sec)'
            description: 'The Hadoop NameNode API page maximum response time in seconds for trigger expression.'
        - macro: '{$HADOOP.RESOURCEMANAGER.HOST}'
          value: ResourceManager
          description: 'The Hadoop ResourceManager host IP address or FQDN.'
          config:
            type: TEXT
            priority: '1'
            label: 'ResourceManager host'
            description: 'The Hadoop ResourceManager host IP address or FQDN.'
        - macro: '{$HADOOP.RESOURCEMANAGER.PORT}'
          value: '8088'
          description: 'The Hadoop ResourceManager Web-UI port.'
          config:
            type: TEXT
            priority: '2'
            label: 'ResourceManager Web UI port'
            description: 'The Hadoop ResourceManager Web-UI port. In the range from 1 to 65535 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$HADOOP.RESOURCEMANAGER.RESPONSE_TIME.MAX.WARN}'
          value: 10s
          description: 'The Hadoop ResourceManager API page maximum response time in seconds for trigger expression.'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'ResourceManager API max response time (sec)'
            description: 'The Hadoop ResourceManager API page maximum response time in seconds for trigger expression.'
      dashboards:
        - uuid: 474829439a064a6ba1c33d8d81e6e832
          name: 'Hadoop: Overview'
          pages:
            - name: Main
              widgets:
                - type: item
                  name: 'NameNode status'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: 'net.tcp.service["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"]'
                    - type: INTEGER
                      name: show.0
                      value: '4'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                - type: graph
                  'y': '2'
                  width: '36'
                  height: '5'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: hadoop.namenode.rpc_processing_time_avg
                    - type: STRING
                      name: reference
                      value: AAAAA
                    - type: INTEGER
                      name: source_type
                      value: '1'
                - type: graph
                  'y': '7'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Hadoop by HTTP'
                        name: 'NameNode: DataNodes'
                    - type: STRING
                      name: reference
                      value: AAAAC
                - type: item
                  name: 'NameNode uptime'
                  x: '12'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: hadoop.namenode.uptime
                    - type: INTEGER
                      name: show.0
                      value: '2'
                - type: item
                  name: 'NameNode response time'
                  x: '24'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: 'net.tcp.service.perf["tcp","{$HADOOP.NAMENODE.HOST}","{$HADOOP.NAMENODE.PORT}"]'
                    - type: INTEGER
                      name: show.0
                      value: '4'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                - type: item
                  name: 'ResourceManager status'
                  x: '36'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: 'net.tcp.service["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"]'
                    - type: INTEGER
                      name: show.0
                      value: '4'
                    - type: INTEGER
                      name: show.1
                      value: '2'
                - type: graph
                  x: '36'
                  'y': '2'
                  width: '36'
                  height: '5'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: hadoop.resourcemanager.rpc_processing_time_avg
                    - type: STRING
                      name: reference
                      value: AAAAB
                    - type: INTEGER
                      name: source_type
                      value: '1'
                - type: graph
                  x: '36'
                  'y': '7'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Hadoop by HTTP'
                        name: 'NameNode: NMs'
                    - type: STRING
                      name: reference
                      value: AAAAD
                - type: item
                  name: 'ResourceManager uptime'
                  x: '48'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: hadoop.resourcemanager.uptime
                    - type: INTEGER
                      name: show.0
                      value: '2'
                - type: item
                  name: 'ResourceManager response time'
                  x: '60'
                  width: '12'
                  fields:
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Hadoop by HTTP'
                        key: 'net.tcp.service.perf["tcp","{$HADOOP.RESOURCEMANAGER.HOST}","{$HADOOP.RESOURCEMANAGER.PORT}"]'
                    - type: INTEGER
                      name: show.0
                      value: '4'
                    - type: INTEGER
                      name: show.1
                      value: '2'
      valuemaps:
        - uuid: 6c967c4df18d4c7ebb0fd4be17df292a
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
    - uuid: c2a7ddca051d4b4a9553f339c57e47a9
      template: 'HP iLO by SNMP'
      name: 'HP iLO by SNMP'
      description: |
        Template Server HP iLO
        MIBs used:
        HOST-RESOURCES-MIB
        CPQHLTH-MIB
        SNMPv2-MIB
        CPQSINFO-MIB
        CPQIDA-MIB
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        for HP iLO adapters that support SNMP get. Or via operating system, using SNMP HP subagent
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: 'Templates/Server hardware'
      items:
        - uuid: 5abff4175d1640b9b633c4d9184bd243
          name: 'ICMP ping'
          type: SIMPLE
          key: icmpping
          description: |
            The host accessibility by ICMP ping.
            
            0 - ICMP ping fails;
            1 - ICMP ping successful.
          valuemap:
            name: 'Service state'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 755a4c5e809d418cbb1162102b0d1c26
              expression: 'max(/HP iLO by SNMP/icmpping,#3)=0'
              name: 'HP iLO: Unavailable by ICMP ping'
              priority: HIGH
              description: 'Last three attempts returned timeout. Please check device connectivity.'
              tags:
                - tag: scope
                  value: availability
        - uuid: 1db2fcdd357e4d15a989c0511bbed8bd
          name: 'ICMP loss'
          type: SIMPLE
          key: icmppingloss
          value_type: FLOAT
          units: '%'
          description: 'The percentage of lost packets.'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 0492380bc6374f24b92b4661b27d8f2c
              expression: 'min(/HP iLO by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/HP iLO by SNMP/icmppingloss,5m)<100'
              name: 'HP iLO: High ICMP ping loss'
              opdata: 'Loss: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'ICMP packets loss detected.'
              dependencies:
                - name: 'HP iLO: Unavailable by ICMP ping'
                  expression: 'max(/HP iLO by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 8be612f43d1d40ce9efd3c36d18e6a20
          name: 'ICMP response time'
          type: SIMPLE
          key: icmppingsec
          value_type: FLOAT
          units: s
          description: 'The ICMP ping response time (in seconds).'
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: a869db9f341c479c80dca50bac0ff309
              expression: 'avg(/HP iLO by SNMP/icmppingsec,5m)>{$ICMP_RESPONSE_TIME_WARN}'
              name: 'HP iLO: High ICMP ping response time'
              opdata: 'Value: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Average ICMP response time is too high.'
              dependencies:
                - name: 'HP iLO: High ICMP ping loss'
                  expression: 'min(/HP iLO by SNMP/icmppingloss,5m)>{$ICMP_LOSS_WARN} and min(/HP iLO by SNMP/icmppingloss,5m)<100'
                - name: 'HP iLO: Unavailable by ICMP ping'
                  expression: 'max(/HP iLO by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: 399110973c134983bd5020b9e5b509f4
          name: 'System temperature status'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.1.0]'
          key: 'sensor.temp.status[cpqHeThermalCondition.0]'
          trends: '0'
          description: |
            MIB: CPQHLTH-MIB
            This value specifies the overall condition of the system's thermal environment.
            This value will be one of the following:
            other(1)  Temperature could not be determined.
            ok(2)  The temperature sensor is within normal operating range.
            degraded(3)  The temperature sensor is outside of normal operating range.
            failed(4)  The temperature sensor detects a condition that could  permanently damage the system.
          valuemap:
            name: 'CPQSINFO-MIB::status'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          tags:
            - tag: component
              value: temperature
        - uuid: 0107bcd0d6b840c4a64061ee83e69f11
          name: 'SNMP traps (fallback)'
          type: SNMP_TRAP
          key: snmptrap.fallback
          value_type: LOG
          description: 'The item is used to collect all SNMP traps unmatched by other snmptrap items'
          logtimefmt: 'hh:mm:sszyyyy/MM/dd'
          tags:
            - tag: component
              value: network
        - uuid: 2203e586148a418f9e2f06b38c340b53
          name: 'System contact details'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.4.0]'
          key: 'system.contact[sysContact.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The textual identification of the contact person for this managed node, together with information on how to contact this person. If no contact information is known, the value is the zero-length string.
          inventory_link: CONTACT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 03ff0b6d9c7a483eaae565d90473d291
          name: 'System description'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.1.0]'
          key: 'system.descr[sysDescr.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            A textual description of the entity. This value should
            include the full name and version identification of the system's hardware type, software operating-system, and
            networking software.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 2708e6cb2ba240a791685ebdcab3407f
          name: 'Hardware model name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.232.2.2.4.2.0]'
          key: system.hw.model
          value_type: CHAR
          description: |
            MIB: CPQSINFO-MIB
            The machine product name.The name of the machine used in this system.
          inventory_link: MODEL
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          tags:
            - tag: component
              value: system
        - uuid: 96e27ad668944845a7f598f35b577d18
          name: 'Hardware serial number'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.232.2.2.2.1.0]'
          key: system.hw.serialnumber
          value_type: CHAR
          description: |
            MIB: CPQSINFO-MIB
            The serial number of the physical system unit. The string will be empty if the system does not report the serial number function.
          inventory_link: SERIALNO_A
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 7e8d377e1b49469a8b19b94e6dad97ce
              expression: 'last(/HP iLO by SNMP/system.hw.serialnumber,#1)<>last(/HP iLO by SNMP/system.hw.serialnumber,#2) and length(last(/HP iLO by SNMP/system.hw.serialnumber))>0'
              name: 'HP iLO: Device has been replaced'
              event_name: 'HP iLO: Device has been replaced (new serial number received)'
              priority: INFO
              description: 'Device serial number has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 02e21fa19e814d529ae24f89e3bbf947
          name: 'Uptime (hardware)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.25.1.1.0]'
          key: 'system.hw.uptime[hrSystemUptime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: HOST-RESOURCES-MIB
            The amount of time since this host was last initialized. Note that this is different from sysUpTime in the SNMPv2-MIB [RFC1907] because sysUpTime is the uptime of the network management portion of the system.
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: 84ed489ba1be43738be79f8a71b60381
          name: 'System location'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.6.0]'
          key: 'system.location[sysLocation.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            Physical location of the node (e.g., `equipment room`, `3rd floor`). If not provided, the value is a zero-length string.
          inventory_link: LOCATION
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 88baf9f1da184fc78a49b064f0b4de85
          name: 'System name'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.5.0]'
          key: system.name
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            An administratively-assigned name for this managed node.By convention, this is the node's fully-qualified domain name. If the name is unknown, the value is the zero-length string.
          inventory_link: NAME
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: df3c9e64b0f844ddac8f40f6df956595
              expression: 'last(/HP iLO by SNMP/system.name,#1)<>last(/HP iLO by SNMP/system.name,#2) and length(last(/HP iLO by SNMP/system.name))>0'
              name: 'HP iLO: System name has changed'
              event_name: 'HP iLO: System name has changed (new name: {ITEM.VALUE})'
              priority: INFO
              description: 'The name of the system has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
                - tag: scope
                  value: security
        - uuid: 05166eb015534cae9798f9266d3d0a6b
          name: 'Uptime (network)'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.3.0]'
          key: 'system.net.uptime[sysUpTime.0]'
          delay: 30s
          trends: '0'
          units: uptime
          description: |
            MIB: SNMPv2-MIB
            Time (in hundredths of a second) since the network management portion of the system was last re-initialized.
          preprocessing:
            - type: MULTIPLIER
              parameters:
                - '0.01'
          tags:
            - tag: component
              value: system
        - uuid: d02b8e2d5c7a4afabc2fbadc8674288c
          name: 'System object ID'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.2.1.1.2.0]'
          key: 'system.objectid[sysObjectID.0]'
          delay: 15m
          value_type: CHAR
          description: |
            MIB: SNMPv2-MIB
            The vendor's authoritative identification of the network management subsystem contained in the entity. This value is allocated within the SMI enterprises subtree (1.3.6.1.4.1) and provides an easy and unambiguous means for determining`what kind of box' is being managed.  For example, if vendor`Flintstones, Inc.' was assigned the subtree1.3.6.1.4.1.4242, it could assign the identifier 1.3.6.1.4.1.4242.1.1 to its `Fred Router'.
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          tags:
            - tag: component
              value: system
        - uuid: 5f30715570c449ecb4e07858256a3e05
          name: 'Overall system health status'
          type: SNMP_AGENT
          snmp_oid: 'get[1.3.6.1.4.1.232.6.1.3.0]'
          key: 'system.status[cpqHeMibCondition.0]'
          trends: '0'
          description: |
            MIB: CPQHLTH-MIB
            The overall condition. This object represents the overall status of the server information represented by this MIB.
          valuemap:
            name: 'CPQSINFO-MIB::status'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 6d0d0554e1c945dc90701aebd531f9cb
              expression: 'count(/HP iLO by SNMP/system.status[cpqHeMibCondition.0],#1,"eq","{$HEALTH_CRIT_STATUS}")=1'
              name: 'HP iLO: System status is in critical state'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: HIGH
              description: 'Please check the device for errors'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
            - uuid: 273c27c7929649f1a45ddc92c09ab982
              expression: 'count(/HP iLO by SNMP/system.status[cpqHeMibCondition.0],#1,"eq","{$HEALTH_WARN_STATUS}")=1'
              name: 'HP iLO: System status is in warning state'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'Please check the device for warnings'
              dependencies:
                - name: 'HP iLO: System status is in critical state'
                  expression: 'count(/HP iLO by SNMP/system.status[cpqHeMibCondition.0],#1,"eq","{$HEALTH_CRIT_STATUS}")=1'
              tags:
                - tag: scope
                  value: availability
                - tag: scope
                  value: performance
        - uuid: e5ebd75f34f24502b3cdc2a707fb24c5
          name: 'SNMP agent availability'
          type: INTERNAL
          key: 'zabbix[host,snmp,available]'
          description: |
            Availability of SNMP checks on the host. The value of this item corresponds to availability icons in the host list.
            Possible values:
            0 - not available
            1 - available
            2 - unknown
          valuemap:
            name: zabbix.host.available
          tags:
            - tag: component
              value: health
            - tag: component
              value: network
          triggers:
            - uuid: 8870beab300f41ea8d54619fd2bf0371
              expression: 'max(/HP iLO by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
              name: 'HP iLO: No SNMP data collection'
              opdata: 'Current state: {ITEM.LASTVALUE1}'
              priority: WARNING
              description: 'SNMP is not available for polling. Please check device connectivity and SNMP settings.'
              dependencies:
                - name: 'HP iLO: Unavailable by ICMP ping'
                  expression: 'max(/HP iLO by SNMP/icmpping,#3)=0'
              tags:
                - tag: scope
                  value: availability
      discovery_rules:
        - uuid: 7589f2f30c7e4cf88bb7cd1d57f543a4
          name: 'Array Controller Cache Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#CACHE_STATUS},1.3.6.1.4.1.232.3.2.2.2.1.2,{#CACHE_CNTRL_INDEX},1.3.6.1.4.1.232.3.2.2.2.1.1]'
          key: array.cache.discovery
          delay: 1h
          description: 'Scanning table of Array controllers: CPQIDA-MIB::cpqDaAccelTable'
          item_prototypes:
            - uuid: f212a5a7f2754d49aab4d4a4a6a5ca44
              name: '#{#CACHE_CNTRL_INDEX}: Disk array cache controller battery status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.2.2.1.6.{#SNMPINDEX}]'
              key: 'system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Cache Module Board Backup Power Status. This monitors the status of each backup power source on the board.
                The backup power source can only recharge when the system has power applied. The type of backup power source used is indicated by cpqDaAccelBackupPowerSource.
                The following values are valid:
                Other (1)  Indicates that the instrument agent does not recognize  backup power status.  You may need to update your software.
                
                Ok (2)  The backup power source is fully charged.
                
                Recharging (3)  The array controller has one or more cache module backup power  sources that are recharging.
                Cache module operations such as Battery/Flash Backed Write Cache, Expansion, Extension and Migration are temporarily suspended until the backup power source is fully charged.
                Cache module operations will automatically resume  when charging is complete.
                
                Failed (4)  The battery pack is below the sufficient voltage level and  has not recharged in 36 hours.
                Your Cache Module board  needs to be serviced.
                
                Degraded (5)  The battery is still operating, however, one of the batteries  in the pack has failed to recharge properly.
                Your Cache  Module board should be serviced as soon as possible.
                
                NotPresent (6)  A backup power source is not present on the cache module board. Some controllers do not have backup power sources.
                
                Capacitor Failed (7)  The flash backed cache module capacitor is below the sufficient voltage level and has not recharged in 10 minutes.  Your Cache Module board needs to be serviced.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaAccelBattery'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: array
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: b3049aa19e5d45d28937c1af262aba3e
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:\"failed\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:\"capacitorFailed\"}")=1'
                  name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller battery is in critical state!'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the device for faults'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 384fd446bcb042f89ca348ec7459f1aa
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_BATTERY_WARN_STATUS:\"degraded\"}")=1'
                  name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller battery is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the device for faults'
                  dependencies:
                    - name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller battery is in critical state!'
                      expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:\"failed\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.battery.status[cpqDaAccelBattery.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:\"capacitorFailed\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
            - uuid: 2e20ec1d27374dceb363a6cdd568d23d
              name: '#{#CACHE_CNTRL_INDEX}: Disk array cache controller status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.2.2.1.2.{#SNMPINDEX}]'
              key: 'system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Cache Module/Operations Status. This describes the status of the cache module and/or cache operations.
                Note that for some controller models, a cache module board that physically attaches to the controller or chipset may not be an available option.
                The status can be:
                
                Other (1)
                 Indicates that the instrument agent does not recognize the status of the cache module. You may need to upgrade the instrument agent.
                
                Invalid (2)
                 Indicates that a cache module board has not been installed in this system or is present but not configured.
                
                Enabled (3)
                 Indicates that cache operations are currently configured and enabled for at least one logical drive.
                
                Temporarily Disabled (4)
                 Indicates that cache operations have been temporarily disabled. View the cache module board error code object to determine why the write cache operations have been temporarily disabled.
                
                Permanently Disabled (5)
                 Indicates that cache operations have been permanently disabled. View the cache module board error code object to determine why the write cache operations have been disabled.
                
                Cache Module Flash Memory Not Attached (6)
                 Indicates that the flash memory component of the flash backed cache module is not attached. This status will be set when the flash memory is not attached and the Supercap is attached. This value is only used on flash backed cache modules that support removable flash memory.
                
                Cache Module Degraded Failsafe Speed (7)
                 Indicates that the cache module board is currently degraded and operating at a failsafe speed. View variables cpqDaCacheMemoryDataWidth and cpqDaCacheMemoryTransferRate to obtain the cache module board`s current memory data width and memory transfer rate.
                
                Cache Module Critical Failure (8)
                 Indicates that the cache module board has encountered a critical failure. The controller is currently operating in Zero Memory Raid mode.
                
                Read Cache Could Not Be Mapped (9)
                 Indicates that the read cache memory in a split cache configuration could not be mapped by the operating system and as a result is not available. This status may be caused by virtual space limitations in certain operating systems and is only applicable to B-Series controllers.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaAccelStatus'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: array
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: a4c81fb1ef6140199bbde241691183cd
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_CRIT_STATUS:\"cacheModCriticalFailure\"}")=1'
                  name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is in critical state!'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the device for faults'
                  tags:
                    - tag: component
                      value: array
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 7370a7c6388c4ff8b094959ca0c34a72
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheModDegradedFailsafeSpeed\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheReadCacheNotMapped\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheModFlashMemNotAttached\"}")=1'
                  name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the device for faults'
                  dependencies:
                    - name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is in critical state!'
                      expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_CRIT_STATUS:\"cacheModCriticalFailure\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 4db3b402580c43eba0d9dc6349cf95ca
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"ne","{$DISK_ARRAY_CACHE_OK_STATUS:\"enabled\"}")=1 and last(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}])<>{$DISK_ARRAY_CACHE_WARN_STATUS:"invalid"}'
                  name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is not in optimal state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the device for faults'
                  dependencies:
                    - name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is in critical state!'
                      expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_CRIT_STATUS:\"cacheModCriticalFailure\"}")=1'
                    - name: 'HP iLO: #{#CACHE_CNTRL_INDEX}: Disk array cache controller is in warning state'
                      expression: 'count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheModDegradedFailsafeSpeed\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheReadCacheNotMapped\"}")=1 or count(/HP iLO by SNMP/system.hw.diskarray.cache.status[cpqDaAccelStatus.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CACHE_WARN_STATUS:\"cacheModFlashMemNotAttached\"}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: bfbfb003935f4a2da4ff253f1f01cda9
          name: 'Array Controller Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.3.2.2.1.1.1,{#CNTLR_SLOT},1.3.6.1.4.1.232.3.2.2.1.1.5,{#CNTLR_LOCATION},1.3.6.1.4.1.232.3.2.2.1.1.20]'
          key: array.discovery
          delay: 1h
          description: 'Scanning table of Array controllers: CPQIDA-MIB::cpqDaCntlrTable'
          item_prototypes:
            - uuid: 72e008704de649bbb10df34d38158b69
              name: '{#CNTLR_LOCATION}: Disk array controller model'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.2.1.1.2.{#SNMPINDEX}]'
              key: 'system.hw.diskarray.model[cpqDaCntlrModel.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Array Controller Model. The type of controller card.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaCntlrModel'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: array
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: 71ae1496057044819a80f0660d838083
              name: '{#CNTLR_LOCATION}: Disk array controller status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.2.1.1.6.{#SNMPINDEX}]'
              key: 'system.hw.diskarray.status[cpqDaCntlrCondition.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                This value represents the overall condition of this controller,
                and any associated logical drives,physical drives, and array accelerators.
              valuemap:
                name: 'CPQSINFO-MIB::status'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: array
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: a318564fe4eb488eba251f3cba3d31b6
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.status[cpqDaCntlrCondition.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CRIT_STATUS}")=1'
                  name: 'HP iLO: {#CNTLR_LOCATION}: Disk array controller is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'Please check the device for faults'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 6b65d2b2477c4567953fcec31b1ab9a3
                  expression: 'count(/HP iLO by SNMP/system.hw.diskarray.status[cpqDaCntlrCondition.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_WARN_STATUS}")=1'
                  name: 'HP iLO: {#CNTLR_LOCATION}: Disk array controller is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the device for faults'
                  dependencies:
                    - name: 'HP iLO: {#CNTLR_LOCATION}: Disk array controller is in critical state'
                      expression: 'count(/HP iLO by SNMP/system.hw.diskarray.status[cpqDaCntlrCondition.{#SNMPINDEX}],#1,"eq","{$DISK_ARRAY_CRIT_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: dd52cf7724f7471cabf1970707a6fdd6
          name: 'FAN Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.7.1.9]'
          key: fan.discovery
          delay: 1h
          description: 'CPQHLTH-MIB::cpqHeFltTolFanCondition'
          item_prototypes:
            - uuid: 2173681feff54bbbb27bca1c82fab363
              name: 'Fan {#SNMPINDEX}: Fan status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.7.1.9.{#SNMPINDEX}]'
              key: 'sensor.fan.status[cpqHeFltTolFanCondition.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQHLTH-MIB
                The condition of the fan.
                This value will be one of the following:
                other(1)  Fan status detection is not supported by this system or driver.
                ok(2)  The fan is operating properly.
                degraded(2)  A redundant fan is not operating properly.
                failed(4)  A non-redundant fan is not operating properly.
              valuemap:
                name: 'CPQSINFO-MIB::status'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: fan
              trigger_prototypes:
                - uuid: 0731e25040504428acb466b0d4e2803a
                  expression: 'count(/HP iLO by SNMP/sensor.fan.status[cpqHeFltTolFanCondition.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS}")=1'
                  name: 'HP iLO: Fan {#SNMPINDEX}: Fan is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the fan unit'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: c8c9ea062fa849b0b550ad4dd1d2cec7
                  expression: 'count(/HP iLO by SNMP/sensor.fan.status[cpqHeFltTolFanCondition.{#SNMPINDEX}],#1,"eq","{$FAN_WARN_STATUS}")=1'
                  name: 'HP iLO: Fan {#SNMPINDEX}: Fan is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the fan unit'
                  dependencies:
                    - name: 'HP iLO: Fan {#SNMPINDEX}: Fan is in critical state'
                      expression: 'count(/HP iLO by SNMP/sensor.fan.status[cpqHeFltTolFanCondition.{#SNMPINDEX}],#1,"eq","{$FAN_CRIT_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: 5b68bccba85349beb2800bbb99ba5e13
          name: 'Physical Disk Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.3.2.5.1.1.5,{#DISK_LOCATION},1.3.6.1.4.1.232.3.2.5.1.1.64]'
          key: physicalDisk.discovery
          delay: 1h
          description: 'Scanning  table of physical drive entries CPQIDA-MIB::cpqDaPhyDrvTable.'
          item_prototypes:
            - uuid: a6dfc1cf30e141b6b47d463d436f14b6
              name: '{#DISK_LOCATION}: Physical disk media type'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.69.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.media_type[cpqDaPhyDrvMediaType.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Drive Array Physical Drive Media Type.The following values are defined:
                other(1)  The instrument agent is unable to determine the physical drive's media type.
                rotatingPlatters(2)  The physical drive media is composed of rotating platters.
                solidState(3)  The physical drive media is composed of solid state electronics.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaPhyDrvMediaType'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: 82f09b232147488fb9bd7253ce1432c2
              name: '{#DISK_LOCATION}: Physical disk model name'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.3.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.model[cpqDaPhyDrvModel.{#SNMPINDEX}]'
              value_type: CHAR
              description: |
                MIB: CPQIDA-MIB
                Physical Drive Model.This is a text description of the physical drive.
                The text that appears depends upon who manufactured the drive and the drive type.
                If a drive fails, note the model to identify the type of drive necessary for replacement.
                If a model number is not present, you may not have properly initialized the drive array to which the physical drive is attached for monitoring.
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: 5eca1a95575f4cb891545bde063aae7b
              name: '{#DISK_LOCATION}: Physical disk serial number'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.51.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.serialnumber[cpqDaPhyDrvSerialNum.{#SNMPINDEX}]'
              value_type: CHAR
              description: |
                MIB: CPQIDA-MIB
                Physical Drive Serial Number.
                This is the serial number assigned to the physical drive.
                This value is based upon the serial number as returned by the SCSI inquiry command
                but may have been modified due to space limitations.  This can be used for identification purposes.
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: 87bcd812474b44729da19f49344ba976
                  expression: 'last(/HP iLO by SNMP/system.hw.physicaldisk.serialnumber[cpqDaPhyDrvSerialNum.{#SNMPINDEX}],#1)<>last(/HP iLO by SNMP/system.hw.physicaldisk.serialnumber[cpqDaPhyDrvSerialNum.{#SNMPINDEX}],#2) and length(last(/HP iLO by SNMP/system.hw.physicaldisk.serialnumber[cpqDaPhyDrvSerialNum.{#SNMPINDEX}]))>0'
                  name: 'HP iLO: {#DISK_LOCATION}: Disk has been replaced'
                  event_name: 'HP iLO: {#DISK_LOCATION}: Disk has been replaced (new serial number received)'
                  priority: INFO
                  description: 'Disk serial number has changed. Acknowledge to close the problem manually.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: 03cf9c027f9b4557a0d0a233347c58d2
              name: '{#DISK_LOCATION}: Disk size'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.45.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.size[cpqDaPhyDrvMediaType.{#SNMPINDEX}]'
              trends: '0'
              units: B
              description: |
                MIB: CPQIDA-MIB
                Physical Drive Size in MB.
                This is the size of the physical drive in megabytes.
                This value is calculated using the value 1,048,576 (2^20) as a megabyte.
                Drive manufacturers sometimes use the number 1,000,000 as a megabyte when giving drive capacities so this value may differ
                from the advertised size of a drive. This field is only applicable for controllers which support SCSI drives,
                and therefore is not supported by the IDA or IDA-2 controllers. The field will contain 0xFFFFFFFF if the drive capacity cannot be calculated
                or if the controller does not support SCSI drives.
              preprocessing:
                - type: MULTIPLIER
                  parameters:
                    - '1048576'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: e0864c9d70204f048fc0c597a996b19f
              name: '{#DISK_LOCATION}: Physical disk S.M.A.R.T. status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.57.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.smart_status[cpqDaPhyDrvSmartStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Physical Drive S.M.A.R.T Status.The following values are defined:
                other(1)  The agent is unable to determine if the status of S.M.A.R.T  predictive failure monitoring for this drive.
                ok(2)  Indicates the drive is functioning properly.
                replaceDrive(3)  Indicates that the drive has a S.M.A.R.T predictive failure  error and should be replaced.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaPhyDrvSmartStatus'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: 180f8f9124a041d0bf1c350d0226c3d3
                  expression: 'count(/HP iLO by SNMP/system.hw.physicaldisk.smart_status[cpqDaPhyDrvSmartStatus.{#SNMPINDEX}],#1,"eq","{$DISK_SMART_FAIL_STATUS:\"replaceDrive\"}")=1 or count(/HP iLO by SNMP/system.hw.physicaldisk.smart_status[cpqDaPhyDrvSmartStatus.{#SNMPINDEX}],#1,"eq","{$DISK_SMART_FAIL_STATUS:\"replaceDriveSSDWearOut\"}")=1'
                  name: 'HP iLO: {#DISK_LOCATION}: Physical disk S.M.A.R.T. failed'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'Disk probably requires replacement.'
                  dependencies:
                    - name: 'HP iLO: {#DISK_LOCATION}: Physical disk failed'
                      expression: 'count(/HP iLO by SNMP/system.hw.physicaldisk.status[cpqDaPhyDrvStatus.{#SNMPINDEX}],#1,"eq","{$DISK_FAIL_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
            - uuid: d88cd26724fd4f19b899b4767fb33814
              name: '{#DISK_LOCATION}: Physical disk status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.5.1.1.6.{#SNMPINDEX}]'
              key: 'system.hw.physicaldisk.status[cpqDaPhyDrvStatus.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQIDA-MIB
                Physical Drive Status. This shows the status of the physical drive. The following values are valid for the physical drive status:
                other (1)  Indicates that the instrument agent does not recognize  the drive.
                You may need to upgrade your instrument agent  and/or driver software.
                ok (2)  Indicates the drive is functioning properly.
                failed (3)  Indicates that the drive is no longer operating and  should be replaced.
                predictiveFailure(4)  Indicates that the drive has a predictive failure error and  should be replaced.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaPhyDrvStatus'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: 95e887baa0b9480a8a59848b07418c6b
                  expression: 'count(/HP iLO by SNMP/system.hw.physicaldisk.status[cpqDaPhyDrvStatus.{#SNMPINDEX}],#1,"eq","{$DISK_FAIL_STATUS}")=1'
                  name: 'HP iLO: {#DISK_LOCATION}: Physical disk failed'
                  opdata: 'Current status: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'Please check physical disk for warnings or errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 857540089794495799eb1a04b172c70c
                  expression: 'count(/HP iLO by SNMP/system.hw.physicaldisk.status[cpqDaPhyDrvStatus.{#SNMPINDEX}],#1,"eq","{$DISK_WARN_STATUS}")=1'
                  name: 'HP iLO: {#DISK_LOCATION}: Physical disk is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check physical disk for warnings or errors'
                  dependencies:
                    - name: 'HP iLO: {#DISK_LOCATION}: Physical disk failed'
                      expression: 'count(/HP iLO by SNMP/system.hw.physicaldisk.status[cpqDaPhyDrvStatus.{#SNMPINDEX}],#1,"eq","{$DISK_FAIL_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: a77e77fc862847078ff3328f4d331747
          name: 'PSU Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.9.3.1.5,{#CHASSIS_NUM},1.3.6.1.4.1.232.6.2.9.3.1.1,{#BAY_NUM},1.3.6.1.4.1.232.6.2.9.3.1.2]'
          key: psu.discovery
          delay: 1h
          description: 'CPQHLTH-MIB::cpqHeFltTolPowerSupplyStatus'
          item_prototypes:
            - uuid: 45d3144d0e5342c6a98b6aca01f4a907
              name: 'Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.9.3.1.4.{#SNMPINDEX}]'
              key: 'sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQHLTH-MIB
                The condition of the power supply. This value will be one of the following:
                other(1)  The status could not be determined or not present.
                ok(2)  The power supply is operating normally.
                degraded(3)  A temperature sensor, fan or other power supply component is  outside of normal operating range.
                failed(4)  A power supply component detects a condition that could  permanently damage the system.
              valuemap:
                name: 'CPQSINFO-MIB::status'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: power
              trigger_prototypes:
                - uuid: 7a34714fcbb74294af97bc4f39c21413
                  expression: 'count(/HP iLO by SNMP/sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS}")=1'
                  name: 'HP iLO: Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Please check the power supply unit for errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: db7679204aa544cb8ffe38df5c68b7ce
                  expression: 'count(/HP iLO by SNMP/sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}],#1,"eq","{$PSU_WARN_STATUS}")=1'
                  name: 'HP iLO: Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in warning state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check the power supply unit for errors'
                  dependencies:
                    - name: 'HP iLO: Chassis {#CHASSIS_NUM}, bay {#BAY_NUM}: Power supply is in critical state'
                      expression: 'count(/HP iLO by SNMP/sensor.psu.status[cpqHeFltTolPowerSupplyCondition.{#SNMPINDEX}],#1,"eq","{$PSU_CRIT_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: d39d17234d34419ab9bb0c1d90505bff
          name: 'Temperature Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: (4|8|9|12|13)
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable'
          item_prototypes:
            - uuid: ac352f7b00d6478daf601d0f7cb508e4
              name: '{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.
                If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: b7786ff4c57a4143b79e95bfc5470dcd
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: {#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 11365923a7b242fea930250e26fcc548
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: {#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: dd0fd44bd7bb43bd85fdd63a199e0e69
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: {#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: 63fd55c6dee6427bbba7daa023d8f91a
              name: '{#SNMPINDEX}: Temperature sensor location'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.3.{#SNMPINDEX}]'
              key: 'sensor.temp.locale[cpqHeTemperatureLocale.{#SNMPINDEX}]'
              trends: '0'
              description: |
                MIB: CPQHLTH-MIB
                This specifies the location of the temperature sensor present in the system.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureLocale'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
            - uuid: 7c7d2807f0714bca8c8f263c2a4be8e6
              name: '{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: {#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: 279cdcdb6d304a7fb6ba0667c55fc774
          name: 'Temperature Discovery Ambient'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.ambient
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '11'
              - macro: '{#SNMPINDEX}'
                value: 0\.1
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with ambient(11) and 0.1 index filter'
          item_prototypes:
            - uuid: da102e6fc86b49c7bd57c2805ca08675
              name: 'Ambient: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.Ambient.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: e955550a2496435eb799d317f2036c55
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Ambient.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: Ambient: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 8cd2c8b62b164923afed02da2be52dcc
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Ambient.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: Ambient: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: d11e13c5714a42d49bea54d837f9f418
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Ambient.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: Ambient: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: fd9c9a22a2a946ef895f92300de12004
              name: 'Ambient: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.Ambient.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: Ambient
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: 8a0f24370b2246799b3db8c547f34d3e
          name: 'Temperature Discovery CPU'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.cpu
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '6'
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with cpu(6) filter'
          item_prototypes:
            - uuid: 4cad241ca3bd4382879bebabc4f42201
              name: 'CPU-{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.CPU.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could
                  permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 512654c27ea94ed4993380793a67f68b
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.CPU.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: CPU-{#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 7853d0c8ed4a4ebe98e38c7499417ebe
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.CPU.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: CPU-{#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 0434d2a6a1b54cb7bcd0e6f58d973be4
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.CPU.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: CPU-{#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: 0bfe29bdf06e4432aafbbddb5bc02272
              name: 'CPU-{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.CPU.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: CPU-{#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: b32425e531b444c69cdc3efc015286f2
          name: 'Temperature Discovery I/O'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.io
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '5'
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with ioBoard(5) filter'
          item_prototypes:
            - uuid: 51fbe5f6d6c1481e818eafa7cbe01295
              name: 'I/O-{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition."I/O.{#SNMPINDEX}"]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could
                  permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 2875e5ebea474eccac8d53dd13539bd6
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition."I/O.{#SNMPINDEX}"]) = 1'
                  name: 'HP iLO: I/O-{#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 593b167fe62e4a7fae35ebb508540325
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition."I/O.{#SNMPINDEX}"]) = 4'
                  name: 'HP iLO: I/O-{#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: bf6a10f0596a45b4b8f8a2f0acf7c778
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition."I/O.{#SNMPINDEX}"]) = 3'
                  name: 'HP iLO: I/O-{#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: 5a37a9c96a9748468d10562bd1242aa0
              name: 'I/O-{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius."I/O.{#SNMPINDEX}"]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: I/O-{#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: f35e84ec9cb74bd19610fa7fdc59433d
          name: 'Temperature Discovery Memory'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.memory
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '7'
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with memory(7) filter'
          item_prototypes:
            - uuid: 861d683a933b4eb5989b0f5484a9a93d
              name: 'Memory-{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.Memory.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could
                  permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 881f28f6411c467493c56a64237d8ca8
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Memory.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: Memory-{#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: c05402995e6146d28c53fc33e88d8164
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Memory.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: Memory-{#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: bfac7287a9d842cb89d8089af72e2e12
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.Memory.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: Memory-{#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: feb78ed0e9c640f2b2e122bebca181a7
              name: 'Memory-{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.Memory.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: Memory-{#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: c12fc57ae86e434abd25e8ba8f6ca642
          name: 'Temperature Discovery PSU'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.psu
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '10'
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with powerSupply(10) filter'
          item_prototypes:
            - uuid: 01eea51183834c6a8ed7daf75abe6c87
              name: 'PSU-{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.PSU.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could
                  permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: 14ab7adae80c4859952381bfe17a14a3
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.PSU.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: PSU-{#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 97481f1183c3444c851fe99428bd7bf3
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.PSU.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: PSU-{#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 8c7f5250756946a595b742519e4890a5
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.PSU.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: PSU-{#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: d2e8eb2989364732b85dbef4eb7d1ce4
              name: 'PSU-{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.PSU.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: PSU-{#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: 4d513f2958ac483383ff803df781bd76
          name: 'Temperature Discovery System'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.6.2.6.8.1.1,{#SENSOR_LOCALE},1.3.6.1.4.1.232.6.2.6.8.1.3]'
          key: tempDescr.discovery.system
          delay: 1h
          filter:
            conditions:
              - macro: '{#SENSOR_LOCALE}'
                value: '3'
          description: 'Scanning table of Temperature Sensor Entries: CPQHLTH-MIB::cpqHeTemperatureTable with system(3) filter'
          item_prototypes:
            - uuid: 6adae921be5545c995cf24b2b900818c
              name: 'System-{#SNMPINDEX}: Temperature sensor condition'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.6.{#SNMPINDEX}]'
              key: 'sensor.temp.condition[cpqHeTemperatureCondition.System.{#SNMPINDEX}]'
              description: |
                MIB: CPQHLTH-MIB
                The Temperature sensor condition.
                This value will be one of the following:
                other(1)
                  Temperature could not be determined.
                ok(2)
                  The temperature sensor is within normal operating range.
                degraded(3)
                  The temperature sensor is outside of normal operating range.
                failed(4)
                  The temperature sensor detects a condition that could permanently damage the system.
                The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.  If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.
              valuemap:
                name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
              trigger_prototypes:
                - uuid: d161829ab0ec496bb4718ed156853c3f
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.System.{#SNMPINDEX}]) = 1'
                  name: 'HP iLO: System-{#SNMPINDEX}: Temperature could not be determined'
                  priority: INFO
                  description: 'Temperature could not be determined.'
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: a65a8386fdd048f986a3aa3fcf29a959
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.System.{#SNMPINDEX}]) = 4'
                  name: 'HP iLO: System-{#SNMPINDEX}: The temperature sensor detects a condition that could permanently damage the system.'
                  priority: HIGH
                  description: 'The system will automatically shutdown if the failed(4) condition results, so it is unlikely that this value will ever be returned by the agent.'
                  tags:
                    - tag: scope
                      value: notice
                - uuid: 0b13f436c7984eef9624632bb5f43970
                  expression: 'last(/HP iLO by SNMP/sensor.temp.condition[cpqHeTemperatureCondition.System.{#SNMPINDEX}]) = 3'
                  name: 'HP iLO: System-{#SNMPINDEX}: The temperature sensor is outside of normal operating range'
                  priority: WARNING
                  description: 'If the cpqHeThermalDegradedAction is set to shutdown(3) the system will be shutdown if the degraded(3) condition occurs.'
                  tags:
                    - tag: scope
                      value: notice
            - uuid: aa985d3fb0084e24bd9f3e81c249cae4
              name: 'System-{#SNMPINDEX}: Temperature'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.6.2.6.8.1.4.{#SNMPINDEX}]'
              key: 'sensor.temp.value[cpqHeTemperatureCelsius.System.{#SNMPINDEX}]'
              value_type: FLOAT
              units: °C
              description: |
                MIB: CPQHLTH-MIB
                Temperature readings of testpoint: System-{#SNMPINDEX}
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: temperature
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        - uuid: f8ddad8119414bdbb695feaa788aa89e
          name: 'Virtual Disk Discovery'
          type: SNMP_AGENT
          snmp_oid: 'discovery[{#SNMPVALUE},1.3.6.1.4.1.232.3.2.3.1.1.2,{#DISK_NAME},1.3.6.1.4.1.232.3.2.3.1.1.14]'
          key: virtualdisk.discovery
          delay: 1h
          description: 'CPQIDA-MIB::cpqDaLogDrvTable'
          item_prototypes:
            - uuid: 3d06c600df19479abc35c47832f1abc2
              name: 'Disk {#SNMPINDEX}({#DISK_NAME}): Layout type'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.3.1.1.3.{#SNMPINDEX}]'
              key: 'system.hw.virtualdisk.layout[cpqDaLogDrvFaultTol.{#SNMPINDEX}]'
              description: |
                Logical Drive Fault Tolerance.
                This shows the fault tolerance mode of the logical drive.
              valuemap:
                name: 'CPQIDA-MIB::cpqDaLogDrvFaultTol'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: 39add64d1cef451091f5416440ea0adc
              name: 'Disk {#SNMPINDEX}({#DISK_NAME}): Disk size'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.3.1.1.9.{#SNMPINDEX}]'
              key: 'system.hw.virtualdisk.size[cpqDaLogDrvSize.{#SNMPINDEX}]'
              trends: '0'
              units: B
              description: |
                Logical Drive Size.
                This is the size of the logical drive in megabytes.  This value
                is calculated using the value 1,048,576 (2^20) as a megabyte.
                Drive manufacturers sometimes use the number 1,000,000 as a
                megabyte when giving drive capacities so this value may
                differ from the advertised size of a drive.
              preprocessing:
                - type: MULTIPLIER
                  parameters:
                    - '1048576'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
            - uuid: e0de2e2cc2ac423c95bcca5c77b1a53c
              name: 'Disk {#SNMPINDEX}({#DISK_NAME}): Status'
              type: SNMP_AGENT
              snmp_oid: 'get[1.3.6.1.4.1.232.3.2.3.1.1.4.{#SNMPINDEX}]'
              key: 'system.hw.virtualdisk.status[cpqDaLogDrvStatus.{#SNMPINDEX}]'
              description: 'Logical Drive Status.'
              valuemap:
                name: 'CPQIDA-MIB::cpqDaLogDrvStatus'
              preprocessing:
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              tags:
                - tag: component
                  value: disk
                - tag: component
                  value: storage
              trigger_prototypes:
                - uuid: 3f809df0d34f47a2bc1addbf2f4387ac
                  expression: 'count(/HP iLO by SNMP/system.hw.virtualdisk.status[cpqDaLogDrvStatus.{#SNMPINDEX}],#1,"eq","{$VDISK_CRIT_STATUS}")=1'
                  name: 'HP iLO: Disk {#SNMPINDEX}({#DISK_NAME}): Virtual disk failed'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'Please check virtual disk for warnings or errors'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
                - uuid: 439b8dfa246f42d190d8f4deeebfeb53
                  expression: 'count(/HP iLO by SNMP/system.hw.virtualdisk.status[cpqDaLogDrvStatus.{#SNMPINDEX}],#1,"ne","{$VDISK_OK_STATUS}")=1'
                  name: 'HP iLO: Disk {#SNMPINDEX}({#DISK_NAME}): Virtual disk is not in OK state'
                  opdata: 'Current state: {ITEM.LASTVALUE1}'
                  priority: WARNING
                  description: 'Please check virtual disk for warnings or errors'
                  dependencies:
                    - name: 'HP iLO: Disk {#SNMPINDEX}({#DISK_NAME}): Virtual disk failed'
                      expression: 'count(/HP iLO by SNMP/system.hw.virtualdisk.status[cpqDaLogDrvStatus.{#SNMPINDEX}],#1,"eq","{$VDISK_CRIT_STATUS}")=1'
                  tags:
                    - tag: scope
                      value: availability
                    - tag: scope
                      value: performance
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
      tags:
        - tag: class
          value: hardware
        - tag: subclass
          value: management
        - tag: target
          value: hp
        - tag: target
          value: ilo
      macros:
        - macro: '{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:"capacitorFailed"}'
          value: '7'
          config:
            type: TEXT
            priority: '16'
            section_name: Other
            label: 'Disk array cache battery critical status (capacitor failed)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_BATTERY_CRIT_STATUS:"failed"}'
          value: '4'
          config:
            type: TEXT
            priority: '15'
            section_name: Other
            label: 'Disk array cache battery critical status (failed)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_BATTERY_WARN_STATUS:"degraded"}'
          value: '5'
          config:
            type: TEXT
            priority: '17'
            section_name: Other
            label: 'Disk array cache battery warning status (degraded)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_BATTERY_WARN_STATUS:"notPresent"}'
          value: '6'
          config:
            type: TEXT
            priority: '18'
            section_name: Other
            label: 'Disk array cache battery warning status (not present)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_CRIT_STATUS:"cacheModCriticalFailure"}'
          value: '8'
          config:
            type: TEXT
            priority: '9'
            section_name: Other
            label: 'Disk array cache critical status (cache module critical failure)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_OK_STATUS:"enabled"}'
          value: '3'
          config:
            type: TEXT
            priority: '14'
            section_name: Other
            label: 'Disk array cache OK status (enabled)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_WARN_STATUS:"cacheModDegradedFailsafeSpeed"}'
          value: '7'
          config:
            type: TEXT
            priority: '11'
            section_name: Other
            label: 'Disk array cache warning status (cache module degraded failsafe speed)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_WARN_STATUS:"cacheModFlashMemNotAttached"}'
          value: '6'
          config:
            type: TEXT
            priority: '13'
            section_name: Other
            label: 'Disk array cache warning status (cache module flash memory not attached)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_WARN_STATUS:"cacheReadCacheNotMapped"}'
          value: '9'
          config:
            type: TEXT
            priority: '12'
            section_name: Other
            label: 'Disk array cache warning status (cache read cache not mapped)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CACHE_WARN_STATUS:"invalid"}'
          value: '2'
          config:
            type: TEXT
            priority: '10'
            section_name: Other
            label: 'Disk array cache warning status (invalid)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_CRIT_STATUS}'
          value: '4'
          config:
            type: TEXT
            priority: '7'
            section_name: Other
            label: 'Disk array critical status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_ARRAY_WARN_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '8'
            section_name: Other
            label: 'Disk array warning status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_FAIL_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '22'
            section_name: Other
            label: 'Disk failure status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_SMART_FAIL_STATUS:"replaceDrive"}'
          value: '3'
          config:
            type: TEXT
            priority: '23'
            section_name: Other
            label: 'Disk SMART failure status (replace drive)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_SMART_FAIL_STATUS:"replaceDriveSSDWearOut"}'
          value: '4'
          config:
            type: TEXT
            priority: '24'
            section_name: Other
            label: 'Disk SMART failure status (replace SSD wear out)'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$DISK_WARN_STATUS}'
          value: '4'
          config:
            type: TEXT
            priority: '21'
            section_name: Other
            label: 'Disk warning status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$FAN_CRIT_STATUS}'
          value: '4'
          config:
            type: TEXT
            priority: '5'
            section_name: Other
            label: 'Fan critical status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$FAN_WARN_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '6'
            section_name: Other
            label: 'Fan warning status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$HEALTH_CRIT_STATUS}'
          value: '4'
          config:
            type: TEXT
            priority: '1'
            section_name: Other
            label: 'Health critical status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$HEALTH_WARN_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '2'
            section_name: Other
            label: 'Health warning status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_LOSS_WARN}'
          value: '20'
          description: 'Warning threshold of ICMP packet loss in %.'
          config:
            type: TEXT
            priority: '26'
            section_name: Thresholds
            label: 'Threshold of ICMP packet loss'
            description: 'Warning threshold of ICMP packet loss in %. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ICMP_RESPONSE_TIME_WARN}'
          value: '0.15'
          description: 'Warning threshold of the average ICMP response time in seconds.'
          config:
            type: TEXT
            priority: '27'
            section_name: Thresholds
            label: 'Threshold of the average ICMP response'
            description: 'Warning threshold of the average ICMP response time in seconds. No less than 0.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$PSU_CRIT_STATUS}'
          value: '4'
          config:
            type: TEXT
            priority: '3'
            section_name: Other
            label: 'Power supply critical status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$PSU_WARN_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '4'
            section_name: Other
            label: 'Power supply warning status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$SNMP.TIMEOUT}'
          value: 5m
          description: 'Time interval for the SNMP availability trigger.'
          config:
            type: TEXT
            priority: '25'
            section_name: Other
            label: 'Time interval'
            description: 'Time interval for the SNMP availability trigger.'
        - macro: '{$VDISK_CRIT_STATUS}'
          value: '3'
          config:
            type: TEXT
            priority: '19'
            section_name: Other
            label: 'Virtual disk critical status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$VDISK_OK_STATUS}'
          value: '2'
          config:
            type: TEXT
            priority: '20'
            section_name: Other
            label: 'Virtual disk OK status'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
      valuemaps:
        - uuid: 1a03c5602a4a49f8839d820c666434fc
          name: 'CPQHLTH-MIB::cpqHeTemperatureCondition'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ok
            - value: '3'
              newvalue: degraded
            - value: '4'
              newvalue: failed
        - uuid: f1e590a8cc744e22b900595851833357
          name: 'CPQHLTH-MIB::cpqHeTemperatureLocale'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: unknown
            - value: '3'
              newvalue: system
            - value: '4'
              newvalue: systemBoard
            - value: '5'
              newvalue: ioBoard
            - value: '6'
              newvalue: cpu
            - value: '7'
              newvalue: memory
            - value: '8'
              newvalue: storage
            - value: '9'
              newvalue: removableMedia
            - value: '10'
              newvalue: powerSupply
            - value: '11'
              newvalue: ambient
            - value: '12'
              newvalue: chassis
            - value: '13'
              newvalue: bridgeCard
        - uuid: 7502d61cf7644a2d9cff7462f53569ee
          name: 'CPQIDA-MIB::cpqDaAccelBattery'
          mappings:
            - value: '1'
              newvalue: Other
            - value: '2'
              newvalue: Ok
            - value: '3'
              newvalue: Recharging
            - value: '4'
              newvalue: Failed
            - value: '5'
              newvalue: Degraded
            - value: '6'
              newvalue: 'Not Present'
            - value: '7'
              newvalue: 'Capacitor failed'
        - uuid: 20d96ea63e994ba49244b94a4c24aec3
          name: 'CPQIDA-MIB::cpqDaAccelStatus'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: invalid
            - value: '3'
              newvalue: enabled
            - value: '4'
              newvalue: tmpDisabled
            - value: '5'
              newvalue: permDisabled
            - value: '6'
              newvalue: cacheModFlashMemNotAttached
            - value: '7'
              newvalue: cacheModDegradedFailsafeSpeed
            - value: '8'
              newvalue: cacheModCriticalFailure
            - value: '9'
              newvalue: cacheReadCacheNotMapped
        - uuid: 140a21785b764c95a3f78c8c05ed0844
          name: 'CPQIDA-MIB::cpqDaCntlrModel'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ida
            - value: '3'
              newvalue: idaExpansion
            - value: '4'
              newvalue: ida-2
            - value: '5'
              newvalue: smart
            - value: '6'
              newvalue: smart-2e
            - value: '7'
              newvalue: smart-2p
            - value: '8'
              newvalue: smart-2sl
            - value: '9'
              newvalue: smart-3100es
            - value: '10'
              newvalue: smart-3200
            - value: '11'
              newvalue: smart-2dh
            - value: '12'
              newvalue: smart-221
            - value: '13'
              newvalue: sa-4250es
            - value: '14'
              newvalue: sa-4200
            - value: '15'
              newvalue: sa-integrated
            - value: '16'
              newvalue: sa-431
            - value: '17'
              newvalue: sa-5300
            - value: '18'
              newvalue: raidLc2
            - value: '19'
              newvalue: sa-5i
            - value: '20'
              newvalue: sa-532
            - value: '21'
              newvalue: sa-5312
            - value: '22'
              newvalue: sa-641
            - value: '23'
              newvalue: sa-642
            - value: '24'
              newvalue: sa-6400
            - value: '25'
              newvalue: sa-6400em
            - value: '26'
              newvalue: sa-6i
            - value: '27'
              newvalue: sa-generic
            - value: '29'
              newvalue: sa-p600
            - value: '30'
              newvalue: sa-p400
            - value: '31'
              newvalue: sa-e200
            - value: '32'
              newvalue: sa-e200i
            - value: '33'
              newvalue: sa-p400i
            - value: '34'
              newvalue: sa-p800
            - value: '35'
              newvalue: sa-e500
            - value: '36'
              newvalue: sa-p700m
            - value: '37'
              newvalue: sa-p212
            - value: '38'
              newvalue: sa-p410
            - value: '39'
              newvalue: sa-p410i
            - value: '40'
              newvalue: sa-p411
            - value: '41'
              newvalue: sa-b110i
            - value: '42'
              newvalue: sa-p712m
            - value: '43'
              newvalue: sa-p711m
            - value: '44'
              newvalue: sa-p812
            - value: '45'
              newvalue: sw-1210m
            - value: '46'
              newvalue: sa-p220i
            - value: '47'
              newvalue: sa-p222
            - value: '48'
              newvalue: sa-p420
            - value: '49'
              newvalue: sa-p420i
            - value: '50'
              newvalue: sa-p421
            - value: '51'
              newvalue: sa-b320i
            - value: '52'
              newvalue: sa-p822
            - value: '53'
              newvalue: sa-p721m
            - value: '54'
              newvalue: sa-b120i
            - value: '55'
              newvalue: hps-1224
            - value: '56'
              newvalue: hps-1228
            - value: '57'
              newvalue: hps-1228m
            - value: '58'
              newvalue: sa-p822se
            - value: '59'
              newvalue: hps-1224e
            - value: '60'
              newvalue: hps-1228e
            - value: '61'
              newvalue: hps-1228em
            - value: '62'
              newvalue: sa-p230i
            - value: '63'
              newvalue: sa-p430i
            - value: '64'
              newvalue: sa-p430
            - value: '65'
              newvalue: sa-p431
            - value: '66'
              newvalue: sa-p731m
            - value: '67'
              newvalue: sa-p830i
            - value: '68'
              newvalue: sa-p830
            - value: '69'
              newvalue: sa-p831
            - value: '70'
              newvalue: sa-p530
            - value: '71'
              newvalue: sa-p531
            - value: '72'
              newvalue: sa-p244br
            - value: '73'
              newvalue: sa-p246br
            - value: '74'
              newvalue: sa-p440
            - value: '75'
              newvalue: sa-p440ar
            - value: '76'
              newvalue: sa-p441
            - value: '77'
              newvalue: sa-p741m
            - value: '78'
              newvalue: sa-p840
            - value: '79'
              newvalue: sa-p841
            - value: '80'
              newvalue: sh-h240ar
            - value: '81'
              newvalue: sh-h244br
            - value: '82'
              newvalue: sh-h240
            - value: '83'
              newvalue: sh-h241
            - value: '84'
              newvalue: sa-b140i
            - value: '85'
              newvalue: sh-generic
            - value: '88'
              newvalue: sa-p840ar
        - uuid: 442c9095de9f4aa5bcca659292b2c12b
          name: 'CPQIDA-MIB::cpqDaLogDrvFaultTol'
          mappings:
            - value: '0'
              newvalue: other
            - value: '2'
              newvalue: none
            - value: '3'
              newvalue: RAID-1/RAID-10
            - value: '4'
              newvalue: RAID-4
            - value: '5'
              newvalue: RAID-5
            - value: '7'
              newvalue: RAID-6
            - value: '8'
              newvalue: RAID-50
            - value: '9'
              newvalue: RAID-60
            - value: '10'
              newvalue: 'RAID-1 ADM'
            - value: '11'
              newvalue: 'RAID-10 ADM'
        - uuid: 8db38b47aba64739ae9f078f43b42888
          name: 'CPQIDA-MIB::cpqDaLogDrvStatus'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ok
            - value: '3'
              newvalue: failed
            - value: '4'
              newvalue: unconfigured
            - value: '5'
              newvalue: recovering
            - value: '6'
              newvalue: readyForRebuild
            - value: '7'
              newvalue: rebuilding
            - value: '8'
              newvalue: wrongDrive
            - value: '9'
              newvalue: badConnect
            - value: '10'
              newvalue: overheating
            - value: '11'
              newvalue: shutdown
            - value: '12'
              newvalue: expanding
            - value: '13'
              newvalue: notAvailable
            - value: '14'
              newvalue: queuedForExpansion
            - value: '15'
              newvalue: multipathAccessDegraded
            - value: '16'
              newvalue: erasing
            - value: '17'
              newvalue: predictiveSpareRebuildReady
            - value: '18'
              newvalue: rapidParityInitInProgress
            - value: '19'
              newvalue: rapidParityInitPending
            - value: '20'
              newvalue: noAccessEncryptedNoCntlrKey
            - value: '21'
              newvalue: unencryptedToEncryptedInProgress
            - value: '22'
              newvalue: newLogDrvKeyRekeyInProgress
            - value: '23'
              newvalue: noAccessEncryptedCntlrEncryptnNotEnbld
            - value: '24'
              newvalue: unencryptedToEncryptedNotStarted
            - value: '25'
              newvalue: newLogDrvKeyRekeyRequestReceived
        - uuid: 8351a024aa4d42d1915b44abe8acc4aa
          name: 'CPQIDA-MIB::cpqDaPhyDrvMediaType'
          mappings:
            - value: '1'
              newvalue: Other
            - value: '2'
              newvalue: rotatingPlatters
            - value: '3'
              newvalue: solidState
        - uuid: 54b288da67e1431c9d401cf47a518bcc
          name: 'CPQIDA-MIB::cpqDaPhyDrvSmartStatus'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ok
            - value: '3'
              newvalue: replaceDrive
            - value: '4'
              newvalue: replaceDriveSSDWearOut
        - uuid: 68bc7370fb8a43ee9957240e29636562
          name: 'CPQIDA-MIB::cpqDaPhyDrvStatus'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ok
            - value: '3'
              newvalue: failed
            - value: '4'
              newvalue: predictiveFailure
        - uuid: 8374297ea234491b980591a8daa88e1f
          name: 'CPQSINFO-MIB::status'
          mappings:
            - value: '1'
              newvalue: other
            - value: '2'
              newvalue: ok
            - value: '3'
              newvalue: degraded
            - value: '4'
              newvalue: failed
        - uuid: 98d8b8c35272455281f6ae0775691117
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
        - uuid: 1d84ec840bfb4ca0a8e98d11008e8423
          name: zabbix.host.available
          mappings:
            - value: '0'
              newvalue: 'not available'
            - value: '1'
              newvalue: available
            - value: '2'
              newvalue: unknown
    - uuid: e111446745a1425b862f8727ae63bce4
      template: 'Redis by Zabbix agent 2'
      name: 'Redis by Zabbix agent 2'
      description: |
        Get Redis metrics from plugin for the New Zabbix Agent (zabbix-agent2).
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/389050-discussion-thread-for-official-zabbix-template-redis
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Setup
        
        Setup and configure zabbix-agent2 compiled with the Redis monitoring plugin.
        
        Redis' default user should have permissions to run CONFIG, INFO, PING, CLIENT and SLOWLOG commands.
        
        Or default user ACL should have @admin, @slow, @dangerous, @fast and @connection categories.
        
        Test availability: `zabbix_get -s 127.0.0.1 -k redis.ping[tcp://127.0.0.1:6379]`
      vendor:
        name: Zabbix
        version: 8.0-1
      groups:
        - name: Templates/Databases
      items:
        - uuid: bc4989f098954259924cbee6717519a7
          name: 'Blocked clients'
          type: DEPENDENT
          key: redis.clients.blocked
          description: 'The number of connections waiting on a blocking call'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.blocked_clients
          master_item:
            key: redis.clients.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: 6140e8ff18fe41c6b65165b0f5346c7b
          name: 'Connected clients'
          type: DEPENDENT
          key: redis.clients.connected
          description: 'The number of connected clients'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.connected_clients
          master_item:
            key: redis.clients.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: daff9d68e5c6439082842959224ff709
          name: 'Get Clients info'
          type: DEPENDENT
          key: redis.clients.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Clients
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 3f5d6532f403436c823e1461e49e54c2
          name: 'Max input buffer'
          type: DEPENDENT
          key: redis.clients.max_input_buffer
          description: 'The biggest input buffer among current client connections'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  var clients = JSON.parse(value)
                  return clients.client_recent_max_input_buffer || clients.client_biggest_input_buf
          master_item:
            key: redis.clients.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: 44788aa774e64fe685fe6496a9bea97d
          name: 'Max output buffer'
          type: DEPENDENT
          key: redis.clients.max_output_buffer
          description: 'The biggest output buffer among current client connections'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  var clients = JSON.parse(value)
                  return clients.client_recent_max_output_buffer || clients.client_longest_output_list
          master_item:
            key: redis.clients.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: 74f9fe26bdaf4a7bb86214bd7d500363
          name: 'Cluster enabled'
          type: DEPENDENT
          key: redis.cluster.enabled
          description: 'Indicate Redis cluster is enabled'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Cluster.cluster_enabled
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: system
        - uuid: 066486e3be25406185e624611eeb167a
          name: 'Max clients'
          type: DEPENDENT
          key: redis.config.maxclients
          description: |
            Max number of connected clients at the same time.
            Once the limit is reached Redis will close all the new connections sending an error "max number of clients reached".
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.maxclients
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 30m
          master_item:
            key: 'redis.config["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: connections
        - uuid: bf68f3ecc3544ef0af00889139caf313
          name: 'Get config'
          key: 'redis.config["{$REDIS.CONN.URI}"]'
          history: 1h
          value_type: TEXT
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            - tag: component
              value: raw
          triggers:
            - uuid: 819b379b51c34616820f86d21c703b27
              expression: 'last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"],#1)<>last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"],#2) and length(last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"]))>0'
              name: 'Redis: Configuration has changed'
              priority: INFO
              description: 'Redis configuration has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 3aa0abb0b391474a9bd40d0b3e1cd4da
          name: 'Get CPU info'
          type: DEPENDENT
          key: redis.cpu.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.CPU
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 99d427f1f76a468c9878225abb8cebbd
          name: 'CPU sys'
          type: DEPENDENT
          key: redis.cpu.sys
          value_type: FLOAT
          units: s
          description: 'System CPU consumed by the Redis server'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_cpu_sys
          master_item:
            key: redis.cpu.info_raw
          tags:
            - tag: component
              value: cpu
        - uuid: 1bfce9a62c924510a9cac3b04320d838
          name: 'CPU sys children'
          type: DEPENDENT
          key: redis.cpu.sys_children
          value_type: FLOAT
          units: s
          description: 'System CPU consumed by the background processes'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_cpu_sys_children
          master_item:
            key: redis.cpu.info_raw
          tags:
            - tag: component
              value: cpu
        - uuid: 83e7c9f5b8a24c949d72125671d6d39a
          name: 'CPU user'
          type: DEPENDENT
          key: redis.cpu.user
          value_type: FLOAT
          units: s
          description: 'User CPU consumed by the Redis server'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_cpu_user
          master_item:
            key: redis.cpu.info_raw
          tags:
            - tag: component
              value: cpu
        - uuid: 8bc18ca0c79d4a81811b600cf3fe8ddd
          name: 'CPU user children'
          type: DEPENDENT
          key: redis.cpu.user_children
          value_type: FLOAT
          units: s
          description: 'User CPU consumed by the background processes'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_cpu_user_children
          master_item:
            key: redis.cpu.info_raw
          tags:
            - tag: component
              value: cpu
        - uuid: 720f146ffe7e481482e11db4b99634c8
          name: 'Get info'
          key: 'redis.info["{$REDIS.CONN.URI}"]'
          history: 1h
          value_type: TEXT
          tags:
            - tag: component
              value: raw
          triggers:
            - uuid: 0a5176877ba24df8b5d38c8cc544f0a8
              expression: 'nodata(/Redis by Zabbix agent 2/redis.info["{$REDIS.CONN.URI}"],30m)=1'
              name: 'Redis: Failed to fetch info data'
              event_name: 'Redis: Failed to fetch info data (or no data for 30m)'
              priority: WARNING
              description: 'Zabbix has not received any data for items for the last 30 minutes.'
              manual_close: 'YES'
              dependencies:
                - name: 'Redis: Service is down'
                  expression: 'last(/Redis by Zabbix agent 2/redis.ping["{$REDIS.CONN.URI}"])=0'
              tags:
                - tag: scope
                  value: availability
        - uuid: 52a4cad66c3c47ffab8762050f48e4af
          name: 'Get Keyspace info'
          type: DEPENDENT
          key: redis.keyspace.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Keyspace
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 5fe2afa1c8ff434a876822ea0b290659
          name: 'Memory fragmentation ratio'
          type: DEPENDENT
          key: redis.memory.fragmentation_ratio
          value_type: FLOAT
          description: |
            This ratio is an indication of memory mapping efficiency:
              - Value over 1.0 indicate that memory fragmentation is very likely. Consider restarting the Redis server so the operating system can recover fragmented memory, especially with a ratio over 1.5.
              - Value under 1.0 indicate that Redis likely has insufficient memory available. Consider optimizing memory usage or adding more RAM.
            
            Note: If your peak memory usage is much higher than your current memory usage, the memory fragmentation ratio may be unreliable.
            
            https://redis.io/topics/memory-optimization
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.mem_fragmentation_ratio
          master_item:
            key: redis.memory.info_raw
          tags:
            - tag: component
              value: memory
          triggers:
            - uuid: 629531ff1ebc4bdbb1f277848c436230
              expression: 'min(/Redis by Zabbix agent 2/redis.memory.fragmentation_ratio,15m)>{$REDIS.MEM.FRAG_RATIO.MAX.WARN}'
              name: 'Redis: Memory fragmentation ratio is too high'
              event_name: 'Redis: Memory fragmentation ratio is too high (over {$REDIS.MEM.FRAG_RATIO.MAX.WARN} in 15m)'
              priority: WARNING
              description: |
                This ratio is an indication of memory mapping efficiency:
                  - Value over 1.0 indicate that memory fragmentation is very likely. Consider restarting the Redis server so the operating system can recover fragmented memory, especially with a ratio over 1.5.
                  - Value under 1.0 indicate that Redis likely has insufficient memory available. Consider optimizing memory usage or adding more RAM.
                
                Note: If your peak memory usage is much higher than your current memory usage, the memory fragmentation ratio may be unreliable.
                
                https://redis.io/topics/memory-optimization
              tags:
                - tag: scope
                  value: performance
        - uuid: b4f76d36ac5b45f7b58b6f9b0d2a669d
          name: 'Get Memory info'
          type: DEPENDENT
          key: redis.memory.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Memory
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 5fef1d341a974cc5aa164e550aff1537
          name: 'Memory used'
          type: DEPENDENT
          key: redis.memory.used_memory
          units: B
          description: 'Total number of bytes allocated by Redis using its allocator'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_memory
          master_item:
            key: redis.memory.info_raw
          tags:
            - tag: component
              value: memory
        - uuid: de026d98fd9146b78f9a0be2c0b9de10
          name: 'Memory used Lua'
          type: DEPENDENT
          key: redis.memory.used_memory_lua
          units: B
          description: 'Amount of memory used by the Lua engine'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_memory_lua
          master_item:
            key: redis.memory.info_raw
          tags:
            - tag: component
              value: memory
        - uuid: d3f05ab1c0404f01875afb964d9820e2
          name: 'Memory used peak'
          type: DEPENDENT
          key: redis.memory.used_memory_peak
          units: B
          description: 'Peak memory consumed by Redis (in bytes)'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_memory_peak
          master_item:
            key: redis.memory.info_raw
          tags:
            - tag: component
              value: memory
        - uuid: ef06ae3dd4784702ad0d281da94c294d
          name: 'Memory used RSS'
          type: DEPENDENT
          key: redis.memory.used_memory_rss
          units: B
          description: 'Number of bytes that Redis allocated as seen by the operating system'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.used_memory_rss
          master_item:
            key: redis.memory.info_raw
          tags:
            - tag: component
              value: memory
        - uuid: 86501872c68c4e9fa4b55aaacebb3c3c
          name: 'AOF current rewrite time sec'
          type: DEPENDENT
          key: redis.persistence.aof_current_rewrite_time_sec
          value_type: FLOAT
          units: s
          description: 'Duration of the on-going AOF rewrite operation if any'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_current_rewrite_time_sec
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: d298e1ce9aa1481391a48754e2a648b0
          name: 'AOF enabled'
          type: DEPENDENT
          key: redis.persistence.aof_enabled
          description: 'Flag indicating AOF logging is activated'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_enabled
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: e2e62cc728c04169afeb051000042e28
          name: 'AOF last bgrewrite status'
          type: DEPENDENT
          key: redis.persistence.aof_last_bgrewrite_status
          description: 'Status of the last AOF rewrite operation'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_last_bgrewrite_status
            - type: BOOL_TO_DECIMAL
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 5a14501541c44699b81e3a89cc93d628
          name: 'AOF last rewrite time sec'
          type: DEPENDENT
          key: redis.persistence.aof_last_rewrite_time_sec
          value_type: FLOAT
          units: s
          description: 'Duration of the last AOF rewrite'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_last_rewrite_time_sec
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 2cfd96e347d341219238bdaf65f1846d
          name: 'AOF last write status'
          type: DEPENDENT
          key: redis.persistence.aof_last_write_status
          description: 'Status of the last write operation to the AOF'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_last_write_status
            - type: BOOL_TO_DECIMAL
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
          triggers:
            - uuid: 324e0e8fac514ba99d67aea7eb0ddf7c
              expression: 'last(/Redis by Zabbix agent 2/redis.persistence.aof_last_write_status)=0'
              name: 'Redis: Last AOF write operation failed'
              priority: WARNING
              description: 'Detailed information about persistence: https://redis.io/topics/persistence'
              tags:
                - tag: scope
                  value: notice
        - uuid: 3f4866909425447a828600e9b44ace5b
          name: 'AOF rewrite in progress'
          type: DEPENDENT
          key: redis.persistence.aof_rewrite_in_progress
          description: 'Flag indicating an AOF rewrite operation is on-going'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_rewrite_in_progress
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 83d243cc46304694954e08c0b03a3527
          name: 'AOF rewrite scheduled'
          type: DEPENDENT
          key: redis.persistence.aof_rewrite_scheduled
          description: 'Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.aof_rewrite_scheduled
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: ce5f961bbf7247e2b210aa026694b256
          name: 'Get Persistence info'
          type: DEPENDENT
          key: redis.persistence.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Persistence
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 90df2d442dc049d690044b92e0888c31
          name: 'Dump loading'
          type: DEPENDENT
          key: redis.persistence.loading
          description: 'Flag indicating if the load of a dump file is on-going'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.loading
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 5b1ecad187764429a22cbeb69afa3a28
          name: 'RDB bgsave in progress'
          type: DEPENDENT
          key: redis.persistence.rdb_bgsave_in_progress
          description: '"1" if bgsave is in progress and "0" otherwise'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_bgsave_in_progress
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: ea673953a3014dc091ec62a20ee53945
          name: 'RDB changes since last save'
          type: DEPENDENT
          key: redis.persistence.rdb_changes_since_last_save
          description: 'Number of changes since the last background save'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_changes_since_last_save
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: d8c4d8fceeb5482a951999eedd350f73
          name: 'RDB current bgsave time sec'
          type: DEPENDENT
          key: redis.persistence.rdb_current_bgsave_time_sec
          value_type: FLOAT
          units: s
          description: 'Duration of the on-going RDB save operation if any'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_current_bgsave_time_sec
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: e25772b422314949a564f219d6f725bc
          name: 'RDB last bgsave status'
          type: DEPENDENT
          key: redis.persistence.rdb_last_bgsave_status
          description: 'Status of the last RDB save operation'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_last_bgsave_status
            - type: BOOL_TO_DECIMAL
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
          triggers:
            - uuid: 44e427ae3ce7419dbac3059be11e31ef
              expression: 'last(/Redis by Zabbix agent 2/redis.persistence.rdb_last_bgsave_status)=0'
              name: 'Redis: Last RDB save operation failed'
              priority: WARNING
              description: 'Detailed information about persistence: https://redis.io/topics/persistence'
              tags:
                - tag: scope
                  value: notice
        - uuid: f506941104e34db08c0d8f5a6d9d9710
          name: 'RDB last bgsave time sec'
          type: DEPENDENT
          key: redis.persistence.rdb_last_bgsave_time_sec
          value_type: FLOAT
          units: s
          description: 'Duration of the last bg_save operation'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_last_bgsave_time_sec
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 04e1c21ca49246d7aba062cd001a8c00
          name: 'RDB last save time'
          type: DEPENDENT
          key: redis.persistence.rdb_last_save_time
          description: 'Epoch-based timestamp of last successful RDB save'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rdb_last_save_time
          master_item:
            key: redis.persistence.info_raw
          tags:
            - tag: component
              value: persistence
        - uuid: 5949fadcbe2b405baff0668e81627278
          name: Ping
          key: 'redis.ping["{$REDIS.CONN.URI}"]'
          valuemap:
            name: 'Service state'
          preprocessing:
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            - tag: component
              value: application
            - tag: component
              value: health
          triggers:
            - uuid: 62353f9ed6204b70ba270827c3922244
              expression: 'last(/Redis by Zabbix agent 2/redis.ping["{$REDIS.CONN.URI}"])=0'
              name: 'Redis: Service is down'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: availability
        - uuid: 6680a01fb98c4504bed6458ba6cde146
          name: 'Connected slaves'
          type: DEPENDENT
          key: redis.replication.connected_slaves
          description: 'Number of connected slaves'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.connected_slaves
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
          triggers:
            - uuid: 6d213088211a4bb38ff97b59113dccd9
              expression: 'last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#1)<>last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#2)'
              recovery_mode: NONE
              name: 'Redis: Number of slaves has changed'
              priority: INFO
              description: 'Redis number of slaves has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 57d121578bc848d787419221ac8dcabe
          name: 'Get Replication info'
          type: DEPENDENT
          key: redis.replication.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Replication
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 37fa1595299c4a3ea091039f4db47cf3
          name: 'Master replication offset'
          type: DEPENDENT
          key: redis.replication.master_repl_offset
          units: B
          description: 'Replication offset reported by the master'
          valuemap:
            name: 'Redis repl offset'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.master_repl_offset
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: cf067374339e44e5a4ba2cd70d4fec3a
          name: 'Replication backlog active'
          type: DEPENDENT
          key: redis.replication.repl_backlog_active
          description: 'Flag indicating replication backlog is active'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.repl_backlog_active
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: b4ea8df4d73144f99ffd4f5f6e6359ef
          name: 'Replication backlog first byte offset'
          type: DEPENDENT
          key: redis.replication.repl_backlog_first_byte_offset
          units: B
          description: 'The master offset of the replication backlog buffer'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.repl_backlog_first_byte_offset
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: 081cd9df926d48cea7e5c68f7761ddb1
          name: 'Replication backlog history length'
          type: DEPENDENT
          key: redis.replication.repl_backlog_histlen
          description: 'Amount of data in the backlog sync buffer'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.repl_backlog_histlen
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: a437a46aafe3413884975fc480091bb5
          name: 'Replication backlog size'
          type: DEPENDENT
          key: redis.replication.repl_backlog_size
          units: B
          description: 'Total size in bytes of the replication backlog buffer'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.repl_backlog_size
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: d8371457697744159aabc3bdece4af2e
          name: 'Replication role'
          type: DEPENDENT
          key: redis.replication.role
          value_type: CHAR
          description: 'Value is "master" if the instance is replica of no one, or "slave" if the instance is a replica of some master instance. Note that a replica can be master of another replica (chained replication).'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.role
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: redis.replication.info_raw
          tags:
            - tag: component
              value: replication
          triggers:
            - uuid: d24f7aabefb345e791b3bb276f30ac8c
              expression: 'last(/Redis by Zabbix agent 2/redis.replication.role,#1)<>last(/Redis by Zabbix agent 2/redis.replication.role,#2) and length(last(/Redis by Zabbix agent 2/redis.replication.role))>0'
              recovery_mode: NONE
              name: 'Redis: Replication role has changed'
              event_name: 'Redis: Replication role has changed (new role: {ITEM.VALUE})'
              priority: WARNING
              description: 'Redis replication role has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 6ac72e70dc98478aa5c7730f59440c19
          name: 'Get Server info'
          type: DEPENDENT
          key: redis.server.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Server
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 8a08d4f30b78448986b9fd94cafd398c
          name: 'Process id'
          type: DEPENDENT
          key: redis.server.process_id
          description: 'PID of the server process'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.process_id
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: redis.server.info_raw
          tags:
            - tag: component
              value: os
        - uuid: b2deab550d984b3e93741c53019e7f89
          name: 'Redis mode'
          type: DEPENDENT
          key: redis.server.redis_mode
          value_type: CHAR
          description: 'The server''s mode ("standalone", "sentinel" or "cluster")'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.redis_mode
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: redis.server.info_raw
          tags:
            - tag: component
              value: system
        - uuid: 9699d6a6563b498ea73f88a4c1dd9cf1
          name: 'Redis version'
          type: DEPENDENT
          key: redis.server.redis_version
          value_type: CHAR
          description: 'Version of the Redis server'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.redis_version
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: redis.server.info_raw
          tags:
            - tag: component
              value: application
          triggers:
            - uuid: 6e307546b26344deb83f2295c90e9a33
              expression: 'last(/Redis by Zabbix agent 2/redis.server.redis_version,#1)<>last(/Redis by Zabbix agent 2/redis.server.redis_version,#2) and length(last(/Redis by Zabbix agent 2/redis.server.redis_version))>0'
              name: 'Redis: Version has changed'
              event_name: 'Redis: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'The Redis version has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 8c28e54f9e5d40d6b69c1f5b39b85054
          name: 'TCP port'
          type: DEPENDENT
          key: redis.server.tcp_port
          description: 'TCP/IP listen port'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.tcp_port
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: redis.server.info_raw
          tags:
            - tag: component
              value: network
        - uuid: af225edd976146f2920bc05afb703f14
          name: Uptime
          type: DEPENDENT
          key: redis.server.uptime
          units: s
          description: 'Number of seconds since Redis server start'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.uptime_in_seconds
          master_item:
            key: redis.server.info_raw
          tags:
            - tag: component
              value: application
          triggers:
            - uuid: 4961e91eed2a4e83899d135315748b0e
              expression: 'last(/Redis by Zabbix agent 2/redis.server.uptime)<10m'
              name: 'Redis: Host has been restarted'
              event_name: 'Redis: {HOST.NAME} has been restarted (uptime < 10m)'
              priority: INFO
              description: 'The host uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 51a65fa1d27e4fcd915c5019687e7bc9
          name: 'Slowlog entries per second'
          key: 'redis.slowlog.count["{$REDIS.CONN.URI}"]'
          preprocessing:
            - type: CHANGE_PER_SECOND
          tags:
            - tag: component
              value: application
          triggers:
            - uuid: 37fb0255e49c42c8913e56fe4aaa1d14
              expression: 'min(/Redis by Zabbix agent 2/redis.slowlog.count["{$REDIS.CONN.URI}"],5m)>{$REDIS.SLOWLOG.COUNT.MAX.WARN}'
              name: 'Redis: Too many entries in the slowlog'
              event_name: 'Redis: Too many entries in the slowlog (over {$REDIS.SLOWLOG.COUNT.MAX.WARN} per second in 5m)'
              priority: INFO
              tags:
                - tag: scope
                  value: performance
        - uuid: eca69284ac8e4ae3a7e965b6549e9343
          name: 'Evicted keys'
          type: DEPENDENT
          key: redis.stats.evicted_keys
          description: 'Number of evicted keys due to maxmemory limit'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.evicted_keys
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: keys
        - uuid: 0a77355cfba348bb8884d2405892ed5d
          name: 'Expired keys'
          type: DEPENDENT
          key: redis.stats.expired_keys
          description: 'Total number of key expiration events'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.expired_keys
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: keys
        - uuid: edcd97d79c2a4213b2bbefa36f37881d
          name: 'Get Stats info'
          type: DEPENDENT
          key: redis.stats.info_raw
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.Stats
              error_handler: DISCARD_VALUE
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            - tag: component
              value: raw
        - uuid: 5841b6f2a76b432080029367e7008cd1
          name: 'Instantaneous input bytes per second'
          type: DEPENDENT
          key: redis.stats.instantaneous_input.rate
          value_type: FLOAT
          units: Bps
          description: 'The network''s read rate per second in KB/sec'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.instantaneous_input_kbps
            - type: MULTIPLIER
              parameters:
                - '1024'
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: network
        - uuid: 3552b285d7ca41f796c1838e268a92c1
          name: 'Instantaneous operations per sec'
          type: DEPENDENT
          key: redis.stats.instantaneous_ops.rate
          description: 'Number of commands processed per second'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.instantaneous_ops_per_sec
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: operations
        - uuid: 86c05ed58e8448e9b7307a3c82e182af
          name: 'Instantaneous output bytes per second'
          type: DEPENDENT
          key: redis.stats.instantaneous_output.rate
          value_type: FLOAT
          units: Bps
          description: 'The network''s write rate per second in KB/sec'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.instantaneous_output_kbps
            - type: MULTIPLIER
              parameters:
                - '1024'
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: network
        - uuid: 66d30a422e704174ae7700e1dd006aa1
          name: 'Keyspace hits'
          type: DEPENDENT
          key: redis.stats.keyspace_hits
          description: 'Number of successful lookup of keys in the main dictionary'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.keyspace_hits
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: keys
        - uuid: e24da63a83dc4223bed35cf80fc22300
          name: 'Keyspace misses'
          type: DEPENDENT
          key: redis.stats.keyspace_misses
          description: 'Number of failed lookup of keys in the main dictionary'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.keyspace_misses
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: keys
        - uuid: 1f11810f06d44e498a895c516f902f95
          name: 'Latest fork usec'
          type: DEPENDENT
          key: redis.stats.latest_fork_usec
          units: s
          description: 'Duration of the latest fork operation in microseconds'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.latest_fork_usec
            - type: MULTIPLIER
              parameters:
                - '1.0E-5'
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: operations
        - uuid: 2662dfd3524749998306f1d7afe33019
          name: 'Migrate cached sockets'
          type: DEPENDENT
          key: redis.stats.migrate_cached_sockets
          description: 'The number of sockets open for MIGRATE purposes'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.migrate_cached_sockets
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: 186e6bda0a0e463bb8218a58f227ff2b
          name: 'Pubsub channels'
          type: DEPENDENT
          key: redis.stats.pubsub_channels
          description: 'Global number of pub/sub channels with client subscriptions'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.pubsub_channels
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: subscribes
        - uuid: 1e0711a2b40e4fea88c0c57a1f6d2b30
          name: 'Pubsub patterns'
          type: DEPENDENT
          key: redis.stats.pubsub_patterns
          description: 'Global number of pub/sub pattern with client subscriptions'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.pubsub_patterns
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: subscribes
        - uuid: 65135267c836435d872325a7129e5857
          name: 'Rejected connections'
          type: DEPENDENT
          key: redis.stats.rejected_connections
          description: 'Number of connections rejected because of maxclients limit'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.rejected_connections
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: connections
          triggers:
            - uuid: 5bf0680529ce496b8fe419e2732c69d1
              expression: 'last(/Redis by Zabbix agent 2/redis.stats.rejected_connections)>0'
              name: 'Redis: Connections are rejected'
              priority: HIGH
              description: |
                The number of connections has reached the value of "maxclients".
                
                https://redis.io/topics/clients
              tags:
                - tag: scope
                  value: availability
        - uuid: 37135fd8b7e94c41bc21e802f21baeb4
          name: 'Sync full'
          type: DEPENDENT
          key: redis.stats.sync_full
          description: 'The number of full resyncs with replicas'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.sync_full
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: cb5b6380b164419280fdcd98077c5d8f
          name: 'Sync partial err'
          type: DEPENDENT
          key: redis.stats.sync_partial_err
          description: 'The number of denied partial resync requests'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.sync_partial_err
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: 231560fd350e4b5096b242dddecd7c8b
          name: 'Sync partial ok'
          type: DEPENDENT
          key: redis.stats.sync_partial_ok
          description: 'The number of accepted partial resync requests'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.sync_partial_ok
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: replication
        - uuid: 278ff045f367443380fcd594dba77d53
          name: 'Total commands processed'
          type: DEPENDENT
          key: redis.stats.total_commands_processed
          description: 'Total number of commands processed by the server'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.total_commands_processed
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: commands
        - uuid: c9afbbbec8a44926887389a590f1df91
          name: 'Total connections received'
          type: DEPENDENT
          key: redis.stats.total_connections_received
          description: 'Total number of connections accepted by the server'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.total_connections_received
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: connections
        - uuid: 838cb6cbfd8a42e1b9cfa4a60670324a
          name: 'Total net input bytes'
          type: DEPENDENT
          key: redis.stats.total_net_input_bytes
          units: B
          description: 'The total number of bytes read from the network'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.total_net_input_bytes
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: network
        - uuid: 762f6b06eb094de896d265fcf3f9a603
          name: 'Total net output bytes'
          type: DEPENDENT
          key: redis.stats.total_net_output_bytes
          units: B
          description: 'The total number of bytes written to the network'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.total_net_output_bytes
          master_item:
            key: redis.stats.info_raw
          tags:
            - tag: component
              value: network
      discovery_rules:
        - uuid: 527a3526b0e64225bb3dcf2dbbfbda5b
          name: 'Process metrics discovery'
          key: 'proc.num["{$REDIS.LLD.PROCESS_NAME}"]'
          delay: 1h
          description: 'Collect metrics by Zabbix agent if it exists'
          item_prototypes:
            - uuid: 376a8861723c45c3bde08573c7ab2ed9
              name: 'CPU utilization'
              key: 'proc.cpu.util["{$REDIS.PROCESS_NAME}{#SINGLETON}"]'
              value_type: FLOAT
              units: '%'
              description: 'Process CPU utilization percentage.'
              tags:
                - tag: component
                  value: cpu
            - uuid: 9d68e00f913a4faea5a334d361f324b0
              name: 'Memory usage (rss)'
              key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,rss]'
              units: B
              description: 'Resident set size memory used by process in bytes.'
              tags:
                - tag: component
                  value: memory
            - uuid: 325cabaa95994a58bf30992586ba7544
              name: 'Memory usage (vsize)'
              key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,vsize]'
              units: B
              description: 'Virtual memory size used by process in bytes.'
              tags:
                - tag: component
                  value: memory
            - uuid: d9ccc25e5d1b4f05b22354a7672b518c
              name: 'Number of running processes'
              key: 'proc.num["{$REDIS.PROCESS_NAME}{#SINGLETON}"]'
              tags:
                - tag: component
                  value: system
              trigger_prototypes:
                - uuid: 590bd23c52b74dd7951dcf74903ac2ed
                  expression: 'last(/Redis by Zabbix agent 2/proc.num["{$REDIS.PROCESS_NAME}{#SINGLETON}"])=0'
                  name: 'Redis: Process is not running'
                  priority: HIGH
                  tags:
                    - tag: scope
                      value: availability
          graph_prototypes:
            - uuid: e26f8c31c3654febbeda2ffb97438c36
              name: 'Redis: Memory usage{#SINGLETON}'
              graph_items:
                - color: 199C0D
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,vsize]'
                - sortorder: '1'
                  color: F63100
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,rss]'
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(value > 0 ? [{''{#SINGLETON}'': ''''}] : []);'
        - uuid: 0f7966f47fda4b41856163ffb438bf27
          name: 'Keyspace discovery'
          type: DEPENDENT
          key: redis.keyspace.discovery
          filter:
            evaltype: AND
            conditions:
              - macro: '{#DB}'
                value: '{$REDIS.LLD.FILTER.DB.MATCHES}'
              - macro: '{#DB}'
                value: '{$REDIS.LLD.FILTER.DB.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
          description: 'Individual keyspace metrics'
          item_prototypes:
            - uuid: 38fcb8524f1b4f50a4945333fc6c7536
              name: 'DB {#DB}: Average TTL'
              type: DEPENDENT
              key: 'redis.db.avg_ttl["{#DB}"]'
              units: s
              description: 'Average TTL'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.avg_ttl
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'redis.db.info_raw["{#DB}"]'
              tags:
                - tag: component
                  value: keys
                - tag: database
                  value: '{#DB}'
            - uuid: bde12d459b7b4e23a22ed6188b57bb25
              name: 'DB {#DB}: Expires'
              type: DEPENDENT
              key: 'redis.db.expires["{#DB}"]'
              description: 'Number of keys with an expiration'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.expires
              master_item:
                key: 'redis.db.info_raw["{#DB}"]'
              tags:
                - tag: component
                  value: keys
                - tag: database
                  value: '{#DB}'
            - uuid: 983d5c7da67d42399105d5477c54c1e6
              name: 'DB {#DB}: Get Keyspace info'
              type: DEPENDENT
              key: 'redis.db.info_raw["{#DB}"]'
              history: '0'
              value_type: TEXT
              description: 'The item gets information about keyspace of {#DB} database.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$[''{#DB}'']'
                  error_handler: DISCARD_VALUE
              master_item:
                key: redis.keyspace.info_raw
              tags:
                - tag: component
                  value: raw
                - tag: database
                  value: '{#DB}'
            - uuid: 2bae0d2f8b8348bcad207b61ef6286c3
              name: 'DB {#DB}: Keys'
              type: DEPENDENT
              key: 'redis.db.keys["{#DB}"]'
              description: 'Total number of keys'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.keys
              master_item:
                key: 'redis.db.info_raw["{#DB}"]'
              tags:
                - tag: component
                  value: keys
                - tag: database
                  value: '{#DB}'
          graph_prototypes:
            - uuid: 3271f3a143dc43f38a674b6cbae8cd0d
              name: 'DB {#DB}: Keys'
              graph_items:
                - drawtype: GRADIENT_LINE
                  color: 199C0D
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.db.keys["{#DB}"]'
                - sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: F63100
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.db.expires["{#DB}"]'
          master_item:
            key: redis.keyspace.info_raw
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(Object.keys(JSON.parse(value))
                    .map(function (v){return {"{#DB}": v}}));
        - uuid: a3fb00d4bbc24779b6c7223b867f4d2c
          name: 'Version 4+ metrics discovery'
          type: DEPENDENT
          key: redis.metrics.v4.discovery
          description: 'Additional metrics for versions 4+'
          item_prototypes:
            - uuid: b7e8d996335f41158b3c6a8961319db0
              name: 'Active defrag running{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.active_defrag_running[{#SINGLETON}]'
              description: 'Flag indicating if active defragmentation is active'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.active_defrag_running
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 2065e38cd7e5417abfd0b80116b0d77b
              name: 'Lazyfree pending objects{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.lazyfree_pending_objects[{#SINGLETON}]'
              description: 'The number of objects waiting to be freed (as a result of calling UNLINK, or FLUSHDB and FLUSHALL with the ASYNC option)'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lazyfree_pending_objects
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 2c5c700b53374dac86d805384b6bc9b0
              name: 'Max memory{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.maxmemory[{#SINGLETON}]'
              units: B
              description: 'Maximum amount of memory allocated to the Redisdb system'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.maxmemory
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 0f094be6d0fa4afda3aa7916fac4d3a3
              name: 'Max memory policy{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.maxmemory_policy[{#SINGLETON}]'
              value_type: CHAR
              description: 'The value of the maxmemory-policy configuration directive'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.maxmemory_policy
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: bf804c6ee44640168e15ca62803b7f10
              name: 'Total system memory{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.total_system_memory[{#SINGLETON}]'
              units: B
              description: 'The total amount of memory that the Redis host has'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.total_system_memory
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 1c0e0355d5cd429f9a914fb67f29e366
              name: 'Memory used dataset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_dataset[{#SINGLETON}]'
              units: B
              description: 'The size in bytes of the dataset'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_dataset
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 4e5937420b3843568d9f36b40c0a3c28
              name: 'Memory used dataset %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_dataset_perc[{#SINGLETON}]'
              value_type: FLOAT
              units: '%'
              description: 'The percentage of used_memory_dataset out of the net memory usage (used_memory minus used_memory_startup)'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_dataset_perc
                - type: REGEX
                  parameters:
                    - (.+)%
                    - \1
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: e085382c18f3473f9d2271024cd61e93
              name: 'Memory used overhead{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_overhead[{#SINGLETON}]'
              units: B
              description: 'The sum in bytes of all overheads that the server allocated for managing its internal data structures'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_overhead
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 5da63141e8b145a38954736806602b4a
              name: 'Memory used peak %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_peak_perc[{#SINGLETON}]'
              value_type: FLOAT
              units: '%'
              description: 'The percentage of used_memory_peak out of used_memory'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_peak_perc
                - type: REGEX
                  parameters:
                    - (.+)%
                    - \1
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: dabd2918056b4b999f4b30bd8e64e8a1
              name: 'Memory used startup{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_startup[{#SINGLETON}]'
              units: B
              description: 'Initial amount of memory consumed by Redis at startup in bytes'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_startup
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 9da41967290742cb8daa2f69ac1d6966
              name: 'AOF last CoW size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_last_cow_size[{#SINGLETON}]'
              units: B
              description: 'The size in bytes of copy-on-write allocations during the last AOF rewrite operation'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_last_cow_size
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 768839c72e3f4be89e30dd0d140c9d03
              name: 'RDB last CoW size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.rdb_last_cow_size[{#SINGLETON}]'
              units: B
              description: 'The size in bytes of copy-on-write allocations during the last RDB save operation'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.rdb_last_cow_size
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: bead155d26054d0487622f29b86dcd2b
              name: 'Replication second offset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.second_repl_offset[{#SINGLETON}]'
              value_type: FLOAT
              units: B
              description: 'Offset up to which replication IDs are accepted'
              valuemap:
                name: 'Redis repl offset'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.second_repl_offset
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: 14d062351a114e8eafa2b2b889317903
              name: 'Executable path{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.server.executable[{#SINGLETON}]'
              value_type: CHAR
              description: 'The path to the server''s executable'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.executable
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: redis.server.info_raw
              tags:
                - tag: component
                  value: system
            - uuid: 5458542148954618a6d22df1effffe57
              name: 'Active defrag hits{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_hits[{#SINGLETON}]'
              description: 'Number of value reallocations performed by active the defragmentation process'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.active_defrag_hits
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: f8b424743dd24691be2bd07d5538b16a
              name: 'Active defrag key hits{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_key_hits[{#SINGLETON}]'
              description: 'Number of keys that were actively defragmented'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.active_defrag_key_hits
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: keys
            - uuid: 8aba0ad8d7314b6b8cf1e80cb0afb618
              name: 'Active defrag key misses{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_key_misses[{#SINGLETON}]'
              description: 'Number of keys that were skipped by the active defragmentation process'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.active_defrag_key_misses
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: keys
            - uuid: 3c20cca8b4a84c619d90d64a34386dfa
              name: 'Active defrag misses{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_misses[{#SINGLETON}]'
              description: 'Number of aborted value reallocations started by the active defragmentation process'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.active_defrag_misses
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: a34f4e33a0cb4381b5c3b7a507e90bee
              name: 'Expired stale %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.expired_stale_perc[{#SINGLETON}]'
              value_type: FLOAT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.expired_stale_perc
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: keys
            - uuid: 81667ae170b04ac0980e122566c5ed8e
              name: 'Expired time cap reached count{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.expired_time_cap_reached_count[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.expired_time_cap_reached_count
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: cycles
            - uuid: 93bf8753d6b242f1b8d2288fb926e01b
              name: 'Slave expires tracked keys{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.slave_expires_tracked_keys[{#SINGLETON}]'
              description: 'The number of keys tracked for expiry purposes (applicable only to writable replicas)'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.slave_expires_tracked_keys
              master_item:
                key: redis.stats.info_raw
              tags:
                - tag: component
                  value: keys
          trigger_prototypes:
            - uuid: 0c3560588d2d421c843c006ef5fa4645
              expression: 'last(/Redis by Zabbix agent 2/redis.memory.used_memory)/min(/Redis by Zabbix agent 2/redis.memory.maxmemory[{#SINGLETON}],5m)*100>{$REDIS.MEM.PUSED.MAX.WARN}'
              name: 'Redis: Memory usage is too high'
              event_name: 'Redis: Memory usage is too high (over {$REDIS.MEM.PUSED.MAX.WARN}% in 5m)'
              priority: WARNING
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
          master_item:
            key: redis.server.info_raw
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.redis_version
            - type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(parseInt(value.split(''.'')[0]) >= 4 ? [{''{#SINGLETON}'': ''''}] : []);'
        - uuid: f7a9f1e26bb54cb6adf74ee9f30d88cd
          name: 'Version 5+ metrics discovery'
          type: DEPENDENT
          key: redis.metrics.v5.discovery
          description: 'Additional metrics for versions 5+'
          item_prototypes:
            - uuid: adc25c08108e4fcaa3b41d2897d0a0c6
              name: 'Allocator active{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_active[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_active
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 81ef89fc751746ac8254a55a2b2e4ea7
              name: 'Allocator allocated{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_allocated[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_allocated
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 23e034630d7246f7ba993d5c6db2d6bb
              name: 'Allocator fragmentation bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_frag_bytes[{#SINGLETON}]'
              units: B
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_frag_bytes
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 690a13b13d134f648b4b8381f6a185f0
              name: 'Allocator fragmentation ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_frag_ratio[{#SINGLETON}]'
              value_type: FLOAT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_frag_ratio
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 0abd6a9adb034536b3a389e0af2af732
              name: 'Allocator resident{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_resident[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_resident
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: b5ecad496c554ccaad495d2f112b5e2f
              name: 'Allocator RSS bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_rss_bytes[{#SINGLETON}]'
              units: B
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_rss_bytes
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 643fe70e1a7f488196b053722a2df9c2
              name: 'Allocator RSS ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_rss_ratio[{#SINGLETON}]'
              value_type: FLOAT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.allocator_rss_ratio
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 40a639acab5a415a8fb48b7520b7d198
              name: 'Memory fragmentation bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.fragmentation_bytes[{#SINGLETON}]'
              units: B
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_fragmentation_bytes
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: 70c53f60d020440c8f7cba83b32f58c9
              name: 'Memory AOF buffer{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_aof_buffer[{#SINGLETON}]'
              description: 'Size of the AOF buffer'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_aof_buffer
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
                - tag: component
                  value: persistence
            - uuid: d64718269f20470e9661ff7c479dc300
              name: 'Memory clients normal{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_clients_normal[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_clients_normal
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: e685ab11ab534f8abd1a7e2ee35839e8
              name: 'Memory clients slaves{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_clients_slaves[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_clients_slaves
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: f6c9bfda015d47d0b34f466e95356a5d
              name: 'Memory not counted for evict{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.not_counted_for_evict[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_not_counted_for_evict
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: eaac8b142fc540ad9c7563e145819643
              name: 'Memory number of cached scripts{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.number_of_cached_scripts[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.number_of_cached_scripts
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: a221fd161be641c1a8091d0bfd1d2157
              name: 'Memory replication backlog{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.replication_backlog[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.mem_replication_backlog
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
                - tag: component
                  value: replication
            - uuid: e699ad3b29ca486f91688684ffde6b73
              name: 'Memory RSS overhead bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.rss_overhead_bytes[{#SINGLETON}]'
              value_type: FLOAT
              units: B
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.rss_overhead_bytes
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: d4d51ae4ce214699ba760fcb62289a51
              name: 'Memory RSS overhead ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.rss_overhead_ratio[{#SINGLETON}]'
              value_type: FLOAT
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.rss_overhead_ratio
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
            - uuid: e3733b2993cb4199bfac8b0711d4bb72
              name: 'Memory used scripts{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_scripts[{#SINGLETON}]'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.used_memory_scripts
              master_item:
                key: redis.memory.info_raw
              tags:
                - tag: component
                  value: memory
          master_item:
            key: redis.server.info_raw
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.redis_version
            - type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(parseInt(value.split(''.'')[0]) >= 5 ? [{''{#SINGLETON}'': ''''}] : []);'
        - uuid: ac3a22522a2c4fa1a256794dd2292480
          name: 'AOF metrics discovery'
          type: DEPENDENT
          key: redis.persistence.aof.discovery
          description: 'If AOF is activated, additional metrics will be added'
          item_prototypes:
            - uuid: e68a7b6931324bd79268a5151717505e
              name: 'AOF base size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_base_size[{#SINGLETON}]'
              units: B
              description: 'AOF file size on latest startup or rewrite'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_base_size
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 875ace20e5c94044ae63f36d98ac6256
              name: 'AOF buffer length{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_buffer_length[{#SINGLETON}]'
              units: B
              description: 'Size of the AOF buffer'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_buffer_length
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 679bd919383a4106916a84fae5be47bb
              name: 'AOF current size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_current_size[{#SINGLETON}]'
              units: B
              description: 'AOF current file size'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_current_size
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: ff9955c770aa4e0883cc72bf1d762be7
              name: 'AOF delayed fsync{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_delayed_fsync[{#SINGLETON}]'
              description: 'Delayed fsync counter'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_delayed_fsync
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 0606ef5762b04d91abba95269eb77ae2
              name: 'AOF pending background I/O fsync{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_pending_bio_fsync[{#SINGLETON}]'
              description: 'Number of fsync pending jobs in background I/O queue'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_pending_bio_fsync
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 194061b8ad6c484ca8c732d69eeb0f1e
              name: 'AOF pending rewrite{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_pending_rewrite[{#SINGLETON}]'
              description: 'Flag indicating an AOF rewrite operation will'
              valuemap:
                name: 'Redis flag'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_pending_rewrite
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
            - uuid: 1a39f5854ae948759deadac0ae57e9f7
              name: 'AOF rewrite buffer length{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_rewrite_buffer_length[{#SINGLETON}]'
              units: B
              description: 'Size of the AOF rewrite buffer'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.aof_rewrite_buffer_length
                  error_handler: DISCARD_VALUE
              master_item:
                key: redis.persistence.info_raw
              tags:
                - tag: component
                  value: persistence
          master_item:
            key: redis.persistence.info_raw
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(JSON.parse(value).aof_enabled === '1'
                    ? [{'{#SINGLETON}': ''}]
                    : []);
        - uuid: 4379bad5624a4a5db0c86c5332cf5cc9
          name: 'Replication metrics discovery'
          type: DEPENDENT
          key: redis.replication.master.discovery
          description: 'If the instance is the master and the slaves are connected, additional metrics are provided'
          item_prototypes:
            - uuid: 2d26ebb0a5024378b59b3f0ee8e7fff4
              name: 'Redis slave {#SLAVE_IP}:{#SLAVE_PORT}: Replication lag in bytes'
              type: DEPENDENT
              key: 'redis.replication.lag_bytes["{#SLAVE_IP}:{#SLAVE_PORT}"]'
              units: B
              description: 'Replication lag in bytes'
              preprocessing:
                - type: JAVASCRIPT
                  parameters:
                    - |
                      var repl = JSON.parse(value);
                      var res = Object.keys(repl)
                      	.filter(function (v) {return v.match(/slave\d+/)})
                      	.filter(function (v) {return (repl[v].ip === "{#SLAVE_IP}" && repl[v].port === "{#SLAVE_PORT}")})
                      	.map(function (v) {return repl[v].offset})[0];
                      
                      if (res === undefined) {
                      	throw 'Slave {#SLAVE_IP}:{#SLAVE_PORT} is no longer available.';
                      }
                      
                      return res;
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
          graph_prototypes:
            - uuid: 0bce553a5a1240e2b097754dba8f6939
              name: 'Redis slave {#SLAVE_IP}:{#SLAVE_PORT}: Replication lag bytes'
              graph_items:
                - drawtype: BOLD_LINE
                  color: 199C0D
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.replication.lag_bytes["{#SLAVE_IP}:{#SLAVE_PORT}"]'
          master_item:
            key: redis.replication.info_raw
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  var repl = JSON.parse(value);
                  return JSON.stringify(Object.keys(repl)
                    .filter(function (v) {return v.match(/slave\d+/)})
                    .map(function (v){
                  	return {"{#SLAVE_IP}": repl[v].ip, "{#SLAVE_PORT}": repl[v].port}
                    }));
        - uuid: ca9296a7acb548789865ac716a54ce10
          name: 'Slave metrics discovery'
          type: DEPENDENT
          key: redis.replication.slave.discovery
          description: 'If the instance is a replica, additional metrics are provided'
          item_prototypes:
            - uuid: 92e4b2133a6a4ec28e739bbef94ab992
              name: 'Master host{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_host[{#SINGLETON}]'
              value_type: CHAR
              description: 'Host or IP address of the master'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.master_host
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: 0acbeb8633da41be9bfb56627a946fd9
              name: 'Master last I/O seconds ago{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_last_io_seconds_ago[{#SINGLETON}]'
              value_type: FLOAT
              units: s
              description: 'Number of seconds since the last interaction with master'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.master_last_io_seconds_ago
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
              trigger_prototypes:
                - uuid: 292f477d970d4a138d2d1b2c45d965dd
                  expression: 'min(/Redis by Zabbix agent 2/redis.replication.master_last_io_seconds_ago[{#SINGLETON}],5m)>{$REDIS.REPL.LAG.MAX.WARN}'
                  name: 'Redis: Replication lag with master is too high'
                  event_name: 'Redis: Replication lag with master is too high (over {$REDIS.REPL.LAG.MAX.WARN} in 5m)'
                  priority: WARNING
                  tags:
                    - tag: scope
                      value: availability
            - uuid: 8024463a9f644e6e91def5a0e88abd4b
              name: 'Master link status{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_link_status[{#SINGLETON}]'
              value_type: CHAR
              description: 'Status of the link (up/down)'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.master_link_status
                - type: BOOL_TO_DECIMAL
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: da63a0b31bed47edaba3f802738fa4fd
              name: 'Master port{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_port[{#SINGLETON}]'
              description: 'Master listening TCP port'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.master_port
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: 6835a260e66741159ee10046265a1ea4
              name: 'Master sync in progress{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_sync_in_progress[{#SINGLETON}]'
              description: 'Indicate the master is syncing to the replica'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.master_sync_in_progress
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: 3f92dfa07237495ca7696bb4b078eb93
              name: 'Slave priority{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_priority[{#SINGLETON}]'
              description: 'The priority of the instance as a candidate for failover'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.slave_priority
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: f38492a49f214ec8b71fdc51d243281e
              name: 'Slave priority{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_read_only[{#SINGLETON}]'
              description: 'Flag indicating if the replica is read-only'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.slave_read_only
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
            - uuid: 7eb23d1d96ea489c9e0b39b7839147bd
              name: 'Slave replication offset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_repl_offset[{#SINGLETON}]'
              units: B
              description: 'The replication offset of the replica instance'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.slave_repl_offset
              master_item:
                key: redis.replication.info_raw
              tags:
                - tag: component
                  value: replication
          graph_prototypes:
            - uuid: bbc5fb3021be4c3381e48fe623b611f0
              name: 'Redis: Replication lag time{#SINGLETON}'
              graph_items:
                - drawtype: BOLD_LINE
                  color: 199C0D
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.replication.master_last_io_seconds_ago[{#SINGLETON}]'
          master_item:
            key: redis.replication.info_raw
          preprocessing:
            - type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(JSON.parse(value).role === 'slave'
                    ? [{'{#SINGLETON}': ''}]
                    : []);
      tags:
        - tag: class
          value: database
        - tag: subclass
          value: nosql
        - tag: target
          value: redis
      macros:
        - macro: '{$REDIS.CLIENTS.PRC.MAX.WARN}'
          value: '80'
          description: 'Maximum percentage of connected clients'
          config:
            type: TEXT
            priority: '8'
            section_name: Thresholds
            label: 'Max connected clients (%)'
            description: 'Maximum percentage of connected clients In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$REDIS.CONN.URI}'
          value: 'tcp://localhost:6379'
          description: 'Connection string in the URI format (password is not used). This param overwrites a value configured in the "Server" option of the configuration file (if it''s set), otherwise, the plugin''s default value is used: "tcp://localhost:6379"'
          config:
            type: TEXT
            priority: '1'
            label: 'Connection string'
            description: 'Connection string in the URI format (password is not used). This param overwrites a value configured in the "Server" option of the configuration file (if it''s set), otherwise, the plugin''s default value is used: "tcp://localhost:6379"'
            required: 'YES'
        - macro: '{$REDIS.LLD.FILTER.DB.MATCHES}'
          value: '.*'
          description: 'Filter of discoverable databases'
          config:
            type: TEXT
            priority: '4'
            section_name: Filters
            label: 'Databases filter (include)'
            description: 'Filter of discoverable databases'
        - macro: '{$REDIS.LLD.FILTER.DB.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Filter to exclude discovered databases'
          config:
            type: TEXT
            priority: '5'
            section_name: Filters
            label: 'Databases filter (exclude)'
            description: 'Filter to exclude discovered databases'
        - macro: '{$REDIS.LLD.PROCESS_NAME}'
          value: redis-server
          description: 'Redis server process name for LLD'
          config:
            type: TEXT
            priority: '3'
            section_name: Other
            label: 'Server process name (for LLD)'
            description: 'Redis server process name for LLD'
        - macro: '{$REDIS.MEM.FRAG_RATIO.MAX.WARN}'
          value: '1.5'
          description: 'Maximum memory fragmentation ratio'
          config:
            type: TEXT
            priority: '10'
            section_name: Thresholds
            label: 'Max memory fragmentation ratio'
            description: 'Maximum memory fragmentation ratio'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$REDIS.MEM.PUSED.MAX.WARN}'
          value: '90'
          description: 'Maximum percentage of memory used'
          config:
            type: TEXT
            priority: '9'
            section_name: Thresholds
            label: 'Max memory used (%)'
            description: 'Maximum percentage of memory used In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$REDIS.PROCESS_NAME}'
          value: redis-server
          description: 'Redis server process name'
          config:
            type: TEXT
            priority: '2'
            label: 'Server process name'
            description: 'Redis server process name'
            required: 'YES'
        - macro: '{$REDIS.REPL.LAG.MAX.WARN}'
          value: 30s
          description: 'Maximum replication lag in seconds'
          config:
            type: TEXT
            priority: '6'
            section_name: Thresholds
            label: 'Max replication lag (sec)'
            description: 'Maximum replication lag in seconds'
        - macro: '{$REDIS.SLOWLOG.COUNT.MAX.WARN}'
          value: '1'
          description: 'Maximum number of slowlog entries per second'
          config:
            type: TEXT
            priority: '7'
            section_name: Thresholds
            label: 'Max slowlog entries/sec'
            description: 'Maximum number of slowlog entries per second'
      dashboards:
        - uuid: 7c5bdd7bc74648c4891abc6649d105d0
          name: 'Redis overview'
          pages:
            - widgets:
                - type: graph
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Clients'
                    - type: STRING
                      name: reference
                      value: AAAAA
                - type: graph
                  'y': '5'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Commands'
                    - type: STRING
                      name: reference
                      value: AAAAC
                - type: graph
                  'y': '10'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Persistence'
                    - type: STRING
                      name: reference
                      value: AAAAE
                - type: graph
                  'y': '15'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Slowlog'
                    - type: STRING
                      name: reference
                      value: AAAAG
                - type: graphprototype
                  'y': '20'
                  width: '36'
                  height: '5'
                  fields:
                    - type: INTEGER
                      name: columns
                      value: '1'
                    - type: GRAPH_PROTOTYPE
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Replication lag time{#SINGLETON}'
                    - type: STRING
                      name: reference
                      value: AAAAI
                - type: graph
                  x: '36'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Keyspace'
                    - type: STRING
                      name: reference
                      value: AAAAB
                - type: graph
                  x: '36'
                  'y': '5'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Expired keys'
                    - type: STRING
                      name: reference
                      value: AAAAD
                - type: graph
                  x: '36'
                  'y': '10'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Slaves'
                    - type: STRING
                      name: reference
                      value: AAAAF
                - type: graph
                  x: '36'
                  'y': '15'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Uptime'
                    - type: STRING
                      name: reference
                      value: AAAAH
        - uuid: ee4c29eb7a0f443fafb7e7d3b9df7b24
          name: 'Redis performance'
          pages:
            - widgets:
                - type: graph
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: CPU'
                    - type: STRING
                      name: reference
                      value: AAAAJ
                - type: graph
                  'y': '5'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Memory'
                    - type: STRING
                      name: reference
                      value: AAAAL
                - type: graph
                  x: '36'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Network'
                    - type: STRING
                      name: reference
                      value: AAAAK
                - type: graph
                  x: '36'
                  'y': '5'
                  width: '36'
                  height: '5'
                  fields:
                    - type: GRAPH
                      name: graphid.0
                      value:
                        host: 'Redis by Zabbix agent 2'
                        name: 'Redis: Memory fragmentation'
                    - type: STRING
                      name: reference
                      value: AAAAM
      valuemaps:
        - uuid: 82f4dc4ef0c9471d82dbe3605f4f31d0
          name: 'Redis bgsave time'
          mappings:
            - value: '-1'
              newvalue: Inactive
        - uuid: 098c2240a8e947fc9f6f0a677ffcbc0e
          name: 'Redis bgwrite status'
          mappings:
            - value: '0'
              newvalue: Error
            - value: '1'
              newvalue: Ok
        - uuid: 3b6cd97c65d14e10bdabf5c42d767ad9
          name: 'Redis flag'
          mappings:
            - value: '0'
              newvalue: 'No'
            - value: '1'
              newvalue: 'Yes'
        - uuid: 47c80efdf46745f1959eee76f68014e7
          name: 'Redis repl offset'
          mappings:
            - value: '-1'
              newvalue: Undefined
        - uuid: ae3eec95cd1c440ba6c67ed5d7b7b915
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
    - uuid: 970c2342146549768e6b91a26089bcdf
      template: 'Remote Zabbix proxy health'
      name: 'Remote Zabbix proxy health'
      description: |
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy.
        
        Specify the address of the remote Zabbix proxy by updating the {$ZABBIX.PROXY.ADDRESS} and {$ZABBIX.PROXY.PORT} macros. Don't forget to adjust the "StatsAllowedIP" parameter in the remote proxy's configuration file to allow the collection of statistics.
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy.
        
        ## Setup
        
        Specify the address of the remote Zabbix proxy as the values for the `Zabbix proxy Address` and `Zabbix proxy Port` configuration fields. Don't forget to adjust the `StatsAllowedIP` parameter in the remote proxy's configuration file to allow the collection of statistics.
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: Templates/Applications
      items:
        - uuid: 061bac7060704850b42ae063aba8c076
          name: 'Discovery queue'
          type: DEPENDENT
          key: discovery_queue
          description: 'The count of values enqueued in the discovery queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.discovery_queue
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discoverer" processes started. Please check "StartDiscoverers" parameter in the server configuration file.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: e6654e9406b74b28909dc166b2805125
          name: 'Preprocessing queue'
          type: DEPENDENT
          key: preprocessing_queue
          description: 'The number of values enqueued in the preprocessing queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing_queue
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 6732baab363145b4bf3211896ea70a6b
          name: 'Preprocessing direct throughput'
          type: DEPENDENT
          key: preprocessing_throughput_direct
          value_type: FLOAT
          units: Bps
          description: 'Reflects the direct throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 58e6a944fdd549dabc5103d1f1f7b37e
          name: 'Preprocessing queued throughput'
          type: DEPENDENT
          key: preprocessing_throughput_queued
          value_type: FLOAT
          units: Bps
          description: 'Reflects the queued throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 87cd65b2e4ec44669dbd9a404a1c0323
          name: 'Preprocessing direct VPS'
          type: DEPENDENT
          key: preprocessing_vps_direct
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of direct preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 96be72679ce84c0888982c9c23337258
          name: 'Preprocessing queued VPS'
          type: DEPENDENT
          key: preprocessing_vps_queued
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of queued preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 55b74e2521be4ec4bd74f28fafa1fc89
          name: 'Utilization of agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes agent poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: c35b8290fb2840e9bb403f54ad0e7b97
              expression: 'avg(/Remote Zabbix proxy health/process.agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"agent poller"}'
              name: 'Zabbix proxy: Utilization of agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 189d41565cdf4f459468c43d1b1d0961
          name: 'Utilization of availability manager internal processes, in %'
          type: DEPENDENT
          key: process.availability_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the availability manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''availability manager''].busy.avg'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 77e66d2f6b0e48fa8a7ec5dd213eab35
              expression: 'avg(/Remote Zabbix proxy health/process.availability_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"availability manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.availability_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"availability manager"}'
              name: 'Zabbix proxy: Utilization of availability manager processes is high'
              event_name: 'Zabbix proxy: Utilization of availability manager processes over {$ZABBIX.PROXY.UTIL.MAX:"availability manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the availability manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: e71c85b839d2447ba9a8bec8aa0fb794
          name: 'Utilization of browser poller data collector processes, in %'
          type: DEPENDENT
          key: process.browser_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the browser poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''browser poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "browser poller" processes started.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 8458680e160d4f2ba1d1d2c20453dfe4
              expression: 'avg(/Remote Zabbix proxy health/process.browser_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"browser poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.browser_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"browser poller"}'
              name: 'Zabbix proxy: Utilization of browser poller processes is high'
              event_name: 'Zabbix proxy: Utilization of browser poller processes over {$ZABBIX.PROXY.UTIL.MAX:"browser poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the browser poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 457a086236ab40eda5c9758eabacb73d
          name: 'Utilization of configuration syncer internal processes, in %'
          type: DEPENDENT
          key: process.configuration_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the configuration syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''configuration syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes configuration syncer not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 67089f59f77641c8ab487e2c44d563a2
              expression: 'avg(/Remote Zabbix proxy health/process.configuration_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.configuration_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"configuration syncer"}'
              name: 'Zabbix proxy: Utilization of configuration syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of configuration syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the configuration syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: ff9c1cb7fb234ad2b793c4f296b79834
          name: 'Utilization of data sender internal processes, in %'
          type: DEPENDENT
          key: process.data_sender.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the data sender processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''data sender''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes data sender not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: f2208ef37274449fb2b61f5f55e615f1
              expression: 'avg(/Remote Zabbix proxy health/process.data_sender.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"data sender"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.data_sender.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"data sender"}'
              name: 'Zabbix proxy: Utilization of data sender processes is high'
              event_name: 'Zabbix proxy: Utilization of data sender processes over {$ZABBIX.PROXY.UTIL.MAX:"data sender"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the data sender, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 879ef97241444ef9ac679e7f601557a0
          name: 'Utilization of discovery manager internal processes, in %'
          type: DEPENDENT
          key: process.discovery_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery manager" processes started.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 8d0651ac99ba4c28b9525885e04ecb98
              expression: 'avg(/Remote Zabbix proxy health/process.discovery_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.discovery_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery manager"}'
              name: 'Zabbix proxy: Utilization of discovery manager processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery manager processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 59ab4f96b9704b94b95cdb2f96c3736f
          name: 'Utilization of discovery worker internal processes, in %'
          type: DEPENDENT
          key: process.discovery_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery worker" processes started.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 63c45f37a5cd41c091ba3af451325220
              expression: 'avg(/Remote Zabbix proxy health/process.discovery_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.discovery_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery worker"}'
              name: 'Zabbix proxy: Utilization of discovery worker processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery worker processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: c710e445710b4d98bd4ebcd5770c7d5a
          name: 'Utilization of history syncer internal processes, in %'
          type: DEPENDENT
          key: process.history_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the history syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''history syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes history syncer not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 872ca8a02ff948d0ab4f5000249bbf5b
              expression: 'avg(/Remote Zabbix proxy health/process.history_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.history_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"history syncer"}'
              name: 'Zabbix proxy: Utilization of history syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of history syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"history syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the history syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 50c3587febc14c118ca2868c24e42770
          name: 'Utilization of housekeeper internal processes, in %'
          type: DEPENDENT
          key: process.housekeeper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the housekeeper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''housekeeper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes housekeeper not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 43d8ef15170e4edd80eea85ad9990d73
              expression: 'avg(/Remote Zabbix proxy health/process.housekeeper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.housekeeper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"housekeeper"}'
              name: 'Zabbix proxy: Utilization of housekeeper processes is high'
              event_name: 'Zabbix proxy: Utilization of housekeeper processes over {$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the housekeeper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: b93aad197c1d411f8845ae7c591d1759
          name: 'Utilization of http agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http agent poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 460ddec16c564c6dbc706b21747aa622
              expression: 'avg(/Remote Zabbix proxy health/process.http_agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.http_agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http agent poller"}'
              name: 'Zabbix proxy: Utilization of http agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 4f335477bd654368a7870dc5cd21e114
          name: 'Utilization of http poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 9c391ba5350d401b9ca56f7cd29cd457
              expression: 'avg(/Remote Zabbix proxy health/process.http_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.http_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http poller"}'
              name: 'Zabbix proxy: Utilization of http poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: f03927fd354a490e95521e5922a19ad3
          name: 'Utilization of icmp pinger data collector processes, in %'
          type: DEPENDENT
          key: process.icmp_pinger.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the icmp pinger processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''icmp pinger''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes icmp pinger not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 8a0abc8ff0dd42b0926b5840fe5b0e2f
              expression: 'avg(/Remote Zabbix proxy health/process.icmp_pinger.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.icmp_pinger.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"icmp pinger"}'
              name: 'Zabbix proxy: Utilization of icmp pinger processes is high'
              event_name: 'Zabbix proxy: Utilization of icmp pinger processes over {$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the icmp pinger, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 2474dabb131247f0bce1d43075cee215
          name: 'Utilization of internal poller data collector processes, in %'
          type: DEPENDENT
          key: process.internal_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the internal poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''internal poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "internal poller" processes started.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 5bea08baaad04d4e8d15540e931e0336
              expression: 'avg(/Remote Zabbix proxy health/process.internal_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"internal poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.internal_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"internal poller"}'
              name: 'Zabbix proxy: Utilization of internal poller processes is high'
              event_name: 'Zabbix proxy: Utilization of internal poller processes over {$ZABBIX.PROXY.UTIL.MAX:"internal poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the internal poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: fb560cce51714f9c8b5164f7587930e5
          name: 'Utilization of ipmi manager internal processes, in %'
          type: DEPENDENT
          key: process.ipmi_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi manager not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: a2aed809416b46beba8ed63554d9b7d5
              expression: 'avg(/Remote Zabbix proxy health/process.ipmi_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.ipmi_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi manager"}'
              name: 'Zabbix proxy: Utilization of ipmi manager processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi manager processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: c4ff983246e7450f96af03da274df151
          name: 'Utilization of ipmi poller data collector processes, in %'
          type: DEPENDENT
          key: process.ipmi_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: e7c748c36e5740d684a5c4c68682f321
              expression: 'avg(/Remote Zabbix proxy health/process.ipmi_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.ipmi_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi poller"}'
              name: 'Zabbix proxy: Utilization of ipmi poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: c37b027a671449dca92cfbf1b15e711f
          name: 'Utilization of java poller data collector processes, in %'
          type: DEPENDENT
          key: process.java_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the java poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''java poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes java poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: ef46070fc30b46c7be1ce3574e578449
              expression: 'avg(/Remote Zabbix proxy health/process.java_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"java poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.java_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"java poller"}'
              name: 'Zabbix proxy: Utilization of java poller processes is high'
              event_name: 'Zabbix proxy: Utilization of java poller processes over {$ZABBIX.PROXY.UTIL.MAX:"java poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the java poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 7c0d7d097e004d0db25eab55ceb6b87c
          name: 'Utilization of ODBC poller data collector processes, in %'
          type: DEPENDENT
          key: process.odbc_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ODBC poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''odbc poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes odbc poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 7f83ff01200c4862aa22057b079da6f8
              expression: 'avg(/Remote Zabbix proxy health/process.odbc_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.odbc_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ODBC poller"}'
              name: 'Zabbix proxy: Utilization of ODBC poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ODBC poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ODBC poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: e44b8cc43d5c49c5a81ed33c5cc44c82
          name: 'Utilization of poller data collector processes, in %'
          type: DEPENDENT
          key: process.poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 6afb9db9e11842c28c059abd31c7a134
              expression: 'avg(/Remote Zabbix proxy health/process.poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"poller"}'
              name: 'Zabbix proxy: Utilization of poller processes is high'
              event_name: 'Zabbix proxy: Utilization of poller processes over {$ZABBIX.PROXY.UTIL.MAX:"poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: c4746528d75a41898a7ded21701de019
          name: 'Utilization of preprocessing manager internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing manager not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 4c681b0775b54fd79e4aba669e219967
              expression: 'avg(/Remote Zabbix proxy health/process.preprocessing_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.preprocessing_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing manager"}'
              name: 'Zabbix proxy: Utilization of preprocessing manager processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing manager processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 5b10c9859c3443459b5e993015ae68fc
          name: 'Utilization of preprocessing worker internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing worker not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: f1c97c56e2d04cabaaa4c9b41e2bbad3
              expression: 'avg(/Remote Zabbix proxy health/process.preprocessing_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.preprocessing_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing worker"}'
              name: 'Zabbix proxy: Utilization of preprocessing worker processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing worker processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: fbfe2a05b2914c9d8b1b39aa7320aaf3
          name: 'Utilization of self-monitoring internal processes, in %'
          type: DEPENDENT
          key: process.self-monitoring.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the self-monitoring processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''self-monitoring''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes self-monitoring not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: fee719ea91524972897c19ce4b17bd54
              expression: 'avg(/Remote Zabbix proxy health/process.self-monitoring.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.self-monitoring.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"self-monitoring"}'
              name: 'Zabbix proxy: Utilization of self-monitoring processes is high'
              event_name: 'Zabbix proxy: Utilization of self-monitoring processes over {$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the self-monitoring, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: f31066273dde41c2aee2a319c1a1af9a
          name: 'Utilization of snmp poller data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: e9c89574068443f89c369df8618506e6
              expression: 'avg(/Remote Zabbix proxy health/process.snmp_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.snmp_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp poller"}'
              name: 'Zabbix proxy: Utilization of snmp poller processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp poller processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 3c06aed8f9ca4790b23132498e32701f
          name: 'Utilization of snmp trapper data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp trapper not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 9ca70574386f4b968bcda64a5d267d58
              expression: 'avg(/Remote Zabbix proxy health/process.snmp_trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.snmp_trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp trapper"}'
              name: 'Zabbix proxy: Utilization of snmp trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 48ab13daaf0541bdbf317226c753472c
          name: 'Utilization of task manager internal processes, in %'
          type: DEPENDENT
          key: process.task_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the task manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''task manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes task manager not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 9d7d15a747484530a61102175cbc4478
              expression: 'avg(/Remote Zabbix proxy health/process.task_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"task manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.task_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"task manager"}'
              name: 'Zabbix proxy: Utilization of task manager processes is high'
              event_name: 'Zabbix proxy: Utilization of task manager processes over {$ZABBIX.PROXY.UTIL.MAX:"task manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the task manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: d37a6ebb128d4221a34c8d78736ea90b
          name: 'Utilization of trapper data collector processes, in %'
          type: DEPENDENT
          key: process.trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes trapper not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 49a9e3e1b17146f7861daf6994956d4f
              expression: 'avg(/Remote Zabbix proxy health/process.trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"trapper"}'
              name: 'Zabbix proxy: Utilization of trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: a0c56d8570eb4cb39e119fc61d7092d1
          name: 'Utilization of unreachable poller data collector processes, in %'
          type: DEPENDENT
          key: process.unreachable_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the unreachable poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''unreachable poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes unreachable poller not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: e446ec803eaf4ace9b7d1fdc7a89cba6
              expression: 'avg(/Remote Zabbix proxy health/process.unreachable_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.unreachable_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"unreachable poller"}'
              name: 'Zabbix proxy: Utilization of unreachable poller processes is high'
              event_name: 'Zabbix proxy: Utilization of unreachable poller processes over {$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the unreachable poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 54d7e2578b594022ad406b40c9dd57fe
          name: 'Utilization of vmware collector data collector processes, in %'
          type: DEPENDENT
          key: process.vmware_collector.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the vmware collector processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''vmware collector''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes vmware collector not started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 30147687074f45e7ab0dce81a1b7cf07
              expression: 'avg(/Remote Zabbix proxy health/process.vmware_collector.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Remote Zabbix proxy health/process.vmware_collector.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"vmware collector"}'
              name: 'Zabbix proxy: Utilization of vmware collector processes is high'
              event_name: 'Zabbix proxy: Utilization of vmware collector processes over {$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the vmware collector, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 0e27243e5c844357a57a1c32869863a4
          name: 'Proxy memory buffer, % used'
          type: DEPENDENT
          key: proxy_buffer.buffer.pused
          value_type: FLOAT
          units: '%'
          description: |
            Statistics and availability of Zabbix proxy memory buffer usage statistics. Percentage of used proxy memory buffer.
            Proxy memory buffer is used to store the new historical data and upload from it without accessing database.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].memory.pused'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Proxy memory buffer is disabled.'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 4c04e5a21a91485e9562ef951877a5f3
              expression: 'max(/Remote Zabbix proxy health/proxy_buffer.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}'
              name: 'Zabbix proxy: Excessive proxy memory buffer usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}% used in the proxy memory buffer'
              priority: AVERAGE
              description: 'Consider increasing ProxyMemoryBufferSize in the zabbix_proxy.conf configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 4bfed9e5c4b449c490a26ea67f1106cd
          name: 'Proxy buffer, state changes'
          type: DEPENDENT
          key: proxy_buffer.state.changes
          description: 'The number of state changes between disk/memory buffer modes since proxy start.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].[''state change'']'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: ddca62888fab477a84b215812c7bf57d
          name: 'Proxy buffer, state'
          type: DEPENDENT
          key: proxy_buffer.state.current
          description: |
            The current working state of proxy buffer where the new data is being stored. Possible values:
            
              0 - disk (also returned when memory buffer is disabled);
              1 - memory.
          valuemap:
            name: 'Proxy buffer mode'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].state'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: a283182189c4414c9a123f7511603009
          name: 'Zabbix proxy check'
          type: DEPENDENT
          key: proxy_check
          trends: '0'
          description: 'Flag indicating whether it is a proxy or not.'
          valuemap:
            name: 'Zabbix proxy check'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.triggers
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: IN_RANGE
              parameters:
                - ''
                - '0'
              error_handler: CUSTOM_VALUE
              error_handler_params: '1'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 7c54b686ce754537b7f379ec1af4e630
              expression: 'last(/Remote Zabbix proxy health/proxy_check)=1'
              name: 'Zabbix proxy: Wrong template assigned'
              event_name: 'Zabbix proxy: Zabbix proxy template is assigned to Zabbix server'
              priority: DISASTER
              description: 'Check that the template has been selected correctly.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 72dd891d7ced4cefb7de988dadf81f3b
          name: 'Configuration cache, % used'
          type: DEPENDENT
          key: rcache.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix configuration cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.rcache.pused
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 6aaad09f92f3419c9aa7164f2191a45a
              expression: 'max(/Remote Zabbix proxy health/rcache.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}'
              name: 'Zabbix proxy: Excessive configuration cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}% used in the configuration cache'
              priority: AVERAGE
              description: 'Consider increasing `CacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
            - uuid: 2f314a33e06444d88fd99b5442b10a9e
              expression: 'nodata(/Remote Zabbix proxy health/rcache.buffer.pused,{$ZABBIX.PROXY.NODATA_TIMEOUT})=1'
              name: 'Zabbix proxy: Failed to fetch stats data'
              event_name: 'Zabbix proxy: Failed to fetch stats data (or no data for {$ZABBIX.PROXY.NODATA_TIMEOUT})'
              priority: WARNING
              description: 'Zabbix has not received statistics data for `{$ZABBIX.PROXY.NODATA_TIMEOUT}`.'
              tags:
                - tag: scope
                  value: availability
        - uuid: 0df481994c454884b6be2e2132248af7
          name: 'Required VPS'
          type: DEPENDENT
          key: requiredperformance
          value_type: FLOAT
          units: '!vps'
          description: 'The required performance of a proxy (the number of values that need to be collected per second).'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.requiredperformance
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 28d87aef584644e9a3adcde33966b4e1
          name: Uptime
          type: DEPENDENT
          key: uptime
          units: uptime
          description: 'Uptime of the Zabbix proxy process in seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.uptime
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 8940efd3c68b4ded80ea1e89d55dfa7c
              expression: 'last(/Remote Zabbix proxy health/uptime)<10m'
              name: 'Zabbix proxy: {HOST.NAME} has been restarted'
              event_name: 'Zabbix proxy: {HOST.NAME} has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: ba19f24c2e234ac89a12a4a7aceeff93
          name: Version
          type: DEPENDENT
          key: version
          value_type: CHAR
          description: 'The version of Zabbix proxy.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.version
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 224ec99fda0d443cba8a6c75da5a27cb
              expression: 'last(/Remote Zabbix proxy health/version,#1)<>last(/Remote Zabbix proxy health/version,#2) and length(last(/Remote Zabbix proxy health/version))>0'
              name: 'Zabbix proxy: Version has changed'
              event_name: 'Zabbix proxy: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Zabbix proxy version has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 7e6ffd55fe6842219f6e0d3c81ffa309
          name: 'VMware cache, % used'
          type: DEPENDENT
          key: vmware.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix vmware cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.vmware.pused
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No vmware collector processes started'
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: ac2a42046de340e1968802d92678947c
              expression: 'max(/Remote Zabbix proxy health/vmware.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}'
              name: 'Zabbix proxy: Excessive vmware cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}% used in the vmware cache'
              priority: AVERAGE
              description: 'Consider increasing `VMwareCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 2abf18f2a9c9412ca81d615f45d4ca5f
          name: 'History write cache, % used'
          type: DEPENDENT
          key: wcache.history.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history buffer.
            The history cache is used to store item values. A high number indicates database performance problems.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.history.pused
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: c14095c38d17486fa8fde22bd5a9d737
              expression: 'max(/Remote Zabbix proxy health/wcache.history.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history cache"}'
              name: 'Zabbix proxy: Excessive history cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"history cache"}% used in the history cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: a907ff2d6d8e4389b116eb3ec01dacfe
          name: 'History index cache, % used'
          type: DEPENDENT
          key: wcache.index.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history index buffer.
            The history index cache is used to index values stored in the history cache.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.index.pused
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 43f9a4fc049e45e5b8bbb0980b518dd0
              expression: 'max(/Remote Zabbix proxy health/wcache.index.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"index cache"}'
              name: 'Zabbix proxy: Excessive history index cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"index cache"}% used in the history index cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryIndexCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 0238a93001a3438988b9b5cc4cbcc68e
          name: 'Number of processed values per second'
          type: DEPENDENT
          key: wcache.values
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The total number of values processed by Zabbix server or Zabbix proxy, except unsupported items.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.all
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: f20ff449693a479895b7f3b450b93787
          name: 'Number of processed numeric (float) values per second'
          type: DEPENDENT
          key: wcache.values.float
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (float) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.float
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: b20b00f97a424b8e9c69ebb749a94d65
          name: 'Number of processed log values per second'
          type: DEPENDENT
          key: wcache.values.log
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed log values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.log
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 927b1387d969466eba000855837887c7
          name: 'Number of processed not supported values per second'
          type: DEPENDENT
          key: wcache.values.not_supported
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of times the item processing resulted in an item becoming unsupported or remaining in that state.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.values[''not supported'']'
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 334584cfea704011b8ae70436e47e2ff
          name: 'Number of processed character values per second'
          type: DEPENDENT
          key: wcache.values.str
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed character values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.str
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 35b053f8ce89430b989387eb3075b582
          name: 'Number of processed text values per second'
          type: DEPENDENT
          key: wcache.values.text
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed text values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.text
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: c53f480b861249c4a1ca12571faa4487
          name: 'Number of processed numeric (unsigned) values per second'
          type: DEPENDENT
          key: wcache.values.uint
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (unsigned) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.uint
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: c9b9ee0faefd4cefbac32f548539266e
          name: 'Queue over 10 minutes'
          type: INTERNAL
          key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m]'
          description: 'The number of monitored items in the queue that are delayed by at least 10 minutes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 71cd927153ef4b8480a8f13fc6b4def8
              expression: 'min(/Remote Zabbix proxy health/zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m],10m)>100'
              name: 'Zabbix proxy: More than 100 items have been missing data for over 10 minutes'
              priority: WARNING
              description: 'Indicates potential issues with network connectivity, agent failures, or unresponsive monitored resources that require attention.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 128bcd3c019946b593f3256858cf8397
          name: Queue
          type: INTERNAL
          key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
          description: 'The number of monitored items in the queue that are delayed by at least 6 seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
        - uuid: c3d4e015efe7459f8207096a04b296f0
          name: 'Zabbix stats'
          type: INTERNAL
          key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          history: '0'
          value_type: TEXT
          description: 'Zabbix server statistics master item.'
          tags:
            - tag: component
              value: raw
      tags:
        - tag: class
          value: software
        - tag: subclass
          value: logging
        - tag: subclass
          value: monitoring
        - tag: target
          value: proxy
        - tag: target
          value: zabbix
      macros:
        - macro: '{$ZABBIX.PROXY.ADDRESS}'
          description: 'IP/DNS of the remote Zabbix proxy (default is 127.0.0.1).'
          config:
            type: TEXT
            priority: '1'
            label: 'Zabbix proxy Address'
            description: 'IP or DNS of the remote Zabbix proxy from which data should be collected.'
            required: 'YES'
        - macro: '{$ZABBIX.PROXY.NODATA_TIMEOUT}'
          value: 5m
          description: 'The time threshold after which statistics are considered unavailable. Used in trigger expressions.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Time since the last statistic was received'
            description: 'Threshold value of time since the last statistic was received from the remote proxy.'
        - macro: '{$ZABBIX.PROXY.PORT}'
          description: 'Port of the remote Zabbix proxy (default is 10051).'
          config:
            type: TEXT
            priority: '2'
            label: 'Zabbix proxy Port'
            description: 'Port of the remote Zabbix proxy from which data should be collected. In the range from 1 to 65535 inclusive.'
            required: 'YES'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MAX}'
          value: '75'
          description: 'Default maximum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Maximum process utilization percentage'
            description: 'Default maximum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MIN}'
          value: '65'
          description: 'Default minimum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Minimum process utilization percentage'
            description: 'Default minimum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
      dashboards:
        - uuid: cd580518d9d5434296a1ed9701b71a77
          name: 'Remote Zabbix proxy health'
          auto_start: 'NO'
          pages:
            - name: Performance
              widgets:
                - type: svggraph
                  name: 'Cache usage, in %'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: rcache.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.index.pused
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.history.pused
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: vmware.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: proxy_buffer.buffer.pused
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACA
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Server performance'
                  'y': '6'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: 'zabbix[stats,{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACC
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Values processed'
                  'y': '11'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.2
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.3
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.4
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.5
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.uint
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.float
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.not_supported
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.str
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.log
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: wcache.values.text
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACD
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing throughput'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_throughput_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_throughput_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABV
                - type: svggraph
                  name: 'Internal queues'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ffff99
                    - type: STRING
                      name: ds.0.color.1
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_queue
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: discovery_queue
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACB
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing VPS'
                  x: '36'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_vps_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_vps_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABW
            - name: Processes
              widgets:
                - type: svggraph
                  name: 'Utilization: Discovery processes'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 7e57c2
                    - type: STRING
                      name: ds.0.color.1
                      value: 1f78b4
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.discovery_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.discovery_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: discovery_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABH
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Synchronous gathering processes'
                  'y': '6'
                  width: '72'
                  height: '7'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: 17becf
                    - type: STRING
                      name: ds.0.color.5
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.6
                      value: fb9a99
                    - type: STRING
                      name: ds.0.color.7
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.8
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.9
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.internal_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.ipmi_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.ipmi_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.http_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.java_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.6
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.vmware_collector.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.7
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.browser_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.8
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.odbc_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.9
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.icmp_pinger.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABJ
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Asynchronous gathering processes'
                  'y': '13'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.http_agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.snmp_poller.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABK
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Internal processes: Core'
                  'y': '19'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.5
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.configuration_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.history_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.self-monitoring.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.task_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.data_sender.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.housekeeper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '6'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABL
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Gathering processes: Trappers'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.snmp_trapper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABM
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Data exchange with server'
                  'y': '30'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: '000080'
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.data_sender.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABO
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Preprocessing processes'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.1
                      value: 7e57c2
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.preprocessing_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.preprocessing_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.1.fill
                      value: '2'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: preprocessing_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABI
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Availability processes'
                  x: '36'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.1
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.unreachable_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: process.availability_manager.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABN
                    - type: INTEGER
                      name: show_problems
                      value: '1'
            - name: Statuses
              widgets:
                - type: item
                  name: 'Zabbix proxy version'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: version
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: Uptime
                  x: '18'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: uptime
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: 'Proxy buffer state'
                  x: '36'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Remote Zabbix proxy health'
                        key: proxy_buffer.state.current
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
      valuemaps:
        - uuid: 70f06f62852c428b94f1f2447d58a6c8
          name: 'Proxy buffer mode'
          mappings:
            - value: '0'
              newvalue: Disk
            - value: '1'
              newvalue: Memory
        - uuid: d9fa93ed96d1497c9049f8f30267e9ed
          name: 'Zabbix proxy check'
          mappings:
            - value: '0'
              newvalue: 'True'
            - value: '1'
              newvalue: 'False'
    - uuid: 8cd15d3b39654eb7b7423e6b109037b2
      template: 'Zabbix proxy health by Zabbix agent'
      name: 'Zabbix proxy health by Zabbix agent'
      description: |
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy via the passive Zabbix agent.
        
        Specify the address of the remote Zabbix proxy by changing the {$ZABBIX.PROXY.ADDRESS} and {$ZABBIX.PROXY.PORT} macros. Don't forget to adjust the "StatsAllowedIP" parameter in the remote proxy's configuration file to allow the collection of statistics.
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy via the passive Zabbix agent.
        
        ## Setup
        
        Specify the address of the remote Zabbix proxy as the values for the `Zabbix proxy Address` and `Zabbix proxy Port` configuration fields. Don't forget to adjust the `StatsAllowedIP` parameter in the remote proxy's configuration file to allow the collection of statistics.
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: Templates/Applications
      items:
        - uuid: 8846a48c4acc4224a4e773469c159968
          name: 'Discovery queue'
          type: DEPENDENT
          key: discovery_queue
          description: 'The count of values enqueued in the discovery queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.discovery_queue
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discoverer" processes started. Please check "StartDiscoverers" parameter in the server configuration file.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 7ace08ac0d134dbd8e38f0eed7832006
          name: 'Preprocessing queue'
          type: DEPENDENT
          key: preprocessing_queue
          description: 'The number of values enqueued in the preprocessing queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing_queue
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: d910dadfc937429a83dd4d83ea1e9596
          name: 'Preprocessing direct throughput'
          type: DEPENDENT
          key: preprocessing_throughput_direct
          value_type: FLOAT
          units: Bps
          description: 'Reflects the direct throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: da3bb292d0f645358a7e7629386e7029
          name: 'Preprocessing queued throughput'
          type: DEPENDENT
          key: preprocessing_throughput_queued
          value_type: FLOAT
          units: Bps
          description: 'Reflects the queued throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: bfd2eefae1ed42c598658376f0c00863
          name: 'Preprocessing direct VPS'
          type: DEPENDENT
          key: preprocessing_vps_direct
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of direct preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 274bd50bfd174e1299c58b4787b80920
          name: 'Preprocessing queued VPS'
          type: DEPENDENT
          key: preprocessing_vps_queued
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of queued preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: a312044e08a84606b1cff94b32b7869b
          name: 'Utilization of agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes agent poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 2bc7af614177457381d7dac14073b167
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"agent poller"}'
              name: 'Zabbix proxy: Utilization of agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 61d39ded8711431285a6fbc083d8caed
          name: 'Utilization of availability manager internal processes, in %'
          type: DEPENDENT
          key: process.availability_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the availability manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''availability manager''].busy.avg'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: b93bf2d4f9094eefa462588f4121f339
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.availability_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"availability manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.availability_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"availability manager"}'
              name: 'Zabbix proxy: Utilization of availability manager processes is high'
              event_name: 'Zabbix proxy: Utilization of availability manager processes over {$ZABBIX.PROXY.UTIL.MAX:"availability manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the availability manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 6e0797f6789c4185a10e308428137582
          name: 'Utilization of browser poller data collector processes, in %'
          type: DEPENDENT
          key: process.browser_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the browser poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''browser poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "browser poller" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: edc46311472f4d26a08989a1cc5fc4ad
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.browser_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"browser poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.browser_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"browser poller"}'
              name: 'Zabbix proxy: Utilization of browser poller processes is high'
              event_name: 'Zabbix proxy: Utilization of browser poller processes over {$ZABBIX.PROXY.UTIL.MAX:"browser poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the browser poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 0ee53f651442409990eb622b564a2775
          name: 'Utilization of configuration syncer internal processes, in %'
          type: DEPENDENT
          key: process.configuration_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the configuration syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''configuration syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes configuration syncer not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: fdbac62718014e8ba5b9663ecd2c87cf
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.configuration_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.configuration_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"configuration syncer"}'
              name: 'Zabbix proxy: Utilization of configuration syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of configuration syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the configuration syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 013e6f87c56c4a579458feeba5691be6
          name: 'Utilization of data sender internal processes, in %'
          type: DEPENDENT
          key: process.data_sender.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the data sender processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''data sender''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes data sender not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 638a37f1268d4545bd037b88eb0f46b5
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.data_sender.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"data sender"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.data_sender.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"data sender"}'
              name: 'Zabbix proxy: Utilization of data sender processes is high'
              event_name: 'Zabbix proxy: Utilization of data sender processes over {$ZABBIX.PROXY.UTIL.MAX:"data sender"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the data sender, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 2fafb029d58546c3a6deabd4038e76cd
          name: 'Utilization of discovery manager internal processes, in %'
          type: DEPENDENT
          key: process.discovery_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery manager" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: e4a34e7e45964602a329c04bedf0be11
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.discovery_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.discovery_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery manager"}'
              name: 'Zabbix proxy: Utilization of discovery manager processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery manager processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: b244b8cb318546c19b83b0af3b0bb093
          name: 'Utilization of discovery worker internal processes, in %'
          type: DEPENDENT
          key: process.discovery_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery worker" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: afd226d5a01c444bbe7ec7cc8e890385
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.discovery_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.discovery_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery worker"}'
              name: 'Zabbix proxy: Utilization of discovery worker processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery worker processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 32359f807d68434d83ee667da762b1c8
          name: 'Utilization of history syncer internal processes, in %'
          type: DEPENDENT
          key: process.history_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the history syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''history syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes history syncer not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: edc13a63baa94f898c5b90cffd568725
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.history_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.history_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"history syncer"}'
              name: 'Zabbix proxy: Utilization of history syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of history syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"history syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the history syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 52bcf9b7c2ae4787887bbd650b10105a
          name: 'Utilization of housekeeper internal processes, in %'
          type: DEPENDENT
          key: process.housekeeper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the housekeeper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''housekeeper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes housekeeper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 6db57127f7b74e3293be2942442665a5
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.housekeeper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.housekeeper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"housekeeper"}'
              name: 'Zabbix proxy: Utilization of housekeeper processes is high'
              event_name: 'Zabbix proxy: Utilization of housekeeper processes over {$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the housekeeper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 5913d66abf674eb0a73f8e1821b41b5b
          name: 'Utilization of http agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http agent poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 2e968911946b437da198218d0c9c53d7
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.http_agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.http_agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http agent poller"}'
              name: 'Zabbix proxy: Utilization of http agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: d473cf000bd94347ac6326209e9b1cb6
          name: 'Utilization of http poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: a968792590324fd88c887619859b6aaa
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.http_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.http_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http poller"}'
              name: 'Zabbix proxy: Utilization of http poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: fb0cd69bbafd45068e1429ab891a89d9
          name: 'Utilization of icmp pinger data collector processes, in %'
          type: DEPENDENT
          key: process.icmp_pinger.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the icmp pinger processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''icmp pinger''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes icmp pinger not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 4accc46c86674786a09962d2ba865fad
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.icmp_pinger.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.icmp_pinger.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"icmp pinger"}'
              name: 'Zabbix proxy: Utilization of icmp pinger processes is high'
              event_name: 'Zabbix proxy: Utilization of icmp pinger processes over {$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the icmp pinger, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 91eb0701b6a54ccd955f67223b64e84c
          name: 'Utilization of internal poller data collector processes, in %'
          type: DEPENDENT
          key: process.internal_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the internal poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''internal poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "internal poller" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: eb18c6abd7244d1b9addd5c0c411eef4
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.internal_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"internal poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.internal_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"internal poller"}'
              name: 'Zabbix proxy: Utilization of internal poller processes is high'
              event_name: 'Zabbix proxy: Utilization of internal poller processes over {$ZABBIX.PROXY.UTIL.MAX:"internal poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the internal poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 6baa5907fc4747d2ba5b0095c12fbe9d
          name: 'Utilization of ipmi manager internal processes, in %'
          type: DEPENDENT
          key: process.ipmi_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 8b7ba23a9571419985996aaa5545c093
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.ipmi_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.ipmi_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi manager"}'
              name: 'Zabbix proxy: Utilization of ipmi manager processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi manager processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 842f2465e5614597be977fdb7b72ba63
          name: 'Utilization of ipmi poller data collector processes, in %'
          type: DEPENDENT
          key: process.ipmi_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: f108f03ff3174bf0be5bab5f8dd3edd9
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.ipmi_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.ipmi_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi poller"}'
              name: 'Zabbix proxy: Utilization of ipmi poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 0a4560d7e2ca4c1a88997d2353fd624c
          name: 'Utilization of java poller data collector processes, in %'
          type: DEPENDENT
          key: process.java_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the java poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''java poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes java poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 6e21610d53534d17a46e82ba77d94839
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.java_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"java poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.java_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"java poller"}'
              name: 'Zabbix proxy: Utilization of java poller processes is high'
              event_name: 'Zabbix proxy: Utilization of java poller processes over {$ZABBIX.PROXY.UTIL.MAX:"java poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the java poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: a3d0a85f9e9b4c59b5d8165a8f390ff1
          name: 'Utilization of ODBC poller data collector processes, in %'
          type: DEPENDENT
          key: process.odbc_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ODBC poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''odbc poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes odbc poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: f792aff9eafc495e82717b11e15c61eb
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.odbc_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.odbc_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ODBC poller"}'
              name: 'Zabbix proxy: Utilization of ODBC poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ODBC poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ODBC poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 459a5b2aba7e43638dd151d32b7b5244
          name: 'Utilization of poller data collector processes, in %'
          type: DEPENDENT
          key: process.poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: b0e501fd7ee44bfb8e4b76b8ed3f7bcf
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"poller"}'
              name: 'Zabbix proxy: Utilization of poller processes is high'
              event_name: 'Zabbix proxy: Utilization of poller processes over {$ZABBIX.PROXY.UTIL.MAX:"poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 4378cc82528d46d8be81f99e0e7e7f23
          name: 'Utilization of preprocessing manager internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 16d99a3deb574313ac1c9d3514b2174e
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.preprocessing_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.preprocessing_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing manager"}'
              name: 'Zabbix proxy: Utilization of preprocessing manager processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing manager processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: a8700cc1c2f8486fa09a90f19bbd877e
          name: 'Utilization of preprocessing worker internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing worker not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 44b4036596a648249665be9bdaf99001
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.preprocessing_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.preprocessing_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing worker"}'
              name: 'Zabbix proxy: Utilization of preprocessing worker processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing worker processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 362cff08ec00461795dd514cf1757360
          name: 'Utilization of self-monitoring internal processes, in %'
          type: DEPENDENT
          key: process.self-monitoring.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the self-monitoring processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''self-monitoring''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes self-monitoring not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: bf4a1a0d24da4929afd8ef77cc8e0aee
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.self-monitoring.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.self-monitoring.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"self-monitoring"}'
              name: 'Zabbix proxy: Utilization of self-monitoring processes is high'
              event_name: 'Zabbix proxy: Utilization of self-monitoring processes over {$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the self-monitoring, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: a2dd22ed51df44ae86f86555dc3ba3c2
          name: 'Utilization of snmp poller data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 3fab2971d5eb46d8953bc34af262eef7
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.snmp_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.snmp_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp poller"}'
              name: 'Zabbix proxy: Utilization of snmp poller processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp poller processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 48204005c3ec441e990e132caa4968a0
          name: 'Utilization of snmp trapper data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp trapper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: c67d6cf7bb414ba5bf5e295323ceca3e
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.snmp_trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.snmp_trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp trapper"}'
              name: 'Zabbix proxy: Utilization of snmp trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 919f3c24e8bf4099aabd25a843613f35
          name: 'Utilization of task manager internal processes, in %'
          type: DEPENDENT
          key: process.task_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the task manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''task manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes task manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: fbba9326edf24178b4ef43de4c545fcc
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.task_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"task manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.task_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"task manager"}'
              name: 'Zabbix proxy: Utilization of task manager processes is high'
              event_name: 'Zabbix proxy: Utilization of task manager processes over {$ZABBIX.PROXY.UTIL.MAX:"task manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the task manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: a5ef0fec5c864de98519e340d2d182bb
          name: 'Utilization of trapper data collector processes, in %'
          type: DEPENDENT
          key: process.trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes trapper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 7ab1c8f1b661480da56f12d7e9df525d
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"trapper"}'
              name: 'Zabbix proxy: Utilization of trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 2455887b313847d39d318078b29120e7
          name: 'Utilization of unreachable poller data collector processes, in %'
          type: DEPENDENT
          key: process.unreachable_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the unreachable poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''unreachable poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes unreachable poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 0dd4fe44dd7c45a589b95af7410e44e1
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.unreachable_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.unreachable_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"unreachable poller"}'
              name: 'Zabbix proxy: Utilization of unreachable poller processes is high'
              event_name: 'Zabbix proxy: Utilization of unreachable poller processes over {$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the unreachable poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 2bea24eb5d8d42b48049e340ea385aad
          name: 'Utilization of vmware collector data collector processes, in %'
          type: DEPENDENT
          key: process.vmware_collector.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the vmware collector processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''vmware collector''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes vmware collector not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: e4c5051b01aa4c3bbad9237e7c593308
              expression: 'avg(/Zabbix proxy health by Zabbix agent/process.vmware_collector.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent/process.vmware_collector.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"vmware collector"}'
              name: 'Zabbix proxy: Utilization of vmware collector processes is high'
              event_name: 'Zabbix proxy: Utilization of vmware collector processes over {$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the vmware collector, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: c98b4b21c1744546898dbb8b1dfead42
          name: 'Proxy memory buffer, % used'
          type: DEPENDENT
          key: proxy_buffer.buffer.pused
          value_type: FLOAT
          units: '%'
          description: |
            Statistics and availability of Zabbix proxy memory buffer usage statistics. Percentage of used proxy memory buffer.
            Proxy memory buffer is used to store the new historical data and upload from it without accessing database.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].memory.pused'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Proxy memory buffer is disabled.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: c784f7f231c34461a63d0a5cb2ce4a45
              expression: 'max(/Zabbix proxy health by Zabbix agent/proxy_buffer.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}'
              name: 'Zabbix proxy: Excessive proxy memory buffer usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}% used in the proxy memory buffer'
              priority: AVERAGE
              description: 'Consider increasing ProxyMemoryBufferSize in the zabbix_proxy.conf configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 0f120fc684234c9a9ee5a9f6666f3413
          name: 'Proxy buffer, state changes'
          type: DEPENDENT
          key: proxy_buffer.state.changes
          description: 'The number of state changes between disk/memory buffer modes since proxy start.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].[''state change'']'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 38bfb3b653914ca2add4bc219d50dc32
          name: 'Proxy buffer, state'
          type: DEPENDENT
          key: proxy_buffer.state.current
          description: |
            The current working state of proxy buffer where the new data is being stored. Possible values:
            
              0 - disk (also returned when memory buffer is disabled);
              1 - memory.
          valuemap:
            name: 'Proxy buffer mode'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].state'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 562d546ed5e8413b8c756b3b47a4f720
          name: 'Zabbix proxy check'
          type: DEPENDENT
          key: proxy_check
          trends: '0'
          description: 'Flag indicating whether it is a proxy or not.'
          valuemap:
            name: 'Zabbix proxy check'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.triggers
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: IN_RANGE
              parameters:
                - ''
                - '0'
              error_handler: CUSTOM_VALUE
              error_handler_params: '1'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 315fc2009a02420cbe059ac199171d6d
              expression: 'last(/Zabbix proxy health by Zabbix agent/proxy_check)=1'
              name: 'Zabbix proxy: Wrong template assigned'
              event_name: 'Zabbix proxy: Zabbix proxy template is assigned to Zabbix server'
              priority: DISASTER
              description: 'Check that the template has been selected correctly.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 06aa2a793fa3415281aefdf937e5ddee
          name: 'Configuration cache, % used'
          type: DEPENDENT
          key: rcache.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix configuration cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.rcache.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 523f092b9f8b41f9b652eeb7fdafe40c
              expression: 'max(/Zabbix proxy health by Zabbix agent/rcache.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}'
              name: 'Zabbix proxy: Excessive configuration cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}% used in the configuration cache'
              priority: AVERAGE
              description: 'Consider increasing `CacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
            - uuid: 013a980007284540964d72be2de27a0d
              expression: 'nodata(/Zabbix proxy health by Zabbix agent/rcache.buffer.pused,{$ZABBIX.PROXY.NODATA_TIMEOUT})=1'
              name: 'Zabbix proxy: Failed to fetch stats data'
              event_name: 'Zabbix proxy: Failed to fetch stats data (or no data for {$ZABBIX.PROXY.NODATA_TIMEOUT})'
              priority: WARNING
              description: 'Zabbix has not received statistics data for `{$ZABBIX.PROXY.NODATA_TIMEOUT}`.'
              tags:
                - tag: scope
                  value: availability
        - uuid: b2446bae74174e25b0cca1f32aef8553
          name: 'Required VPS'
          type: DEPENDENT
          key: requiredperformance
          value_type: FLOAT
          units: '!vps'
          description: 'The required performance of a proxy (the number of values that need to be collected per second).'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.requiredperformance
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 1c36d8e963a64ee1aa93a1a9568370a3
          name: Uptime
          type: DEPENDENT
          key: uptime
          units: uptime
          description: 'Uptime of the Zabbix proxy process in seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.uptime
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 187bc575a0a14bbc84ad86225ddbcb61
              expression: 'last(/Zabbix proxy health by Zabbix agent/uptime)<10m'
              name: 'Zabbix proxy: {HOST.NAME} has been restarted'
              event_name: 'Zabbix proxy: {HOST.NAME} has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: fe584f47643f4ae8be825c00854719ad
          name: Version
          type: DEPENDENT
          key: version
          value_type: CHAR
          description: 'The version of Zabbix proxy.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.version
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 0a95e8c307074bc4ba9f55d9f172ff0a
              expression: 'last(/Zabbix proxy health by Zabbix agent/version,#1)<>last(/Zabbix proxy health by Zabbix agent/version,#2) and length(last(/Zabbix proxy health by Zabbix agent/version))>0'
              name: 'Zabbix proxy: Version has changed'
              event_name: 'Zabbix proxy: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Zabbix proxy version has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: c41ad12215a94aca827b31c427f8f2e1
          name: 'VMware cache, % used'
          type: DEPENDENT
          key: vmware.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix vmware cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.vmware.pused
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No vmware collector processes started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 04c4161b994046fe9d657da0a5a1c3db
              expression: 'max(/Zabbix proxy health by Zabbix agent/vmware.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}'
              name: 'Zabbix proxy: Excessive vmware cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}% used in the vmware cache'
              priority: AVERAGE
              description: 'Consider increasing `VMwareCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 735347973ba04edd8f930ffafd81ee6d
          name: 'History write cache, % used'
          type: DEPENDENT
          key: wcache.history.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history buffer.
            The history cache is used to store item values. A high number indicates database performance problems.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.history.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 042eaacf59f74383b29c0a8130ae4b16
              expression: 'max(/Zabbix proxy health by Zabbix agent/wcache.history.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history cache"}'
              name: 'Zabbix proxy: Excessive history cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"history cache"}% used in the history cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 248bb7f1ab5546ccaa0fdc529e746e04
          name: 'History index cache, % used'
          type: DEPENDENT
          key: wcache.index.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history index buffer.
            The history index cache is used to index values stored in the history cache.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.index.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: fa7be5e77ff04e728db5ee0369708dde
              expression: 'max(/Zabbix proxy health by Zabbix agent/wcache.index.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"index cache"}'
              name: 'Zabbix proxy: Excessive history index cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"index cache"}% used in the history index cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryIndexCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 1006c5bf5fbc47c1a367f74d29e72257
          name: 'Number of processed values per second'
          type: DEPENDENT
          key: wcache.values
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The total number of values processed by Zabbix server or Zabbix proxy, except unsupported items.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.all
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 0117f333d91846fbb10d4941a258ec5b
          name: 'Number of processed numeric (float) values per second'
          type: DEPENDENT
          key: wcache.values.float
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (float) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.float
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: fae6ad936ab94641a6e0446a5dbe2e3a
          name: 'Number of processed log values per second'
          type: DEPENDENT
          key: wcache.values.log
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed log values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.log
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 49e235b0e2514255bf395db06df1660a
          name: 'Number of processed not supported values per second'
          type: DEPENDENT
          key: wcache.values.not_supported
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of times the item processing resulted in an item becoming unsupported or remaining in that state.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.values[''not supported'']'
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 505ac45e931b45959df5b78524fe7916
          name: 'Number of processed character values per second'
          type: DEPENDENT
          key: wcache.values.str
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed character values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.str
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 4e293845715644c199b295f3701c553e
          name: 'Number of processed text values per second'
          type: DEPENDENT
          key: wcache.values.text
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed text values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.text
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 53811a399df5460eae32ea7fbbd3ae3c
          name: 'Number of processed numeric (unsigned) values per second'
          type: DEPENDENT
          key: wcache.values.uint
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (unsigned) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.uint
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: d4da5073f23d47c1adc55b30117bb1e0
          name: 'Queue over 10 minutes'
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m]'
          description: 'The number of monitored items in the queue that are delayed by at least 10 minutes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 73460db4082c4feaac254b6ed790045a
              expression: 'min(/Zabbix proxy health by Zabbix agent/zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m],10m)>100'
              name: 'Zabbix proxy: More than 100 items have been missing data for over 10 minutes'
              priority: WARNING
              description: 'Indicates potential issues with network connectivity, agent failures, or unresponsive monitored resources that require attention.'
              tags:
                - tag: scope
                  value: performance
        - uuid: b05149cb78b44bc08ccd72b58a34aded
          name: Queue
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
          description: 'The number of monitored items in the queue that are delayed by at least 6 seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
        - uuid: 32495fbb4c6642378a5871323b11cb08
          name: 'Zabbix stats'
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          history: '0'
          value_type: TEXT
          description: 'The master item of Zabbix proxy statistics.'
          tags:
            - tag: component
              value: raw
      tags:
        - tag: class
          value: software
        - tag: subclass
          value: logging
        - tag: subclass
          value: monitoring
        - tag: target
          value: proxy
        - tag: target
          value: zabbix
      macros:
        - macro: '{$ZABBIX.PROXY.ADDRESS}'
          description: 'IP/DNS of the remote Zabbix proxy (default is 127.0.0.1).'
          config:
            type: TEXT
            priority: '1'
            label: 'Zabbix proxy Address'
            description: 'IP or DNS of the remote Zabbix proxy that should be monitored via the Zabbix agent.'
            required: 'YES'
        - macro: '{$ZABBIX.PROXY.NODATA_TIMEOUT}'
          value: 5m
          description: 'The time threshold after which statistics are considered unavailable. Used in trigger expressions.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Time since the last statistic was received'
            description: 'Threshold value of time since the last statistic was received from the remote proxy.'
        - macro: '{$ZABBIX.PROXY.PORT}'
          description: 'Port of the remote Zabbix proxy (default is 10051).'
          config:
            type: TEXT
            priority: '2'
            label: 'Zabbix proxy Port'
            description: 'Port of the remote Zabbix proxy that should be monitored via the Zabbix agent. In the range from 1 to 65535 inclusive.'
            required: 'YES'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MAX}'
          value: '75'
          description: 'Default maximum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Maximum process utilization percentage'
            description: 'Default maximum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MIN}'
          value: '65'
          description: 'Default minimum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Minimum process utilization percentage'
            description: 'Default minimum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
      dashboards:
        - uuid: 707ef24a70ff433eb28a70cd0f78bf66
          name: 'Zabbix proxy health'
          auto_start: 'NO'
          pages:
            - name: Performance
              widgets:
                - type: svggraph
                  name: 'Cache usage, in %'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: rcache.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.index.pused
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.history.pused
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: vmware.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: proxy_buffer.buffer.pused
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACA
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Server performance'
                  'y': '6'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACC
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Values processed'
                  'y': '11'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.2
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.3
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.4
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.5
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.uint
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.float
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.not_supported
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.str
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.log
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: wcache.values.text
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACD
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing throughput'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_throughput_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_throughput_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABV
                - type: svggraph
                  name: 'Internal queues'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ffff99
                    - type: STRING
                      name: ds.0.color.1
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_queue
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: discovery_queue
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACB
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing VPS'
                  x: '36'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_vps_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_vps_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABW
            - name: Processes
              widgets:
                - type: svggraph
                  name: 'Utilization: Discovery processes'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 7e57c2
                    - type: STRING
                      name: ds.0.color.1
                      value: 1f78b4
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.discovery_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.discovery_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: discovery_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABH
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Synchronous gathering processes'
                  'y': '6'
                  width: '72'
                  height: '7'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: 17becf
                    - type: STRING
                      name: ds.0.color.5
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.6
                      value: fb9a99
                    - type: STRING
                      name: ds.0.color.7
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.8
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.9
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.internal_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.ipmi_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.ipmi_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.http_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.java_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.6
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.vmware_collector.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.7
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.browser_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.8
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.odbc_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.9
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.icmp_pinger.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABJ
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Asynchronous gathering processes'
                  'y': '13'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.http_agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.snmp_poller.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABK
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Internal processes: Core'
                  'y': '19'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.5
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.configuration_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.history_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.self-monitoring.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.task_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.data_sender.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.housekeeper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '6'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABL
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Gathering processes: Trappers'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.snmp_trapper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABM
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Data exchange with server'
                  'y': '30'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: '000080'
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.data_sender.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABO
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Preprocessing processes'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.1
                      value: 7e57c2
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.preprocessing_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.preprocessing_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.1.fill
                      value: '2'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: preprocessing_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABI
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Availability processes'
                  x: '36'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.1
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.unreachable_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: process.availability_manager.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABN
                    - type: INTEGER
                      name: show_problems
                      value: '1'
            - name: Statuses
              widgets:
                - type: item
                  name: 'Zabbix proxy version'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: version
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: Uptime
                  x: '18'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: uptime
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: 'Proxy buffer state'
                  x: '36'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent'
                        key: proxy_buffer.state.current
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
      valuemaps:
        - uuid: 22c73bf5429d4e9baf358fe6c177a033
          name: 'Proxy buffer mode'
          mappings:
            - value: '0'
              newvalue: Disk
            - value: '1'
              newvalue: Memory
        - uuid: 942633fa91474837afc5ce050cb86cb4
          name: 'Zabbix proxy check'
          mappings:
            - value: '0'
              newvalue: 'True'
            - value: '1'
              newvalue: 'False'
    - uuid: 02aac022a62c48bba810d07bbaa712cc
      template: 'Zabbix proxy health by Zabbix agent active'
      name: 'Zabbix proxy health by Zabbix agent active'
      description: |
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy via the active Zabbix agent.
        
        Specify the address of the remote Zabbix proxy by changing the {$ZABBIX.PROXY.ADDRESS} and {$ZABBIX.PROXY.PORT} macros. Don't forget to adjust the "StatsAllowedIP" parameter in the remote proxy's configuration file to allow the collection of statistics.
        
        Generated by official Zabbix template tool "Templator"
      wizard_ready: 'YES'
      readme: |
        ## Overview
        
        This template is designed to monitor internal Zabbix metrics on the remote Zabbix proxy via the active Zabbix agent.
        
        ## Setup
        
        Specify the address of the remote Zabbix proxy as the values for the `Zabbix proxy Address` and `Zabbix proxy Port` configuration fields. Don't forget to adjust the `StatsAllowedIP` parameter in the remote proxy's configuration file to allow the collection of statistics.
      vendor:
        name: Zabbix
        version: 8.0-2
      groups:
        - name: Templates/Applications
      items:
        - uuid: 19639a8badd8427580ca4ef1a3f3e037
          name: 'Discovery queue'
          type: DEPENDENT
          key: discovery_queue
          description: 'The count of values enqueued in the discovery queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.discovery_queue
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discoverer" processes started. Please check "StartDiscoverers" parameter in the server configuration file.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: b8bba41ac6fb47b987d4b50363b5682e
          name: 'Preprocessing queue'
          type: DEPENDENT
          key: preprocessing_queue
          description: 'The number of values enqueued in the preprocessing queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing_queue
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 3e1694c299ac40e79729b490402b8cf6
          name: 'Preprocessing direct throughput'
          type: DEPENDENT
          key: preprocessing_throughput_direct
          value_type: FLOAT
          units: Bps
          description: 'Reflects the direct throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 35d405920f4e4c0cb5b731e3cbbef1ee
          name: 'Preprocessing queued throughput'
          type: DEPENDENT
          key: preprocessing_throughput_queued
          value_type: FLOAT
          units: Bps
          description: 'Reflects the queued throughput of the preprocessing.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.size
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: cdcfe3d536ea4648a8f39e15cc19e9bf
          name: 'Preprocessing direct VPS'
          type: DEPENDENT
          key: preprocessing_vps_direct
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of direct preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.direct.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 066b91a9049e4ce9b8680dc36ff8cf87
          name: 'Preprocessing queued VPS'
          type: DEPENDENT
          key: preprocessing_vps_queued
          value_type: FLOAT
          units: '!vps'
          description: 'Reflects the count of queued preprocessing values per second.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.preprocessing.queued.count
              error_handler: DISCARD_VALUE
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: defab1c17e114e8d9a752579036b42dd
          name: 'Utilization of agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes agent poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 781f2b17fc384acebdcbb008a3f24bc1
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"agent poller"}'
              name: 'Zabbix proxy: Utilization of agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 5212844ce04048a08d7c88f9d914b4c6
          name: 'Utilization of availability manager internal processes, in %'
          type: DEPENDENT
          key: process.availability_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the availability manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''availability manager''].busy.avg'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 60c4627e26e24f5583b13ac51c652bb6
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.availability_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"availability manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.availability_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"availability manager"}'
              name: 'Zabbix proxy: Utilization of availability manager processes is high'
              event_name: 'Zabbix proxy: Utilization of availability manager processes over {$ZABBIX.PROXY.UTIL.MAX:"availability manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the availability manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: d54d7e00c2b547c891d56fd11791673c
          name: 'Utilization of browser poller data collector processes, in %'
          type: DEPENDENT
          key: process.browser_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the browser poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''browser poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "browser poller" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 9ceb9623900f4fd097c96be779088a1a
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.browser_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"browser poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.browser_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"browser poller"}'
              name: 'Zabbix proxy: Utilization of browser poller processes is high'
              event_name: 'Zabbix proxy: Utilization of browser poller processes over {$ZABBIX.PROXY.UTIL.MAX:"browser poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the browser poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: bc6b359fb245474ab52a2f07a4fd130b
          name: 'Utilization of configuration syncer internal processes, in %'
          type: DEPENDENT
          key: process.configuration_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the configuration syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''configuration syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes configuration syncer not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 4fc6ad715b6d4eea89c47e9a80cc1bd2
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.configuration_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.configuration_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"configuration syncer"}'
              name: 'Zabbix proxy: Utilization of configuration syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of configuration syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"configuration syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the configuration syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: d6dbae1eb33f4235807462e0043fe89c
          name: 'Utilization of data sender internal processes, in %'
          type: DEPENDENT
          key: process.data_sender.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the data sender processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''data sender''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes data sender not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 53a13b3f8ae746a5aa698c48beeb782f
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.data_sender.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"data sender"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.data_sender.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"data sender"}'
              name: 'Zabbix proxy: Utilization of data sender processes is high'
              event_name: 'Zabbix proxy: Utilization of data sender processes over {$ZABBIX.PROXY.UTIL.MAX:"data sender"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the data sender, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 02289431d3634e80931617d145759057
          name: 'Utilization of discovery manager internal processes, in %'
          type: DEPENDENT
          key: process.discovery_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery manager" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: ac5583b00510498ea9f0cf75835dc8c9
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.discovery_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.discovery_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery manager"}'
              name: 'Zabbix proxy: Utilization of discovery manager processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery manager processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 67edf3a9ef824014be826ea4cc13d7ae
          name: 'Utilization of discovery worker internal processes, in %'
          type: DEPENDENT
          key: process.discovery_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the discovery worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''discovery worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "discovery worker" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 2368cc40dca345dc81b4e06f6c652f5a
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.discovery_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.discovery_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"discovery worker"}'
              name: 'Zabbix proxy: Utilization of discovery worker processes is high'
              event_name: 'Zabbix proxy: Utilization of discovery worker processes over {$ZABBIX.PROXY.UTIL.MAX:"discovery worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the discovery worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: beaa4c6f193e4dfcbd1988319156a2c8
          name: 'Utilization of history syncer internal processes, in %'
          type: DEPENDENT
          key: process.history_syncer.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the history syncer processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''history syncer''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes history syncer not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: f56becd9ed784dcf9f97fa703269b46e
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.history_syncer.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history syncer"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.history_syncer.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"history syncer"}'
              name: 'Zabbix proxy: Utilization of history syncer processes is high'
              event_name: 'Zabbix proxy: Utilization of history syncer processes over {$ZABBIX.PROXY.UTIL.MAX:"history syncer"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the history syncer, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 00ea59e1231947a5b16312326906d3a8
          name: 'Utilization of housekeeper internal processes, in %'
          type: DEPENDENT
          key: process.housekeeper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the housekeeper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''housekeeper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes housekeeper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: f81451219df048ce92a35b9673548358
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.housekeeper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.housekeeper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"housekeeper"}'
              name: 'Zabbix proxy: Utilization of housekeeper processes is high'
              event_name: 'Zabbix proxy: Utilization of housekeeper processes over {$ZABBIX.PROXY.UTIL.MAX:"housekeeper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the housekeeper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: fed4a2ec074748c5acc8d027156257ae
          name: 'Utilization of http agent poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_agent_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http agent poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http agent poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http agent poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: b0bd0d9770fc4276be324b97150c691c
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.http_agent_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.http_agent_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http agent poller"}'
              name: 'Zabbix proxy: Utilization of http agent poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http agent poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http agent poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http agent poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 92372873a1724cb9a02e0472d0662483
          name: 'Utilization of http poller data collector processes, in %'
          type: DEPENDENT
          key: process.http_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the http poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''http poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes http poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 43b21d9aff8441cba1c0db97e7b193e0
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.http_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"http poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.http_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"http poller"}'
              name: 'Zabbix proxy: Utilization of http poller processes is high'
              event_name: 'Zabbix proxy: Utilization of http poller processes over {$ZABBIX.PROXY.UTIL.MAX:"http poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the http poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 7f031eb8ecef40ba853054c471fe7b0a
          name: 'Utilization of icmp pinger data collector processes, in %'
          type: DEPENDENT
          key: process.icmp_pinger.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the icmp pinger processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''icmp pinger''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes icmp pinger not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 417d421e076342e5b38ab7a925dc7ee6
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.icmp_pinger.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.icmp_pinger.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"icmp pinger"}'
              name: 'Zabbix proxy: Utilization of icmp pinger processes is high'
              event_name: 'Zabbix proxy: Utilization of icmp pinger processes over {$ZABBIX.PROXY.UTIL.MAX:"icmp pinger"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the icmp pinger, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 39209185bab1415a9a12b70be0e568f9
          name: 'Utilization of internal poller data collector processes, in %'
          type: DEPENDENT
          key: process.internal_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the internal poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''internal poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No "internal poller" processes started.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 60dacadac60641789e7f8eb2a6441498
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.internal_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"internal poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.internal_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"internal poller"}'
              name: 'Zabbix proxy: Utilization of internal poller processes is high'
              event_name: 'Zabbix proxy: Utilization of internal poller processes over {$ZABBIX.PROXY.UTIL.MAX:"internal poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the internal poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 6b5f54fc00dc456e98c1669d49d84b59
          name: 'Utilization of ipmi manager internal processes, in %'
          type: DEPENDENT
          key: process.ipmi_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 773bcda0a0d44428bd66f619df41a94d
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.ipmi_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.ipmi_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi manager"}'
              name: 'Zabbix proxy: Utilization of ipmi manager processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi manager processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: aa601feb9b97499995b8abfe1a001029
          name: 'Utilization of ipmi poller data collector processes, in %'
          type: DEPENDENT
          key: process.ipmi_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ipmi poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''ipmi poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes ipmi poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 520d3b11a75c42cd911ec3e8639c7325
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.ipmi_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.ipmi_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ipmi poller"}'
              name: 'Zabbix proxy: Utilization of ipmi poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ipmi poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ipmi poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ipmi poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 081941c3f18743c2b62217b84e8421a1
          name: 'Utilization of java poller data collector processes, in %'
          type: DEPENDENT
          key: process.java_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the java poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''java poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes java poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 48c63db097c94a52a13cfea9d53a5d6e
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.java_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"java poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.java_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"java poller"}'
              name: 'Zabbix proxy: Utilization of java poller processes is high'
              event_name: 'Zabbix proxy: Utilization of java poller processes over {$ZABBIX.PROXY.UTIL.MAX:"java poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the java poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: af2a9d4b24084528bfe60204ca385fcd
          name: 'Utilization of ODBC poller data collector processes, in %'
          type: DEPENDENT
          key: process.odbc_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the ODBC poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''odbc poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes odbc poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: d3d1b01114b14de1b5a432fb574713f1
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.odbc_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.odbc_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"ODBC poller"}'
              name: 'Zabbix proxy: Utilization of ODBC poller processes is high'
              event_name: 'Zabbix proxy: Utilization of ODBC poller processes over {$ZABBIX.PROXY.UTIL.MAX:"ODBC poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the ODBC poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: ab3a54eb85d548e38dba2f6642372cb4
          name: 'Utilization of poller data collector processes, in %'
          type: DEPENDENT
          key: process.poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 1d7cee57cd28400790ea8fea6901d0a9
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"poller"}'
              name: 'Zabbix proxy: Utilization of poller processes is high'
              event_name: 'Zabbix proxy: Utilization of poller processes over {$ZABBIX.PROXY.UTIL.MAX:"poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: afb08d2d0f33405980c319ac25a31224
          name: 'Utilization of preprocessing manager internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: a3692dec8449492b8c1c0fc0ffc38ba7
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.preprocessing_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.preprocessing_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing manager"}'
              name: 'Zabbix proxy: Utilization of preprocessing manager processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing manager processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 060a18c681c340ab8ba85b92ac73fff0
          name: 'Utilization of preprocessing worker internal processes, in %'
          type: DEPENDENT
          key: process.preprocessing_worker.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the preprocessing worker processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''preprocessing worker''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes preprocessing worker not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: cbdfa6eab86547a9bcc15308cb24ecec
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.preprocessing_worker.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.preprocessing_worker.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"preprocessing worker"}'
              name: 'Zabbix proxy: Utilization of preprocessing worker processes is high'
              event_name: 'Zabbix proxy: Utilization of preprocessing worker processes over {$ZABBIX.PROXY.UTIL.MAX:"preprocessing worker"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the preprocessing worker, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 1deace63f8e7490b86fb58161dd938b4
          name: 'Utilization of self-monitoring internal processes, in %'
          type: DEPENDENT
          key: process.self-monitoring.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the self-monitoring processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''self-monitoring''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes self-monitoring not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 8c731df045474ff78961106f51943a2d
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.self-monitoring.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.self-monitoring.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"self-monitoring"}'
              name: 'Zabbix proxy: Utilization of self-monitoring processes is high'
              event_name: 'Zabbix proxy: Utilization of self-monitoring processes over {$ZABBIX.PROXY.UTIL.MAX:"self-monitoring"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the self-monitoring, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 09fcd6d6ff724ca7b73e3d460f858bd3
          name: 'Utilization of snmp poller data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 37f76a103450441c91dc980877685fdf
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.snmp_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.snmp_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp poller"}'
              name: 'Zabbix proxy: Utilization of snmp poller processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp poller processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 456aec8079074dcbb20d547d90dcb8b9
          name: 'Utilization of snmp trapper data collector processes, in %'
          type: DEPENDENT
          key: process.snmp_trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the snmp trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''snmp trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes snmp trapper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 125f0015cbab441f8fb585273b1be59d
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.snmp_trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.snmp_trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"snmp trapper"}'
              name: 'Zabbix proxy: Utilization of snmp trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of snmp trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"snmp trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the snmp trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 452f67fd89764adfb638a9ea0a902063
          name: 'Utilization of task manager internal processes, in %'
          type: DEPENDENT
          key: process.task_manager.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the task manager processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''task manager''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes task manager not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: internal-process
          triggers:
            - uuid: 639ce0f06fa4454784458426fedce080
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.task_manager.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"task manager"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.task_manager.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"task manager"}'
              name: 'Zabbix proxy: Utilization of task manager processes is high'
              event_name: 'Zabbix proxy: Utilization of task manager processes over {$ZABBIX.PROXY.UTIL.MAX:"task manager"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the task manager, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 155b770a61d1483c9fda1d1530c62080
          name: 'Utilization of trapper data collector processes, in %'
          type: DEPENDENT
          key: process.trapper.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the trapper processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''trapper''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes trapper not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: dd4185cd7ff646ccaee1d7c36eba58b4
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.trapper.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"trapper"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.trapper.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"trapper"}'
              name: 'Zabbix proxy: Utilization of trapper processes is high'
              event_name: 'Zabbix proxy: Utilization of trapper processes over {$ZABBIX.PROXY.UTIL.MAX:"trapper"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the trapper, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 7eeed993f1874749849ac988a92835ba
          name: 'Utilization of unreachable poller data collector processes, in %'
          type: DEPENDENT
          key: process.unreachable_poller.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the unreachable poller processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''unreachable poller''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes unreachable poller not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 353e0603f5454b92806bc27442e4675a
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.unreachable_poller.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.unreachable_poller.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"unreachable poller"}'
              name: 'Zabbix proxy: Utilization of unreachable poller processes is high'
              event_name: 'Zabbix proxy: Utilization of unreachable poller processes over {$ZABBIX.PROXY.UTIL.MAX:"unreachable poller"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the unreachable poller, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: d38cebfe55ff45338051302e99b90454
          name: 'Utilization of vmware collector data collector processes, in %'
          type: DEPENDENT
          key: process.vmware_collector.avg.busy
          value_type: FLOAT
          units: '%'
          description: 'The average percentage of the time during which the vmware collector processes have been busy for the last minute.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.process[''vmware collector''].busy.avg'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Processes vmware collector not started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: gathering-process
          triggers:
            - uuid: 19212b4c55a5412a8358486ccec73867
              expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.vmware_collector.avg.busy,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}'
              recovery_mode: RECOVERY_EXPRESSION
              recovery_expression: 'avg(/Zabbix proxy health by Zabbix agent active/process.vmware_collector.avg.busy,10m)<{$ZABBIX.PROXY.UTIL.MIN:"vmware collector"}'
              name: 'Zabbix proxy: Utilization of vmware collector processes is high'
              event_name: 'Zabbix proxy: Utilization of vmware collector processes over {$ZABBIX.PROXY.UTIL.MAX:"vmware collector"}%'
              priority: AVERAGE
              description: 'Indicates potential performance issues with the vmware collector, which may affect monitoring efficiency and response times.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 1ec67a7436c84892ac8eba71461a5cb3
          name: 'Proxy memory buffer, % used'
          type: DEPENDENT
          key: proxy_buffer.buffer.pused
          value_type: FLOAT
          units: '%'
          description: |
            Statistics and availability of Zabbix proxy memory buffer usage statistics. Percentage of used proxy memory buffer.
            Proxy memory buffer is used to store the new historical data and upload from it without accessing database.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].memory.pused'
              error_handler: CUSTOM_ERROR
              error_handler_params: 'Proxy memory buffer is disabled.'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 58582605c4644fffaabca8e403ae7529
              expression: 'max(/Zabbix proxy health by Zabbix agent active/proxy_buffer.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}'
              name: 'Zabbix proxy: Excessive proxy memory buffer usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"proxy buffer"}% used in the proxy memory buffer'
              priority: AVERAGE
              description: 'Consider increasing ProxyMemoryBufferSize in the zabbix_proxy.conf configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 30b187882593400aa4bf703b83ac48e9
          name: 'Proxy buffer, state changes'
          type: DEPENDENT
          key: proxy_buffer.state.changes
          description: 'The number of state changes between disk/memory buffer modes since proxy start.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].[''state change'']'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: ecbad291c31f4a94988256d78671e7fe
          name: 'Proxy buffer, state'
          type: DEPENDENT
          key: proxy_buffer.state.current
          description: |
            The current working state of proxy buffer where the new data is being stored. Possible values:
            
              0 - disk (also returned when memory buffer is disabled);
              1 - memory.
          valuemap:
            name: 'Proxy buffer mode'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.[''proxy buffer''].state'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: 96e28e7707a546df86283808245a259b
          name: 'Zabbix proxy check'
          type: DEPENDENT
          key: proxy_check
          trends: '0'
          description: 'Flag indicating whether it is a proxy or not.'
          valuemap:
            name: 'Zabbix proxy check'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.triggers
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: IN_RANGE
              parameters:
                - ''
                - '0'
              error_handler: CUSTOM_VALUE
              error_handler_params: '1'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 90d305b0cf7246c19aedc74b4c566148
              expression: 'last(/Zabbix proxy health by Zabbix agent active/proxy_check)=1'
              name: 'Zabbix proxy: Wrong template assigned'
              event_name: 'Zabbix proxy: Zabbix proxy template is assigned to Zabbix server'
              priority: DISASTER
              description: 'Check that the template has been selected correctly.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 91dd05ad3bef4c14a988bd2f759eff59
          name: 'Configuration cache, % used'
          type: DEPENDENT
          key: rcache.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix configuration cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.rcache.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 280ce16d51a04a2c98574da85639df8a
              expression: 'max(/Zabbix proxy health by Zabbix agent active/rcache.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}'
              name: 'Zabbix proxy: Excessive configuration cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"configuration cache"}% used in the configuration cache'
              priority: AVERAGE
              description: 'Consider increasing `CacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
            - uuid: 78ee655520bb495097142ba6b4ac30ab
              expression: 'nodata(/Zabbix proxy health by Zabbix agent active/rcache.buffer.pused,{$ZABBIX.PROXY.NODATA_TIMEOUT})=1'
              name: 'Zabbix proxy: Failed to fetch stats data'
              event_name: 'Zabbix proxy: Failed to fetch stats data (or no data for {$ZABBIX.PROXY.NODATA_TIMEOUT})'
              priority: WARNING
              description: 'Zabbix has not received statistics data for `{$ZABBIX.PROXY.NODATA_TIMEOUT}`.'
              tags:
                - tag: scope
                  value: availability
        - uuid: ac3a8cf2873a44669454c1fdd03145b3
          name: 'Required VPS'
          type: DEPENDENT
          key: requiredperformance
          value_type: FLOAT
          units: '!vps'
          description: 'The required performance of a proxy (the number of values that need to be collected per second).'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.requiredperformance
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 12h
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
        - uuid: bb60426c6fa1471e80f6214fbb66c66a
          name: Uptime
          type: DEPENDENT
          key: uptime
          units: uptime
          description: 'Uptime of the Zabbix proxy process in seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.uptime
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: f31a41c673c541e89fa0d4792506316a
              expression: 'last(/Zabbix proxy health by Zabbix agent active/uptime)<10m'
              name: 'Zabbix proxy: {HOST.NAME} has been restarted'
              event_name: 'Zabbix proxy: {HOST.NAME} has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 0642b827f604424daf5429cccee0a3b7
          name: Version
          type: DEPENDENT
          key: version
          value_type: CHAR
          description: 'The version of Zabbix proxy.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.version
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 2e0d640f83e14fd1940d195bbb133ed8
              expression: 'last(/Zabbix proxy health by Zabbix agent active/version,#1)<>last(/Zabbix proxy health by Zabbix agent active/version,#2) and length(last(/Zabbix proxy health by Zabbix agent active/version))>0'
              name: 'Zabbix proxy: Version has changed'
              event_name: 'Zabbix proxy: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Zabbix proxy version has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
        - uuid: 6bb9f2511eb446558b5a75842a7e5018
          name: 'VMware cache, % used'
          type: DEPENDENT
          key: vmware.buffer.pused
          value_type: FLOAT
          units: '%'
          description: 'The availability statistics of Zabbix vmware cache. The percentage of used data buffer.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.vmware.pused
              error_handler: CUSTOM_ERROR
              error_handler_params: 'No vmware collector processes started'
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: a0ed7fac6d7c4b1ea5e66e476dfdc9d1
              expression: 'max(/Zabbix proxy health by Zabbix agent active/vmware.buffer.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}'
              name: 'Zabbix proxy: Excessive vmware cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"vmware cache"}% used in the vmware cache'
              priority: AVERAGE
              description: 'Consider increasing `VMwareCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: f08835beb38c4b58ab337cb87f3ae56c
          name: 'History write cache, % used'
          type: DEPENDENT
          key: wcache.history.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history buffer.
            The history cache is used to store item values. A high number indicates database performance problems.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.history.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: eba5460898154090bb57db9b6f80aefb
              expression: 'max(/Zabbix proxy health by Zabbix agent active/wcache.history.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"history cache"}'
              name: 'Zabbix proxy: Excessive history cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"history cache"}% used in the history cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 5e78de0022cf4c69a727001fbe5dafd1
          name: 'History index cache, % used'
          type: DEPENDENT
          key: wcache.index.pused
          value_type: FLOAT
          units: '%'
          description: |
            The statistics and availability of Zabbix write cache. The percentage of used history index buffer.
            The history index cache is used to index values stored in the history cache.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.index.pused
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 0ed6244bfe5f405face0941e87c9233a
              expression: 'max(/Zabbix proxy health by Zabbix agent active/wcache.index.pused,10m)>{$ZABBIX.PROXY.UTIL.MAX:"index cache"}'
              name: 'Zabbix proxy: Excessive history index cache usage'
              event_name: 'Zabbix proxy: More than {$ZABBIX.PROXY.UTIL.MAX:"index cache"}% used in the history index cache'
              priority: AVERAGE
              description: 'Consider increasing `HistoryIndexCacheSize` in the `zabbix_proxy.conf` configuration file.'
              tags:
                - tag: scope
                  value: capacity
                - tag: scope
                  value: performance
        - uuid: 6579ae03a0b34806adb0fb996a96fec8
          name: 'Number of processed values per second'
          type: DEPENDENT
          key: wcache.values
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The total number of values processed by Zabbix server or Zabbix proxy, except unsupported items.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.all
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: b7cc386e51754e3f889e7023d25e6c9a
          name: 'Number of processed numeric (float) values per second'
          type: DEPENDENT
          key: wcache.values.float
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (float) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.float
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 3a1e8466b5e84178938530c41e83afb7
          name: 'Number of processed log values per second'
          type: DEPENDENT
          key: wcache.values.log
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed log values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.log
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 30f6e1cf5d88497194233967cdae1e9c
          name: 'Number of processed not supported values per second'
          type: DEPENDENT
          key: wcache.values.not_supported
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of times the item processing resulted in an item becoming unsupported or remaining in that state.
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.data.wcache.values[''not supported'']'
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 26f80a634144408d96d489971307effc
          name: 'Number of processed character values per second'
          type: DEPENDENT
          key: wcache.values.str
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed character values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.str
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 0784afdd396d4697be033476b49cd779
          name: 'Number of processed text values per second'
          type: DEPENDENT
          key: wcache.values.text
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed text values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.text
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 0f00c626c85742858dfd658e5823cfbf
          name: 'Number of processed numeric (unsigned) values per second'
          type: DEPENDENT
          key: wcache.values.uint
          value_type: FLOAT
          units: '!vps'
          description: |
            The statistics and availability of Zabbix write cache.
            The number of processed numeric (unsigned) values.
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.data.wcache.values.uint
            - type: CHANGE_PER_SECOND
          master_item:
            key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          tags:
            - tag: component
              value: nvps
            - tag: component
              value: system
        - uuid: 38016356b0c2422baeaaf83add1c07dd
          name: 'Queue over 10 minutes'
          type: ZABBIX_ACTIVE
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m]'
          description: 'The number of monitored items in the queue that are delayed by at least 10 minutes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
          triggers:
            - uuid: 1bdab54e366e423aa9320baeec90f57b
              expression: 'min(/Zabbix proxy health by Zabbix agent active/zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue,10m],10m)>100'
              name: 'Zabbix proxy: More than 100 items have been missing data for over 10 minutes'
              priority: WARNING
              description: 'Indicates potential issues with network connectivity, agent failures, or unresponsive monitored resources that require attention.'
              tags:
                - tag: scope
                  value: performance
        - uuid: 35c77ed090df4bb58f29a50db9584325
          name: Queue
          type: ZABBIX_ACTIVE
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
          description: 'The number of monitored items in the queue that are delayed by at least 6 seconds.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.queue
          tags:
            - tag: component
              value: system
        - uuid: ca89ec32d7ac45aba86a319cdb4f3b0d
          name: 'Zabbix stats'
          type: ZABBIX_ACTIVE
          key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT}]'
          history: '0'
          value_type: TEXT
          description: 'The master item of Zabbix proxy statistics.'
          tags:
            - tag: component
              value: raw
      tags:
        - tag: class
          value: software
        - tag: subclass
          value: logging
        - tag: subclass
          value: monitoring
        - tag: target
          value: proxy
        - tag: target
          value: zabbix
      macros:
        - macro: '{$ZABBIX.PROXY.ADDRESS}'
          description: 'IP/DNS of the remote Zabbix proxy (default is 127.0.0.1).'
          config:
            type: TEXT
            priority: '1'
            label: 'Zabbix proxy Address'
            description: 'IP or DNS of the remote Zabbix proxy that should be monitored via the Zabbix agent.'
            required: 'YES'
        - macro: '{$ZABBIX.PROXY.NODATA_TIMEOUT}'
          value: 5m
          description: 'The time threshold after which statistics are considered unavailable. Used in trigger expressions.'
          config:
            type: TEXT
            priority: '5'
            section_name: Thresholds
            label: 'Time since the last statistic was received'
            description: 'Threshold value of time since the last statistic was received from the remote proxy.'
        - macro: '{$ZABBIX.PROXY.PORT}'
          description: 'Port of the remote Zabbix proxy (default is 10051).'
          config:
            type: TEXT
            priority: '2'
            label: 'Zabbix proxy Port'
            description: 'Port of the remote Zabbix proxy that should be monitored via the Zabbix agent. In the range from 1 to 65535 inclusive.'
            required: 'YES'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MAX}'
          value: '75'
          description: 'Default maximum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '4'
            section_name: Thresholds
            label: 'Maximum process utilization percentage'
            description: 'Default maximum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
        - macro: '{$ZABBIX.PROXY.UTIL.MIN}'
          value: '65'
          description: 'Default minimum threshold for percentage utilization triggers (use macro context for specification).'
          config:
            type: TEXT
            priority: '3'
            section_name: Thresholds
            label: 'Minimum process utilization percentage'
            description: 'Default minimum threshold for process utilization triggers. In the range from 0 to 100 inclusive.'
            regex: '^-?([0-9]+|(([0-9]+)\.([0-9]+)))$'
      dashboards:
        - uuid: df9b385da30a4a049516fdfb75d7d958
          name: 'Zabbix proxy health'
          auto_start: 'NO'
          pages:
            - name: Performance
              widgets:
                - type: svggraph
                  name: 'Cache usage, in %'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: rcache.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.index.pused
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.history.pused
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: vmware.buffer.pused
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: proxy_buffer.buffer.pused
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACA
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Server performance'
                  'y': '6'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: 'zabbix.stats[{$ZABBIX.PROXY.ADDRESS},{$ZABBIX.PROXY.PORT},queue]'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACC
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Values processed'
                  'y': '11'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: 33a02c
                    - type: STRING
                      name: ds.0.color.2
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.3
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.4
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.5
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.uint
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.float
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.not_supported
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.str
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.log
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: wcache.values.text
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACD
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing throughput'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_throughput_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_throughput_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABV
                - type: svggraph
                  name: 'Internal queues'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ffff99
                    - type: STRING
                      name: ds.0.color.1
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_queue
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: discovery_queue
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_lines_mode
                      value: '1'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAACB
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Preprocessing VPS'
                  x: '36'
                  'y': '16'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: ff465c
                    - type: STRING
                      name: ds.0.color.1
                      value: ffdf00
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_vps_queued
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_vps_direct
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABW
            - name: Processes
              widgets:
                - type: svggraph
                  name: 'Utilization: Discovery processes'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 7e57c2
                    - type: STRING
                      name: ds.0.color.1
                      value: 1f78b4
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.discovery_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.discovery_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: discovery_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABH
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Synchronous gathering processes'
                  'y': '6'
                  width: '72'
                  height: '7'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: 17becf
                    - type: STRING
                      name: ds.0.color.5
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.6
                      value: fb9a99
                    - type: STRING
                      name: ds.0.color.7
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.8
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.9
                      value: e31a1c
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.internal_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.ipmi_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.ipmi_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.http_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.java_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.6
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.vmware_collector.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.7
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.browser_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.8
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.odbc_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.9
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.icmp_pinger.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '10'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABJ
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Asynchronous gathering processes'
                  'y': '13'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: bcbd22
                    - type: STRING
                      name: ds.0.color.2
                      value: 6a3d9a
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.http_agent_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.snmp_poller.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABK
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Internal processes: Core'
                  'y': '19'
                  width: '72'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 1f78b4
                    - type: STRING
                      name: ds.0.color.1
                      value: e31a1c
                    - type: STRING
                      name: ds.0.color.2
                      value: ff7f00
                    - type: STRING
                      name: ds.0.color.3
                      value: b15928
                    - type: STRING
                      name: ds.0.color.4
                      value: a6cee3
                    - type: STRING
                      name: ds.0.color.5
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.configuration_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.history_syncer.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.2
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.self-monitoring.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.3
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.task_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.4
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.data_sender.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.5
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.housekeeper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '6'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABL
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Gathering processes: Trappers'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: fdbf6f
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.snmp_trapper.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABM
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Data exchange with server'
                  'y': '30'
                  width: '72'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: cab2d6
                    - type: STRING
                      name: ds.0.color.1
                      value: '000080'
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.trapper.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.data_sender.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABO
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Preprocessing processes'
                  x: '36'
                  width: '36'
                  height: '6'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: fdbf6f
                    - type: STRING
                      name: ds.0.color.1
                      value: 7e57c2
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.preprocessing_manager.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.preprocessing_worker.avg.busy
                    - type: INTEGER
                      name: ds.1.axisy
                      value: '1'
                    - type: STRING
                      name: ds.1.color.0
                      value: ff465c
                    - type: INTEGER
                      name: ds.1.dataset_type
                      value: '0'
                    - type: INTEGER
                      name: ds.1.fill
                      value: '2'
                    - type: ITEM
                      name: ds.1.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: preprocessing_queue
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '3'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABI
                    - type: INTEGER
                      name: show_problems
                      value: '1'
                - type: svggraph
                  name: 'Utilization: Availability processes'
                  x: '36'
                  'y': '25'
                  width: '36'
                  height: '5'
                  fields:
                    - type: STRING
                      name: ds.0.color.0
                      value: 6a3d9a
                    - type: STRING
                      name: ds.0.color.1
                      value: b15928
                    - type: INTEGER
                      name: ds.0.dataset_type
                      value: '0'
                    - type: ITEM
                      name: ds.0.itemids.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.unreachable_poller.avg.busy
                    - type: ITEM
                      name: ds.0.itemids.1
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: process.availability_manager.avg.busy
                    - type: STRING
                      name: lefty_max
                      value: '100'
                    - type: STRING
                      name: lefty_min
                      value: '0'
                    - type: INTEGER
                      name: legend_lines
                      value: '2'
                    - type: INTEGER
                      name: legend_statistic
                      value: '1'
                    - type: STRING
                      name: reference
                      value: AAABN
                    - type: INTEGER
                      name: show_problems
                      value: '1'
            - name: Statuses
              widgets:
                - type: item
                  name: 'Zabbix proxy version'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: version
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: Uptime
                  x: '18'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: uptime
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
                - type: item
                  name: 'Proxy buffer state'
                  x: '36'
                  width: '18'
                  height: '3'
                  fields:
                    - type: INTEGER
                      name: decimal_places
                      value: '0'
                    - type: ITEM
                      name: itemid.0
                      value:
                        host: 'Zabbix proxy health by Zabbix agent active'
                        key: proxy_buffer.state.current
                    - type: INTEGER
                      name: show.0
                      value: '2'
                    - type: INTEGER
                      name: show.1
                      value: '3'
                    - type: INTEGER
                      name: show.2
                      value: '4'
                    - type: INTEGER
                      name: time_h_pos
                      value: '2'
                    - type: INTEGER
                      name: time_size
                      value: '9'
                    - type: INTEGER
                      name: time_v_pos
                      value: '2'
                    - type: INTEGER
                      name: value_size
                      value: '25'
      valuemaps:
        - uuid: 550df0eb013b4103ad00dc3cc478189d
          name: 'Proxy buffer mode'
          mappings:
            - value: '0'
              newvalue: Disk
            - value: '1'
              newvalue: Memory
        - uuid: c5cae9ab19384c9f85fe31f7e22ab8c7
          name: 'Zabbix proxy check'
          mappings:
            - value: '0'
              newvalue: 'True'
            - value: '1'
              newvalue: 'False'
  triggers:
    - uuid: d883855527e148ab97eb47db682116ea
      expression: '(last(/Ciena 3906 by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Ciena 3906 by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Ciena 3906 by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Ciena 3906 by SNMP/system.net.uptime[sysUpTime.0])<10m)'
      name: 'Ciena: Host has been restarted'
      event_name: 'Ciena: {HOST.NAME} has been restarted (uptime < 10m)'
      priority: WARNING
      description: 'Uptime is less than 10 minutes.'
      manual_close: 'YES'
      dependencies:
        - name: 'Ciena: No SNMP data collection'
          expression: 'max(/Ciena 3906 by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
      tags:
        - tag: scope
          value: notice
    - uuid: b98092ddf87247ff91710e2f310dbfb9
      expression: '(last(/Cisco IOS by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Cisco IOS by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Cisco IOS by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Cisco IOS by SNMP/system.net.uptime[sysUpTime.0])<10m)'
      name: 'Cisco IOS: Host has been restarted'
      event_name: 'Cisco IOS: {HOST.NAME} has been restarted (uptime < 10m)'
      priority: WARNING
      description: 'Uptime is less than 10 minutes.'
      manual_close: 'YES'
      dependencies:
        - name: 'Cisco IOS: No SNMP data collection'
          expression: 'max(/Cisco IOS by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
      tags:
        - tag: scope
          value: notice
    - uuid: 806f54999d064eb68a3f46a0d84ee4df
      expression: '(last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/system.net.uptime[sysUpTime.0])<10m)'
      name: 'Cisco IOS: Host has been restarted'
      event_name: 'Cisco IOS: {HOST.NAME} has been restarted (uptime < 10m)'
      priority: WARNING
      description: 'Uptime is less than 10 minutes.'
      manual_close: 'YES'
      dependencies:
        - name: 'Cisco IOS: No SNMP data collection'
          expression: 'max(/Cisco IOS versions 12.0_3_T-12.2_3.5 by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
      tags:
        - tag: scope
          value: notice
    - uuid: 261749b9936c4a26b48d660f01435fb7
      expression: '(last(/HP iLO by SNMP/system.hw.uptime[hrSystemUptime.0])>0 and last(/HP iLO by SNMP/system.hw.uptime[hrSystemUptime.0])<10m) or (last(/HP iLO by SNMP/system.hw.uptime[hrSystemUptime.0])=0 and last(/HP iLO by SNMP/system.net.uptime[sysUpTime.0])<10m)'
      name: 'HP iLO: Host has been restarted'
      event_name: 'HP iLO: {HOST.NAME} has been restarted (uptime < 10m)'
      priority: WARNING
      description: 'Uptime is less than 10 minutes.'
      manual_close: 'YES'
      dependencies:
        - name: 'HP iLO: No SNMP data collection'
          expression: 'max(/HP iLO by SNMP/zabbix[host,snmp,available],{$SNMP.TIMEOUT})=0'
      tags:
        - tag: scope
          value: notice
    - uuid: 65e4652dbebe47c4b46e47bb8a17aac6
      expression: 'min(/Redis by Zabbix agent 2/redis.clients.connected,5m)/last(/Redis by Zabbix agent 2/redis.config.maxclients)*100>{$REDIS.CLIENTS.PRC.MAX.WARN}'
      name: 'Redis: Total number of connected clients is too high'
      event_name: 'Redis: Total number of connected clients is too high (over {$REDIS.CLIENTS.PRC.MAX.WARN}% in 5m)'
      priority: WARNING
      description: |
        When the number of clients reaches the value of the "maxclients" parameter, new connections will be rejected.
        
        https://redis.io/topics/clients#maximum-number-of-clients
      tags:
        - tag: scope
          value: performance
  graphs:
    - uuid: 652efbd1e8d44865acfc633866116b5a
      name: 'Ciena: CPU utilization'
      ymin_type_1: FIXED
      ymax_type_1: FIXED
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Ciena 3906 by SNMP'
            key: ciena.cpu.utilization
    - uuid: 376c15f14b414caab715650ce9c86e0f
      name: 'Ciena: Memory utilization'
      ymin_type_1: FIXED
      ymax_type_1: FIXED
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Ciena 3906 by SNMP'
            key: ciena.memory.utilization
    - uuid: 632a641116194105983cc581b1bd890d
      name: 'NameNode: DataNodes'
      graph_items:
        - color: 199C0D
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.namenode.num_live_data_nodes
        - sortorder: '1'
          color: F63100
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.namenode.num_dead_data_nodes
        - sortorder: '2'
          color: 00611C
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.namenode.num_stale_data_nodes
    - uuid: 96ef586f2f554d028efcbb75b4c7024b
      name: 'NameNode: NMs'
      graph_items:
        - color: 199C0D
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.resourcemanager.num_active_nm
        - sortorder: '1'
          color: F63100
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.resourcemanager.num_lost_nm
        - sortorder: '2'
          color: 00611C
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.resourcemanager.num_rebooted_nm
        - sortorder: '3'
          color: F7941D
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.resourcemanager.num_shutdown_nm
        - sortorder: '4'
          color: FC6EA3
          calc_fnc: ALL
          item:
            host: 'Hadoop by HTTP'
            key: hadoop.resourcemanager.num_unhealthy_nm
    - uuid: c04e813d482a4709b13aa2a98911e11d
      name: 'Redis: Clients'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.clients.connected
        - sortorder: '1'
          drawtype: GRADIENT_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.clients.blocked
    - uuid: 8643a1b690dc456b8daacc4b2b0810d4
      name: 'Redis: Commands'
      graph_items:
        - color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_ops.rate
    - uuid: 765c0125e8d549dc88279f65f38b6ed9
      name: 'Redis: CPU'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.sys
        - sortorder: '1'
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.sys_children
        - sortorder: '2'
          drawtype: GRADIENT_LINE
          color: 00611C
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.user
        - sortorder: '3'
          color: F7941D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.user_children
    - uuid: fd25ac6239064cd29dc1939cd15005de
      name: 'Redis: Expired keys'
      graph_items:
        - drawtype: BOLD_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.expired_keys
        - sortorder: '1'
          drawtype: BOLD_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.evicted_keys
    - uuid: 24cff7af388e41a8899e2916f12224d1
      name: 'Redis: Keyspace'
      graph_items:
        - color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.keyspace_hits
        - sortorder: '1'
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.keyspace_misses
    - uuid: a3ea32878f25481998e0fde7ba00a11b
      name: 'Redis: Memory'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory
        - sortorder: '1'
          drawtype: BOLD_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory_rss
        - sortorder: '2'
          drawtype: BOLD_LINE
          color: 00611C
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory_peak
    - uuid: ff8d6320a8e246a39d35ccb93220eb3a
      name: 'Redis: Memory fragmentation'
      graph_items:
        - drawtype: BOLD_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.fragmentation_ratio
    - uuid: b3db4cc8247647faae0d3c2389f37d80
      name: 'Redis: Network'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_input.rate
        - sortorder: '1'
          drawtype: GRADIENT_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_output.rate
    - uuid: 81fde2046d2340119b2002da2b75df16
      name: 'Redis: Persistence'
      graph_items:
        - drawtype: BOLD_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.persistence.rdb_last_bgsave_time_sec
        - sortorder: '1'
          drawtype: BOLD_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.persistence.aof_last_rewrite_time_sec
    - uuid: 1ace370516b74875977788d44ab478e5
      name: 'Redis: Slaves'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.replication.connected_slaves
    - uuid: 8dd9935cb7a24004b9783c3f1a445f1b
      name: 'Redis: Slowlog'
      graph_items:
        - drawtype: GRADIENT_LINE
          color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: 'redis.slowlog.count["{$REDIS.CONN.URI}"]'
    - uuid: 32d954e849e64fe99bd8846b54aadede
      name: 'Redis: Uptime'
      graph_items:
        - color: 199C0D
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.server.uptime
