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

Cloureflare HTTP Template: incorrect API key

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Trivial Trivial
    • None
    • 7.0.5
    • Templates (T)
    • None

      Steps to reproduce:

      1. Follow the guide to add the Cloureflare HTTP
      2. Use API with full perms (read/write)
      3. Use ZonerID for domain

      Result: For some reason it is using an API key that does not belong to me or is configured in the macro. Seems to be hard coded somewhere? oddly the ZoneID is pulled correctly. I don't know whos API key that is. I have tried recreating the configuration three times so far.

      1892367:20241108:233453.989 item "cloudflare monitoring:cloudflare.requests.ssl.unencrypted" became not supported: Cannot execute script: Requesting failed: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892367:20241108:233453.989 item "cloudflare monitoring:cloudflare.requests.success_ratio" became not supported: Cannot execute script: Requesting failed: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892367:20241108:233453.989 item "cloudflare monitoring:cloudflare.requests.uncached" became not supported: Cannot execute script: Requesting failed: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892367:20241108:233453.989 item "cloudflare monitoring:cloudflare.threats.all" became not supported: Cannot execute script: Requesting failed: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892367:20241108:233453.989 item "cloudflare monitoring:cloudflare.uniques.all" became not supported: Cannot execute script: Requesting failed: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892401:20241108:233624.726 [ Cloudflare ] ERROR: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892402:20241108:233656.969 [ Cloudflare ] ERROR: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892397:20241108:233658.266 [ Cloudflare ] ERROR: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892397:20241108:233702.586 [ Cloudflare ] ERROR: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892400:20241108:233703.541 [ Cloudflare ] ERROR: Request failed with error "Actor 'com.cloudflare.api.token.843acbd3ead103b51184b02349f912e9' does not have permission 'com.cloudflare.api.account.zone.analytics.read' for zone 66730d91cc0a6b8c9cdd3069e636be38".
      1892371:20241108:234112.249 escalation canceled: trigger id:30424 deleted.

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

            zit Zabbix Integration Team
            michmoor2024 Michael
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: