zabbix_export:
  version: '7.0'
  template_groups:
    - uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
  templates:
    - uuid: 2ef2f2eb75ee4a0bae839e22aa76e5fc
      template: 'Jenkins by HTTP'
      name: 'Jenkins by HTTP'
      description: |
        Get Jenkins metrics by HTTP agent.
        Metrics are collected by requests to Metrics API. Install  Metrics plugin and configure access to the Metrics Servlet by issuing API key.
        Don't forget to change macros {$JENKINS.URL}, {$JENKINS.USER}, {$JENKINS.API.TOKEN}, {$JENKINS.API.KEY}.
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback
        
        Generated by official Zabbix template tool "Templator"
      vendor:
        name: Zabbix
        version: 7.0-0
      groups:
        - name: Templates/Applications
      items:
        - uuid: 7ae6f7fae8d4485fb850c84ac00b7ff1
          name: 'Get computer info'
          type: HTTP_AGENT
          key: jenkins.computer_info
          history: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$JENKINS.USER}'
          password: '{$JENKINS.API.TOKEN}'
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
          url: '{$JENKINS.URL}/computer/api/json'
          tags:
            - tag: component
              value: computers
            - tag: component
              value: raw
        - uuid: 790aedce97be4e7dae6f4de8238340a7
          name: 'File descriptor ratio'
          type: DEPENDENT
          key: jenkins.descriptor.ratio
          value_type: FLOAT
          units: '%'
          description: 'The ratio of used to total file descriptors'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''vm.file.descriptor.ratio''].value'
            - type: MULTIPLIER
              parameters:
                - '100'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: fds
          triggers:
            - uuid: 5ec22ac264d445769039bd4c13e41bf7
              expression: 'min(/Jenkins by HTTP/jenkins.descriptor.ratio,5m)>{$JENKINS.FILE_DESCRIPTORS.MAX.WARN}'
              name: 'Current number of used files is too high'
              event_name: 'Current number of used files is too high (over {$JENKINS.FILE_DESCRIPTORS.MAX.WARN}% for 5m)'
              priority: WARNING
              tags:
                - tag: scope
                  value: capacity
        - uuid: 0b3cf1992122407795eef5ab9474101d
          name: 'Disk space check'
          type: DEPENDENT
          key: jenkins.disk_space
          description: 'Returns FAIL if any of the Jenkins disk space monitors are reporting the disk space as less than the configured threshold.'
          valuemap:
            name: 'Jenkins healthcheck'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''disk-space''].healthy'
            - type: BOOL_TO_DECIMAL
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: disk
        - uuid: 8095797fe6ef478db4a8acb60e1dcc54
          name: 'Disk space check message'
          type: DEPENDENT
          key: jenkins.disk_space.message
          value_type: CHAR
          description: 'The message will reference the first node which fails this check.  There may be other nodes that fail the check, but this health check is designed to fail fast.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''disk-space''].message'
              error_handler: CUSTOM_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: disk
        - uuid: 26902068daf94cf3a5aec360be9abc18
          name: 'Executors count'
          type: DEPENDENT
          key: jenkins.executor.count
          description: 'The number of executors available to Jenkins. This is corresponds to the sum of all the executors of all the online nodes.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.executor.count.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: executors
        - uuid: 7b672586e5194370a0c141570174d21a
          name: 'Executors free'
          type: DEPENDENT
          key: jenkins.executor.free
          description: 'The number of executors available to Jenkins that are not currently in use.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.executor.free.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: executors
        - uuid: 197470fead89470f94a910e9405498fe
          name: 'Executors in use'
          type: DEPENDENT
          key: jenkins.executor.in_use
          description: 'The number of executors available to Jenkins that are currently in use.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.executor.in-use.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: executors
        - uuid: 035f0609b9ba4231a31f3310ca8151b8
          name: 'Get gauges'
          type: DEPENDENT
          key: jenkins.gauges.raw
          history: '0'
          value_type: TEXT
          description: 'Raw items for gauges metrics.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.gauges
          master_item:
            key: jenkins.get_metrics
          tags:
            - tag: component
              value: raw
        - uuid: db4c0de52dca4c8a853edf918b35bbe4
          name: 'Get service metrics'
          type: HTTP_AGENT
          key: jenkins.get_metrics
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
          url: '{$JENKINS.URL}/metrics/{$JENKINS.API.KEY}/metrics'
          tags:
            - tag: component
              value: raw
        - uuid: 4be0216b409d46a2a12e2929a9a03295
          name: 'Get healthcheck'
          type: HTTP_AGENT
          key: jenkins.healthcheck
          history: '0'
          value_type: TEXT
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
          url: '{$JENKINS.URL}/metrics/{$JENKINS.API.KEY}/healthcheck'
          tags:
            - tag: component
              value: health
        - uuid: d9677f596dae43e4984838061fe19d45
          name: 'HTTP active requests, rate'
          type: DEPENDENT
          key: jenkins.http.active_requests.rate
          value_type: FLOAT
          units: rps
          description: 'The number of currently active requests against the Jenkins master Web UI.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.counters.[''http.activeRequests''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.get_metrics
          tags:
            - tag: component
              value: requests
        - uuid: d95c9a1b19ed4da38bec3217eee2e590
          name: 'HTTP response 400, rate'
          type: DEPENDENT
          key: jenkins.http.bad_request.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/400 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.badRequest''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '400'
        - uuid: b3d77a909487431bab2b0b7f7c89bf90
          name: 'HTTP response 201, rate'
          type: DEPENDENT
          key: jenkins.http.created.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/201 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.created''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '201'
        - uuid: 3265515d32f840e9ade25c0d2892b372
          name: 'HTTP response 403, rate'
          type: DEPENDENT
          key: jenkins.http.forbidden.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/403 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.forbidden''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '403'
        - uuid: 22b8fc85f441484cad8b2641748d75a1
          name: 'HTTP response 404, rate'
          type: DEPENDENT
          key: jenkins.http.not_found.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/404 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.notFound''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '404'
        - uuid: 1a9a6b663aaa48bbacfc56c1569521c0
          name: 'HTTP response 304, rate'
          type: DEPENDENT
          key: jenkins.http.not_modified.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/304 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.notModified''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '304'
        - uuid: 2a79c1139b44402fa8f31d6b61a0d739
          name: 'HTTP response 204, rate'
          type: DEPENDENT
          key: jenkins.http.no_content.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/204 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.noContent''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '204'
        - uuid: c4c1dfcf2d904985a0ca6956724adf41
          name: 'HTTP response 200, rate'
          type: DEPENDENT
          key: jenkins.http.ok.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/200 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.ok''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '200'
        - uuid: afdab05416084124887bcec705f2603d
          name: 'HTTP response other, rate'
          type: DEPENDENT
          key: jenkins.http.other.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with a non-informational status code that is not in the list: HTTP/200, HTTP/201, HTTP/204, HTTP/304, HTTP/400, HTTP/403, HTTP/404, HTTP/500, or HTTP/503.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.other''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: other
        - uuid: 5169a969034b4da29eaab59c7c3aa719
          name: 'HTTP requests, rate'
          type: DEPENDENT
          key: jenkins.http.requests.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is receiving requests.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.requests''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: requests
        - uuid: 9a4ad856db02403b8b523179bf4b3699
          name: 'HTTP requests, median'
          type: DEPENDENT
          key: jenkins.http.requests_p50.rate
          value_type: FLOAT
          units: s
          description: 'The time spent generating the corresponding responses.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.requests''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: requests
        - uuid: 6766b45e349e4a4d88593207df6b35ba
          name: 'HTTP requests, p95'
          type: DEPENDENT
          key: jenkins.http.requests_p95.rate
          value_type: FLOAT
          units: s
          description: 'The time spent generating the corresponding responses.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.requests''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: requests
        - uuid: 320cc4d7fafc4c87ab8d92bd76901982
          name: 'HTTP response 500, rate'
          type: DEPENDENT
          key: jenkins.http.server_error.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/500 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.serverError''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '500'
        - uuid: d4ad6574138443a18e721f3d518d5e61
          name: 'HTTP response 503, rate'
          type: DEPENDENT
          key: jenkins.http.service_unavailable.rate
          value_type: FLOAT
          units: rps
          description: 'The rate at which the Jenkins master Web UI is responding to requests with an HTTP/503 status code.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''http.responseCodes.serviceUnavailable''].count'
            - type: CHANGE_PER_SECOND
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: requests
            - tag: http-code
              value: '503'
        - uuid: ecca8e2341c14ede9e397ddc39df5592
          name: 'Job blocked duration, median'
          type: DEPENDENT
          key: jenkins.job.blocked.duration.p50
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.blocked.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 859a7845f3d8483ba3378f7077509784
          name: 'Job blocked duration, p95'
          type: DEPENDENT
          key: jenkins.job.blocked.duration.p95
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.blocked.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: ca4e141c83344aeeb32d9ea2d9017cbf
          name: 'Job blocked, m1 rate'
          type: DEPENDENT
          key: jenkins.job.blocked.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs in the build queue enter the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.blocked.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: d0a242007b424a0e80dbfb90577eaab2
          name: 'Job blocked, m5 rate'
          type: DEPENDENT
          key: jenkins.job.blocked.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs in the build queue enter the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.blocked.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 3c2ba170a89040089b226871512e237b
          name: 'Job buildable duration, median'
          type: DEPENDENT
          key: jenkins.job.buildable.duration.p50
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend in the buildable state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.buildable.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 9047881efcb84822b7da852f4c66dbff
          name: 'Job buildable duration, p95'
          type: DEPENDENT
          key: jenkins.job.buildable.duration.p95
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend in the buildable state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.buildable.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 1d8e643a0ddc44aa951ee516372e587b
          name: 'Job buildable, m1 rate'
          type: DEPENDENT
          key: jenkins.job.buildable.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs in the build queue enter the buildable state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.buildable.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 0e1d712b9a854922b28e3ddf871bf7b1
          name: 'Job buildable, m5 rate'
          type: DEPENDENT
          key: jenkins.job.buildable.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs in the build queue enter the buildable state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.buildable.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: c0c0335fd8654cfaa9534c816fbee967
          name: 'Job building duration, median'
          type: DEPENDENT
          key: jenkins.job.building.duration.p50
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend building.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.building.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 61fb13ee0d0f4e1bb5fdab1ea35371ef
          name: 'Job building duration, p95'
          type: DEPENDENT
          key: jenkins.job.building.duration.p95
          value_type: FLOAT
          units: s
          description: 'The amount of time which jobs spend building.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.building.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 08ebe2359c4f4134aaf610b50bcba8fe
          name: 'Job building, m1 rate'
          type: DEPENDENT
          key: jenkins.job.building.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs are built.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.building.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 36f551fd55814000b76b5b63c05051d7
          name: 'Job building, m5 rate'
          type: DEPENDENT
          key: jenkins.job.building.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs are built.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.building.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 39bc5fdfbe884c72816d34045438ea7d
          name: 'Jobs count'
          type: DEPENDENT
          key: jenkins.job.count.value
          description: 'The number of jobs in Jenkins.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.count.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: jobs
        - uuid: af40fcdb50c545bd9b49a6f4b7a26fea
          name: 'Job queuing duration, median'
          type: DEPENDENT
          key: jenkins.job.queuing.duration.p50
          value_type: FLOAT
          units: s
          description: 'The total time which jobs spend in the build queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.queuing.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: f797a4698f1b41f885a8cdd3d98924e2
          name: 'Job queuing duration, p95'
          type: DEPENDENT
          key: jenkins.job.queuing.duration.p95
          value_type: FLOAT
          units: s
          description: 'The total time which jobs spend in the build queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.queuing.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: d9f785e6f2e148ee98d922524f014037
          name: 'Job queuing, m1 rate'
          type: DEPENDENT
          key: jenkins.job.queuing.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs are queued.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.queuing.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 10c80e91b2214ab2b43458a1d65c3a18
          name: 'Job queuing, m5 rate'
          type: DEPENDENT
          key: jenkins.job.queuing.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs are queued.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.queuing.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: ff842a648bcc4aaa89f2200e0d4bb661
          name: 'Job scheduled, m1 rate'
          type: DEPENDENT
          key: jenkins.job.scheduled.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs are scheduled. If a job is already in the queue and an identical request for scheduling the job is received then Jenkins will coalesce the two requests. This metric gives a reasonably pure measure of the load requirements of the Jenkins master as it is unaffected by the number of executors available to the system.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.scheduled''].m1_rate'
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: jobs
        - uuid: bc2de2ce8e9d474d8e2591d76adecabe
          name: 'Jobs scheduled, m5 rate'
          type: DEPENDENT
          key: jenkins.job.scheduled.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs are scheduled. If a job is already in the queue and an identical request for scheduling the job is received then Jenkins will coalesce the two requests. This metric gives a reasonably pure measure of the load requirements of the Jenkins master as it is unaffected by the number of executors available to the system.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.scheduled''].m5_rate'
          master_item:
            key: jenkins.meters.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 975124750e3e4c969711185ea58bcb49
          name: 'Job total duration, median'
          type: DEPENDENT
          key: jenkins.job.total.duration.p50
          value_type: FLOAT
          units: s
          description: 'The total time which jobs spend from entering the build queue to completing building.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.total.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: dbc0aeedccb740b4a7c1b5f84eb2513b
          name: 'Job total duration, p95'
          type: DEPENDENT
          key: jenkins.job.total.duration.p95
          value_type: FLOAT
          units: s
          description: 'The total time which jobs spend from entering the build queue to completing building.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.total.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 19c5a45a673c4af2be5808faf35a3892
          name: 'Job total, m1 rate'
          type: DEPENDENT
          key: jenkins.job.total.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs are queued.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.total.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 58067833af494a66b4a44bc25ac17a0e
          name: 'Job total, m5 rate'
          type: DEPENDENT
          key: jenkins.job.total.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs are queued.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.total.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: dd7a1e8142f94ef099f6aa0ed1facce3
          name: 'Job waiting duration, median'
          type: DEPENDENT
          key: jenkins.job.waiting.duration.p50
          value_type: FLOAT
          units: s
          description: 'The total amount of time that jobs spend in their quiet period.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.waiting.duration''].p50'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: bb339169024b4461a39261f3fe36de4f
          name: 'Job waiting duration, p95'
          type: DEPENDENT
          key: jenkins.job.waiting.duration.p95
          value_type: FLOAT
          units: s
          description: 'The total amount of time that jobs spend in their quiet period.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.waiting.duration''].p95'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 2d21f74757374b769ae8e76d4d7afa79
          name: 'Job waiting, m1 rate'
          type: DEPENDENT
          key: jenkins.job.waiting.m1.rate
          value_type: FLOAT
          description: 'The rate at which jobs enter the quiet period.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.waiting.duration''].m1_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: 9e16580148964e9aae3a660b18721bee
          name: 'Job waiting, m5 rate'
          type: DEPENDENT
          key: jenkins.job.waiting.m5.rate
          value_type: FLOAT
          description: 'The rate at which jobs enter the quiet period.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.job.waiting.duration''].m5_rate'
          master_item:
            key: jenkins.timers.raw
          tags:
            - tag: component
              value: jobs
        - uuid: dc47555812a0485e9d77da3e5a1c1227
          name: 'Get jobs info'
          type: HTTP_AGENT
          key: jenkins.job_info
          delay: 5m
          history: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$JENKINS.USER}'
          password: '{$JENKINS.API.TOKEN}'
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
          url: '{$JENKINS.URL}/api/json'
          query_fields:
            - name: tree
              value: 'jobs[name,description,url,healthReport[score],lastBuild[number,result,duration,timestamp],lastSuccessfulBuild[number,result,duration,timestamp],lastFailedBuild[number,result,duration,timestamp]]'
          tags:
            - tag: component
              value: jobs
            - tag: component
              value: raw
        - uuid: dd8237e43a0d494394da664bc58a5fec
          name: 'Get meters'
          type: DEPENDENT
          key: jenkins.meters.raw
          history: '0'
          value_type: TEXT
          description: 'Raw items for meters metrics.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.meters
          master_item:
            key: jenkins.get_metrics
          tags:
            - tag: component
              value: raw
        - uuid: 930fa76b32484155ae3ec8964e3952a1
          name: 'Nodes count'
          type: DEPENDENT
          key: jenkins.node.count
          description: 'The number of build nodes available to Jenkins, both online and offline.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.node.count.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: nodes
        - uuid: 440bdc39d2444b9e83cc863e34f3b416
          name: 'Nodes offline'
          type: DEPENDENT
          key: jenkins.node.offline
          description: 'The number of build nodes available to Jenkins but currently offline.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.node.offline.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: nodes
        - uuid: 758ead9ea71646be882b9bff280ce4d6
          name: 'Nodes online'
          type: DEPENDENT
          key: jenkins.node.online
          description: 'The number of build nodes available to Jenkins and currently online.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.node.online.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: nodes
          triggers:
            - uuid: 4cee7d0f5faf4595a67c6c0e33153f4d
              expression: 'last(/Jenkins by HTTP/jenkins.node.online)=0'
              name: 'Service has no online nodes'
              priority: AVERAGE
              tags:
                - tag: scope
                  value: availability
        - uuid: 21cad39b9c914516827b09d04716a71f
          name: 'Service ping'
          type: HTTP_AGENT
          key: jenkins.ping
          valuemap:
            name: 'Service state'
          preprocessing:
            - type: CHECK_NOT_SUPPORTED
              parameters:
                - '-1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: REGEX
              parameters:
                - '{$JENKINS.PING.REPLY}'
                - '1'
              error_handler: CUSTOM_VALUE
              error_handler_params: '0'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 30m
          url: '{$JENKINS.URL}/metrics/{$JENKINS.API.KEY}/ping'
          tags:
            - tag: component
              value: health
          triggers:
            - uuid: ae12ac7aa5c54858a794eb8fc888f90c
              expression: 'last(/Jenkins by HTTP/jenkins.ping)=0'
              name: 'Service is down'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: availability
        - uuid: 81609d18d2004fe28f9cb096cdb03995
          name: 'Plugins check'
          type: DEPENDENT
          key: jenkins.plugins
          description: 'Returns FAIL if any of the Jenkins plugins failed to start.'
          valuemap:
            name: 'Jenkins healthcheck'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.plugins.healthy
            - type: BOOL_TO_DECIMAL
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: plugins
        - uuid: e3fae3ddf1fa47db9925106098bc31eb
          name: 'Plugins active'
          type: DEPENDENT
          key: jenkins.plugins.active
          description: 'The number of plugins in the Jenkins instance that started successfully.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.plugins.active''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: plugins
        - uuid: e8a9f7bd98004939b75749c29227859c
          name: 'Plugins failed'
          type: DEPENDENT
          key: jenkins.plugins.failed
          description: 'The number of plugins in the Jenkins instance that failed to start. A value other than 0 is typically indicative of a potential issue within the Jenkins installation that will either be solved by explicitly disabling the plugin(s) or by resolving the plugin dependency issues.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.plugins.failed''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: plugins
        - uuid: 0b2ad285bc2b4ef5a01633d57099434c
          name: 'Plugins inactive'
          type: DEPENDENT
          key: jenkins.plugins.inactive
          description: 'The number of plugins in the Jenkins instance that are not currently enabled.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.plugins.inactive''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: plugins
        - uuid: d678faf0377a4024a930adcdb1c2db2f
          name: 'Plugins check message'
          type: DEPENDENT
          key: jenkins.plugins.message
          value_type: CHAR
          description: 'The message of plugins health check.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''plugins''].message'
              error_handler: CUSTOM_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: plugins
        - uuid: f1bf69d134a848178b21a050c830aa8a
          name: 'Plugins with update'
          type: DEPENDENT
          key: jenkins.plugins.with_update
          description: 'The number of plugins in the Jenkins instance that have a newer version reported as available in the current Jenkins update center metadata held by Jenkins. This value is not indicative of an issue with Jenkins but high values can be used as a trigger to review the plugins with updates with a view to seeing whether those updates potentially contain fixes for issues that could be affecting your Jenkins instance.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.plugins.withUpdate''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: plugins
        - uuid: a5b58789e54b43f896d4d7e64f8415d3
          name: 'Projects count'
          type: DEPENDENT
          key: jenkins.project.count
          description: 'The number of projects.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.project.count.value''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: application
        - uuid: db758cf660c14d69b37f724545de7662
          name: 'Build queue, blocked'
          type: DEPENDENT
          key: jenkins.queue.blocked
          description: 'The number of jobs that are in the Jenkins build queue and currently in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.queue.blocked.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: queue
        - uuid: 1160d4150fa840b5a4628eeb6e8cdaab
          name: 'Build queue, buildable'
          type: DEPENDENT
          key: jenkins.queue.buildable
          description: 'The number of jobs that are in the Jenkins build queue and currently in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.queue.buildable.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: queue
        - uuid: 456ddd17c4044d578a11d8cac80d229b
          name: 'Build queue, pending'
          type: DEPENDENT
          key: jenkins.queue.pending
          description: 'The number of jobs that are in the Jenkins build queue and currently in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.queue.pending.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: queue
        - uuid: f99d731f466445dcb3aeda3f306a5de6
          name: 'Build queue, size'
          type: DEPENDENT
          key: jenkins.queue.size
          description: 'The number of jobs that are in the Jenkins build queue.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.queue.size.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: queue
        - uuid: 90387bb3b3384adcafa66b4c9543d1ab
          name: 'Build queue, stuck'
          type: DEPENDENT
          key: jenkins.queue.stuck
          description: 'The number of jobs that are in the Jenkins build queue and currently in the blocked state.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.queue.stuck.value''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: queue
        - uuid: 9c97e12efa624176b95aef3413aec1a8
          name: 'CPU Load'
          type: DEPENDENT
          key: jenkins.system.cpu.load
          value_type: FLOAT
          description: 'The system load on the Jenkins master as reported by the JVM''s Operating System JMX bean. The calculation of system load is operating system dependent. Typically this is the sum of the number of processes that are currently running plus the number that are waiting to run. This is typically comparable against the number of CPU cores.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''system.cpu.load''].value'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: cpu
        - uuid: ca81bc28fbc14dbc9eb7b0fa6a46a65d
          name: Uptime
          type: DEPENDENT
          key: jenkins.system.uptime
          units: s
          description: 'The number of seconds since the Jenkins master JVM started.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''vm.uptime.milliseconds''].value'
            - type: MULTIPLIER
              parameters:
                - '0.001'
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: application
          triggers:
            - uuid: 7d20942598a648ebb2e03f9acdb3e5e3
              expression: 'last(/Jenkins by HTTP/jenkins.system.uptime)<10m'
              name: 'Host has been restarted'
              event_name: '{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: ea80ab8045a44f96a5cb2736c009258f
          name: 'Temporary space check'
          type: DEPENDENT
          key: jenkins.temporary_space
          description: 'Returns FAIL if any of the Jenkins temporary space monitors are reporting the temporary space as less than the configured threshold.'
          valuemap:
            name: 'Jenkins healthcheck'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''temporary-space''].healthy'
            - type: BOOL_TO_DECIMAL
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: disk
        - uuid: d884c3a9662e48eeaf6c9ba50641a2cb
          name: 'Temporary space check message'
          type: DEPENDENT
          key: jenkins.temporary_space.message
          value_type: CHAR
          description: 'The message will reference the first node which fails this check. There may be other nodes that fail the check, but this health check is designed to fail fast.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''temporary-space''].message'
              error_handler: CUSTOM_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: disk
        - uuid: 39f474c3c6f841af9b14113df04bf078
          name: 'Thread deadlock check'
          type: DEPENDENT
          key: jenkins.thread_deadlock
          description: 'Returns FAIL if there are any deadlocked threads in the Jenkins master JVM.'
          valuemap:
            name: 'Jenkins healthcheck'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''thread-deadlock''].healthy'
            - type: BOOL_TO_DECIMAL
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: threads
        - uuid: 64f62df61b6b4f4c9963e09b827850e1
          name: 'Thread deadlock check message'
          type: DEPENDENT
          key: jenkins.thread_deadlock.message
          value_type: CHAR
          description: 'The message of thread deadlock health check.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$[''thread-deadlock''].message'
              error_handler: CUSTOM_VALUE
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.healthcheck
          tags:
            - tag: component
              value: system
        - uuid: b988986e794d44c79629f865cc6f77e7
          name: 'Get timers'
          type: DEPENDENT
          key: jenkins.timers.raw
          history: '0'
          value_type: TEXT
          description: 'Raw items for timers metrics.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - $.timers
          master_item:
            key: jenkins.get_metrics
          tags:
            - tag: component
              value: raw
        - uuid: ae836e5439cf494a9ed0681836da854e
          name: Version
          type: DEPENDENT
          key: jenkins.version
          value_type: CHAR
          description: 'Version of Jenkins server.'
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.[''jenkins.versions.core''].value'
            - type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: jenkins.gauges.raw
          tags:
            - tag: component
              value: application
          triggers:
            - uuid: 3dd66b51ed1b4fc2a250daf3e9999e4f
              expression: 'last(/Jenkins by HTTP/jenkins.version,#1)<>last(/Jenkins by HTTP/jenkins.version,#2) and length(last(/Jenkins by HTTP/jenkins.version))>0'
              name: 'Version has changed'
              event_name: 'Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'The Jenkins version has changed. Acknowledge to close the problem manually.'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: notice
      discovery_rules:
        - uuid: eb3e35534745476c8b205acb88382c77
          name: 'Computers discovery'
          type: HTTP_AGENT
          key: jenkins.computers
          delay: 1h
          authtype: BASIC
          username: '{$JENKINS.USER}'
          password: '{$JENKINS.API.TOKEN}'
          item_prototypes:
            - uuid: fe0191db274944699107010f7f7c8091
              name: 'Computer [{#DISPLAY_NAME}]: Available physical memory'
              type: DEPENDENT
              key: 'jenkins.computer.available_physical_memory[{#DISPLAY_NAME}]'
              units: B
              description: 'The total physical memory of the system, available bytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.SwapSpaceMonitor''].availablePhysicalMemory'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: memory
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 4d00cdff0ed0442ab419754264d78ec9
              name: 'Computer [{#DISPLAY_NAME}]: Available swap space'
              type: DEPENDENT
              key: 'jenkins.computer.available_swap_space[{#DISPLAY_NAME}]'
              units: B
              description: 'Available swap space in bytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.SwapSpaceMonitor''].availableSwapSpace'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: memory
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: ff5a78519c834902ae607832b67f2558
              name: 'Computer [{#DISPLAY_NAME}]: Clock difference'
              type: DEPENDENT
              key: 'jenkins.computer.clock_difference[{#DISPLAY_NAME}]'
              value_type: FLOAT
              units: s
              description: 'The clock difference between the master and nodes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.ClockMonitor''].diff'
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 4dcf897c9c2c4ce58483ef6de6786000
              name: 'Computer [{#DISPLAY_NAME}]: Available disk space'
              type: DEPENDENT
              key: 'jenkins.computer.disk_space[{#DISPLAY_NAME}]'
              units: B
              description: 'The available disk space of $JENKINS_HOME on agent.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.DiskSpaceMonitor''].size'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: disk
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: fad90db95f69491da5f9af0967995021
              name: 'Computer [{#DISPLAY_NAME}]: Get computer'
              type: DEPENDENT
              key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              history: '0'
              value_type: TEXT
              description: 'Raw data for a computer.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.computer.[?(@.displayName == "{#DISPLAY_NAME}")].first()'
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: jenkins.computer_info
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: raw
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 1bca0941b2d24de5980eeb5cb3516b2c
              name: 'Computer [{#DISPLAY_NAME}]: Idle'
              type: DEPENDENT
              key: 'jenkins.computer.idle[{#DISPLAY_NAME}]'
              description: 'Returns true if all the executors of this computer are idle.'
              valuemap:
                name: 'Computer state'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.idle
                - type: BOOL_TO_DECIMAL
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 38a5eb0b4fb44b93b9f764edcd3f6c49
              name: 'Computer [{#DISPLAY_NAME}]: Executors'
              type: DEPENDENT
              key: 'jenkins.computer.numExecutors[{#DISPLAY_NAME}]'
              description: 'The maximum number of concurrent builds that Jenkins may perform on this node.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.numExecutors
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 8ddcfbf9b9d84fb290e9f30db7406ea1
              name: 'Computer [{#DISPLAY_NAME}]: Offline cause reason'
              type: DEPENDENT
              key: 'jenkins.computer.offline.reason[{#DISPLAY_NAME}]'
              value_type: CHAR
              description: 'If the computer was offline (either temporarily or not), will return the cause as a string (without user info). Empty string if the system was put offline without given a cause.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.offlineCauseReason
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3h
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: a2068445af644089be8501da5b02144a
              name: 'Computer [{#DISPLAY_NAME}]: Response time average'
              type: DEPENDENT
              key: 'jenkins.computer.response_time[{#DISPLAY_NAME}]'
              units: s
              description: 'The round trip network response time from the master to the agent'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.ResponseTimeMonitor''].average'
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: b8af2fb1f6d646978739b9c44ea85a27
              name: 'Computer [{#DISPLAY_NAME}]: State'
              type: DEPENDENT
              key: 'jenkins.computer.state[{#DISPLAY_NAME}]'
              description: |
                Represents the actual online/offline state.
                Node description: {#DESCRIPTION}
              valuemap:
                name: 'Computer online'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.offline
                - type: BOOL_TO_DECIMAL
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: f1318d38fa5a469a999265896e4546dd
              name: 'Computer [{#DISPLAY_NAME}]: Temporarily offline'
              type: DEPENDENT
              key: 'jenkins.computer.temp_offline[{#DISPLAY_NAME}]'
              description: 'Returns true if this node is marked temporarily offline.'
              valuemap:
                name: 'Computer state'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.temporarilyOffline
                - type: BOOL_TO_DECIMAL
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 5704446ab4f34eb2bc33b8ed6d8da691
              name: 'Computer [{#DISPLAY_NAME}]: Available temp space'
              type: DEPENDENT
              key: 'jenkins.computer.temp_space[{#DISPLAY_NAME}]'
              units: B
              description: 'The available disk space of the temporary directory. Java tools and tests/builds often create files in the temporary directory, and may not function properly if there''s no available space.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.TemporarySpaceMonitor''].size'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: disk
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: 5c3dc14eb6264153a0cd7ddd8effb869
              name: 'Computer [{#DISPLAY_NAME}]: Total physical memory'
              type: DEPENDENT
              key: 'jenkins.computer.total_physical_memory[{#DISPLAY_NAME}]'
              units: B
              description: 'Total physical memory of the system, in bytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.SwapSpaceMonitor''].totalPhysicalMemory'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: memory
                - tag: computer
                  value: '{#DISPLAY_NAME}'
            - uuid: c18b82a205d345fa9c1b92e59521735a
              name: 'Computer [{#DISPLAY_NAME}]: Total swap space'
              type: DEPENDENT
              key: 'jenkins.computer.total_swap_space[{#DISPLAY_NAME}]'
              units: B
              description: 'Total number of swap space in bytes.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.monitorData[''hudson.node_monitors.SwapSpaceMonitor''].totalSwapSpace'
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'jenkins.computer.get[{#DISPLAY_NAME}]'
              tags:
                - tag: component
                  value: computers
                - tag: component
                  value: memory
                - tag: computer
                  value: '{#DISPLAY_NAME}'
          trigger_prototypes:
            - uuid: a2347420d1f14fd2b55cbb0865282268
              expression: 'last(/Jenkins by HTTP/jenkins.computer.state[{#DISPLAY_NAME}])=1 and length(last(/Jenkins by HTTP/jenkins.computer.offline.reason[{#DISPLAY_NAME}]))>0'
              name: 'Computer [{#DISPLAY_NAME}]: Node is down'
              priority: AVERAGE
              description: 'Node down with reason: {{ITEM.LASTVALUE2}.regsub("(.*)",\1)}'
              dependencies:
                - name: 'Computer [{#DISPLAY_NAME}]: Node is temporarily offline'
                  expression: 'last(/Jenkins by HTTP/jenkins.computer.temp_offline[{#DISPLAY_NAME}])=1 and length(last(/Jenkins by HTTP/jenkins.computer.offline.reason[{#DISPLAY_NAME}]))>0'
                - name: 'Service has no online nodes'
                  expression: 'last(/Jenkins by HTTP/jenkins.node.online)=0'
              tags:
                - tag: scope
                  value: availability
            - uuid: bf04115784bc48ffa27d5d2d65176853
              expression: 'last(/Jenkins by HTTP/jenkins.computer.temp_offline[{#DISPLAY_NAME}])=1 and length(last(/Jenkins by HTTP/jenkins.computer.offline.reason[{#DISPLAY_NAME}]))>0'
              name: 'Computer [{#DISPLAY_NAME}]: Node is temporarily offline'
              priority: INFO
              description: 'Node is temporarily Offline with reason: {{ITEM.LASTVALUE2}.regsub("(.*)",\1)}'
              manual_close: 'YES'
              tags:
                - tag: scope
                  value: availability
          graph_prototypes:
            - uuid: 6296f12b13934006bd462eb4937ca248
              name: 'Computer [{#DISPLAY_NAME}]: Physical memory'
              graph_items:
                - color: 199C0D
                  item:
                    host: 'Jenkins by HTTP'
                    key: 'jenkins.computer.total_physical_memory[{#DISPLAY_NAME}]'
                - sortorder: '1'
                  color: F63100
                  item:
                    host: 'Jenkins by HTTP'
                    key: 'jenkins.computer.available_physical_memory[{#DISPLAY_NAME}]'
            - uuid: b8dcbbaf33d54a0fab3780a5fdd541e0
              name: 'Computer [{#DISPLAY_NAME}]: Swap space'
              graph_items:
                - color: 199C0D
                  item:
                    host: 'Jenkins by HTTP'
                    key: 'jenkins.computer.available_swap_space[{#DISPLAY_NAME}]'
                - sortorder: '1'
                  color: F63100
                  item:
                    host: 'Jenkins by HTTP'
                    key: 'jenkins.computer.total_swap_space[{#DISPLAY_NAME}]'
          url: '{$JENKINS.URL}/computer/api/json'
          query_fields:
            - name: tree
              value: 'computer[description,displayName,monitorData]'
          lld_macro_paths:
            - lld_macro: '{#DESCRIPTION}'
              path: $.description
            - lld_macro: '{#DISPLAY_NAME}'
              path: $.displayName
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.computer.[*]'
        - uuid: 25949e5e452e4fa384ec4aa2088375aa
          name: 'Jobs discovery'
          type: HTTP_AGENT
          key: jenkins.jobs
          delay: 1h
          authtype: BASIC
          username: '{$JENKINS.USER}'
          password: '{$JENKINS.API.TOKEN}'
          item_prototypes:
            - uuid: b2a99bad873046cda1d5b839aa43ba91
              name: 'Job [{#NAME}]: Health score'
              type: DEPENDENT
              key: 'jenkins.build.health[{#NAME}]'
              description: |
                Represents health of project. A number between 0-100.
                Job Description: {#DESCRIPTION}
                Job Url: {#URL}
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.healthReport..score.first()
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: health
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
              trigger_prototypes:
                - uuid: c440cd7d92884c9594c8616f1ac99d74
                  expression: 'last(/Jenkins by HTTP/jenkins.build.health[{#NAME}])<{$JENKINS.JOB.HEALTH.SCORE.MIN.WARN}'
                  name: 'Job [{#NAME}]: Job is unhealthy'
                  priority: WARNING
                  manual_close: 'YES'
                  tags:
                    - tag: scope
                      value: performance
            - uuid: c82a3a59d2974e24bfa2489bd02fb10a
              name: 'Job [{#NAME}]: Get job'
              type: DEPENDENT
              key: 'jenkins.job.get[{#NAME}]'
              history: '0'
              value_type: TEXT
              description: 'Raw data for a job.'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - '$.jobs.[?(@.name == "{#NAME}")].first()'
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: jenkins.job_info
              tags:
                - tag: component
                  value: health
                - tag: component
                  value: jobs
                - tag: component
                  value: raw
                - tag: job
                  value: '{#NAME}'
            - uuid: a0fa8864c536408895f13758eacb486f
              name: 'Job [{#NAME}]: Last Build duration'
              type: DEPENDENT
              key: 'jenkins.last_build.duration[{#NAME}]'
              units: s
              description: 'Build duration (in seconds).'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastBuild.duration
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: 338020d76f8e4b28b1e1c02f97b889f4
              name: 'Job [{#NAME}]: Last Build number'
              type: DEPENDENT
              key: 'jenkins.last_build.number[{#NAME}]'
              description: 'Details: {#URL}/lastBuild/'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastBuild.number
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: a3a70807138548a29e9212f48f07946d
              name: 'Job [{#NAME}]: Last Build result'
              type: DEPENDENT
              key: 'jenkins.last_build.result[{#NAME}]'
              value_type: CHAR
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastBuild.result
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: d53a3f165052440098d087d4f2b868b6
              name: 'Job [{#NAME}]: Last Build timestamp'
              type: DEPENDENT
              key: 'jenkins.last_build.timestamp[{#NAME}]'
              units: unixtime
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastBuild.timestamp
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: 907e48fadc6e4a04a076ca9368f73395
              name: 'Job [{#NAME}]: Last Failed Build duration'
              type: DEPENDENT
              key: 'jenkins.last_failed_build.duration[{#NAME}]'
              units: s
              description: 'Build duration (in seconds).'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastFailedBuild.duration
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: 2e4afc599bf54ea29b1b8734f5aea121
              name: 'Job [{#NAME}]: Last Failed Build number'
              type: DEPENDENT
              key: 'jenkins.last_failed_build.number[{#NAME}]'
              description: 'Details: {#URL}/lastFailedBuild/'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastFailedBuild.number
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: e1885df4d7a440c0805207f0afb28cb5
              name: 'Job [{#NAME}]: Last Failed Build timestamp'
              type: DEPENDENT
              key: 'jenkins.last_failed_build.timestamp[{#NAME}]'
              units: unixtime
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastFailedBuild.timestamp
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: d750d312fa424215931375963100217d
              name: 'Job [{#NAME}]: Last Successful Build duration'
              type: DEPENDENT
              key: 'jenkins.last_successful_build.duration[{#NAME}]'
              units: s
              description: 'Build duration (in seconds).'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastSuccessfulBuild.duration
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: 701c272b59c046e4948a7dc814374d59
              name: 'Job [{#NAME}]: Last Successful Build number'
              type: DEPENDENT
              key: 'jenkins.last_successful_build.number[{#NAME}]'
              description: 'Details: {#URL}/lastSuccessfulBuild/'
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastSuccessfulBuild.number
                  error_handler: DISCARD_VALUE
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
            - uuid: 1adbf52ee3f946118f8a37cf2487262d
              name: 'Job [{#NAME}]: Last Successful Build timestamp'
              type: DEPENDENT
              key: 'jenkins.last_successful_build.timestamp[{#NAME}]'
              units: unixtime
              preprocessing:
                - type: JSONPATH
                  parameters:
                    - $.lastSuccessfulBuild.timestamp
                  error_handler: DISCARD_VALUE
                - type: MULTIPLIER
                  parameters:
                    - '0.001'
                - type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 30m
              master_item:
                key: 'jenkins.job.get[{#NAME}]'
              tags:
                - tag: component
                  value: jobs
                - tag: job
                  value: '{#NAME}'
          url: '{$JENKINS.URL}/api/json'
          query_fields:
            - name: tree
              value: 'jobs[name,description,url]'
          lld_macro_paths:
            - lld_macro: '{#DESCRIPTION}'
              path: $.description
            - lld_macro: '{#NAME}'
              path: $.name
            - lld_macro: '{#URL}'
              path: $.url
          preprocessing:
            - type: JSONPATH
              parameters:
                - '$.jobs.[*]'
      tags:
        - tag: class
          value: application
        - tag: target
          value: jenkins
      macros:
        - macro: '{$JENKINS.API.KEY}'
          description: 'API key to access Metrics Servlet'
        - macro: '{$JENKINS.API.TOKEN}'
          description: 'API token for HTTP BASIC authentication.'
        - macro: '{$JENKINS.FILE_DESCRIPTORS.MAX.WARN}'
          value: '85'
          description: 'Maximum percentage of file descriptors usage alert threshold (for trigger expression).'
        - macro: '{$JENKINS.JOB.HEALTH.SCORE.MIN.WARN}'
          value: '50'
          description: 'Minimum job''s health score (for trigger expression).'
        - macro: '{$JENKINS.PING.REPLY}'
          value: pong
          description: 'Expected reply to the ping.'
        - macro: '{$JENKINS.URL}'
          description: 'Jenkins URL in the format `<scheme>://<host>:<port>`'
        - macro: '{$JENKINS.USER}'
          value: zabbix
          description: 'Username for HTTP BASIC authentication'
      valuemaps:
        - uuid: d1b719ea85464279bd473fcdb34008da
          name: 'Computer online'
          mappings:
            - value: '0'
              newvalue: Online
            - value: '1'
              newvalue: Offline
        - uuid: 5313fc2399b24216945ed6416a00d55d
          name: 'Computer state'
          mappings:
            - value: '0'
              newvalue: 'False'
            - value: '1'
              newvalue: 'True'
        - uuid: a51dacf033d1423a886ca9dbfdf9b175
          name: 'Jenkins healthcheck'
          mappings:
            - value: '0'
              newvalue: Failed
            - value: '1'
              newvalue: Ok
        - uuid: b45a6b0148074212bf45d6bb311565c2
          name: 'Service state'
          mappings:
            - value: '0'
              newvalue: Down
            - value: '1'
              newvalue: Up
  triggers:
    - uuid: d79dc9c1dab142d18791172e6df0a4e9
      expression: 'last(/Jenkins by HTTP/jenkins.disk_space)=0 and length(last(/Jenkins by HTTP/jenkins.disk_space.message))>0'
      name: 'Disk space is too low'
      priority: WARNING
      description: |
        Jenkins disk space monitors are reporting the disk space as less than the configured threshold. The message will reference the first node which fails this check.
        Health check message: {{ITEM.LASTVALUE2}.regsub("(.*)",\1)}
      tags:
        - tag: scope
          value: capacity
    - uuid: 121e23bd172d447cb975595685495a93
      expression: 'last(/Jenkins by HTTP/jenkins.plugins)=0 and length(last(/Jenkins by HTTP/jenkins.plugins.message))>0'
      name: 'One or more Jenkins plugins failed to start'
      priority: INFO
      description: |
        A failure is typically indicative of a potential issue within the Jenkins installation that will either be solved by explicitly disabling the failing plugin(s) or by resolving the corresponding plugin dependency issues.
        Health check message: {{ITEM.LASTVALUE2}.regsub("(.*)",\1)}
      manual_close: 'YES'
      tags:
        - tag: scope
          value: notice
    - uuid: 34de8503a2c84fffb1beb701a4a991ab
      expression: 'last(/Jenkins by HTTP/jenkins.temporary_space)=0 and length(last(/Jenkins by HTTP/jenkins.temporary_space.message))>0'
      name: 'Temporary space is too low'
      priority: WARNING
      description: |
        Jenkins temporary space monitors are reporting the temporary space as less than the configured threshold. The message will reference the first node which fails this check.
        Health check message: {{ITEM.LASTVALUE2}.regsub("(.*)",\1)}
      tags:
        - tag: scope
          value: capacity
    - uuid: f0a09eb0743948bb8f52a4c28aa728c5
      expression: 'last(/Jenkins by HTTP/jenkins.thread_deadlock)=0 and length(last(/Jenkins by HTTP/jenkins.thread_deadlock.message))>0'
      name: 'There are deadlocked threads in Jenkins master JVM'
      priority: WARNING
      description: |
        There are any deadlocked threads in the Jenkins master JVM.
        Health check message: {{ITEM.LASTVALUE2}.regsub('(.*)',\1)}
      tags:
        - tag: scope
          value: performance
  graphs:
    - uuid: 3fdcf5d5d81f4bf3b854984917cb3d32
      name: 'Jenkins: Executors'
      graph_items:
        - color: 199C0D
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.executor.count
        - sortorder: '1'
          color: F63100
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.executor.free
        - sortorder: '2'
          color: 00611C
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.executor.in_use
    - uuid: 6278f5e2def74f2ba8e92872d26a8940
      name: 'Jenkins: Queues'
      graph_items:
        - color: 199C0D
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.queue.blocked
        - sortorder: '1'
          color: F63100
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.queue.size
        - sortorder: '2'
          color: 00611C
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.queue.buildable
        - sortorder: '3'
          color: F7941D
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.queue.pending
        - sortorder: '4'
          color: FC6EA3
          item:
            host: 'Jenkins by HTTP'
            key: jenkins.queue.stuck
