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

Zabbix NGINX does not accept HTTP/2 or HTTP/3 on the stub page response

XMLWordPrintable

    • Sprint 105 (Oct 2023)

      Without this patch the Trigger will be unhappy: "Nginx: Failed to fetch stub status page (or no data for 30m)".

      I tested the fix and it works: "Resolved in 46d 14h 41m 30s: Nginx: Failed to fetch stub status page (or no data for 30m)"

      On https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/nginx_http/template_app_nginx_http.yaml?at=release%2F6.4

       

      commit e7587d31edb3410af96deda391ae0b66cbc40685 (HEAD -> fix-http-2-3-regex)
      Author: William Desportes <[email protected]>
      Date:   Sat Oct 14 12:35:07 2023 +0200    Fix HTTP/2 or HTTP/3diff --git a/templates/app/nginx_http/template_app_nginx_http.yaml b/templates/app/nginx_http/template_app_nginx_http.yaml
      index e5793a2..e6b4793 100644
      --- a/templates/app/nginx_http/template_app_nginx_http.yaml
      +++ b/templates/app/nginx_http/template_app_nginx_http.yaml
      @@ -246,7 +246,7 @@ zabbix_export:
                 triggers:
                   - uuid: 78e0a6322a1941469a0e108a9367c420
                     expression: |
      -                find(/Nginx by HTTP/nginx.get_stub_status,,"like","HTTP/1.1 200")=0 or
      +                find(/Nginx by HTTP/nginx.get_stub_status,,"iregexp","HTTP/.* 200")=0 or
                        nodata(/Nginx by HTTP/nginx.get_stub_status,30m)=1
                     name: 'Nginx: Failed to fetch stub status page'
                     event_name: 'Nginx: Failed to fetch stub status page (or no data for 30m)'
       

            zit Zabbix Integration Team
            williamdes William Desportes
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: