Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-21693

Several lines in templates files are incorrectly repeated twice

XMLWordPrintable

    • Sprint 93 (Oct 2022)
    • 0.125

      Executing the following grep in templates folder on master:

      grep -zPorI '\n(.+)\n\1\n'
      

      mentions several files where lines are repeated consecutively:
      1)

      app/nginx_plus_http/README.md:
      - {$NGINX.LLD.FILTER.HTTP.ZONE.MATCHES}
      - {$NGINX.LLD.FILTER.HTTP.ZONE.MATCHES}
      

      Second line should probably be UNMATCHES

      2)

      app/kubernetes_http/kubernetes_state_http/README.md:
      |Kubernetes |Kubernetes: Deployment count |<p>The number of deployments.</p> |DEPENDENT |kube.deployment.count<p>**Preprocessing**:</p><p>- PROMETHEUS_PATTERN: `kube_deployment_created`: `function`: `count`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p> |
      |Kubernetes |Kubernetes: Deployment count |<p>The number of deployments.</p> |DEPENDENT |kube.deployment.count<p>**Preprocessing**:</p><p>- PROMETHEUS_PATTERN: `kube_deployment_created`: `function`: `count`</p><p>⛔️ON_FAIL: `DISCARD_VALUE -> `</p> |
      

      3)

      app/etcd_http/template_app_etcd_http.yaml:
                        }
                        }
      

      4)

      app/haproxy_http/template_app_haproxy_http.yaml:
                      - ''
                      - ''
      

      5)

      app/haproxy_agent/template_app_haproxy_agent.yaml:
                      - ''
                      - ''
      

      4) and 5) are probably correct, but 1), 2) and 3) seem wrong to me

            egordymov Evgenii Gordymov
            arimdjonoks Artjoms Rimdjonoks
            Team INT
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: