Zabbix cloudflare by http not working

XMLWordPrintable

    • Type: Problem report
    • Resolution: Won't fix
    • Priority: Trivial
    • 7.0 (plan)
    • Affects Version/s: 6.2.6
    • Component/s: Templates (T)
    • None
    • 3

      Steps to reproduce:

      1. Add host
      2. Host name is xxx.com.sg
      3. Templates = cloudflare by http
      4. Set up Macros.
      5. Input API token in value, tested working and valid in CLI.
      6. Input Cloudflare zone ID 
      7. URL, bandwidth, max warn and timeout as default.

      Result:
      no data collected.

      Cloudflare: Get data having error of "Cannot execute script: Requesting failed: Request failed with status code 400: {"success":false,"errors":[

      {"code":10000,"message":"Authentication error"}

      ]}"  

      Graph all no data

      Expected:
      See screenshot....
      See attached patch file...

        1. Screenshot 2024-04-09 151448 001.png
          24 kB
          Aleksejs Abrosimovs
        2. Screenshot 2024-04-09 151508.png
          27 kB
          Aleksejs Abrosimovs

            Assignee:
            Aleksejs Abrosimovs
            Reporter:
            Yu Wenwei
            Team INT
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: