• 1

      Steps to reproduce:

      1. Generate API token in Cloudflare with the correct permissions.
      2. Create a new host in data collection -> hosts with the zone name
      3. add host groups and other settings as required
      4. add the cloudflare by http template
      5. refer to the docuemntation for the cloudflare integration and create the macros per (https://www.zabbix.com/integrations/cloudflare) including the zone id and api key
      6. save and await for the script to run
      7. tail -100f /var/log/zabbix/zabbix_server.log

      Result:
      While tailing the log see the following lines

      [ Cloudflare ] ERROR: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.get" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.bandwidth.all" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.requests.others_ratio" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.threats.all" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.requests.uncached" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.requests.success_ratio" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".
      422117:20240309:220951.690 item "REDACTED.REDACTED:cloudflare.requests.ssl.unencrypted" became not supported: Cannot execute script: Requesting failed: Request failed with error "unknown field "requestscachedRequestsencryptedRequestsresponseStatusMap"".

      ...
      Expected:
      Data to populate

            abrosimovs Aleksejs Abrosimovs
            tchm t
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: