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

problem parsing response by RabbitMQ template

    XMLWordPrintable

Details

    • Incident report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.0.6
    • None
    • Templates (T)
    • Ubuntu 18.04 on aarch64 in AWS

    Description

      Steps to reproduce:

      1. Rebuild Agent2 from source for Ububntu 18.04 on aarch64 and install
      2. Clone RabbitMQ Cluster by Zabbix Agent and Configure
      3. Link template to discovered host
      4. Wait for data refresh

      Result:
      Basic items are created for/from all discovered artifacts EXCEPT those reliant on RabbitMQ Get Queues, which fails with the following error message

      Preprocessing failed for: [{"arguments":{},"auto_delete":false,"backing_queue_status":{"avg_ack_egress_rate":0.0,"avg_ack_i...
      1. Failed: cannot perform regular expression "\n\s?\n(.*)" match for value of type "string": pattern does not match

      This works as expected on another instance (not the same architecture) but the difference between them is the instance that fails returns approximately 11.8MB of json in response to the API call to RabbitMQ to get a list of queues (there are more than 7000 queues). The instance that functions as expected returns far fewer queues.

      The json is returned intact using curl (for e.g.) but when looking at the raw data in the Zabbix UI, it appears to be truncated. I can't tell if it actually has been truncated or if it is a limitation of the UI control in the Zabbix UI.

      The behavior is the same if I use the "RabbitMQ Cluster by HTTP

      Is there a limit to the payload size returned by the agent ?

      Attachments

        Activity

          People

            zit Zabbix Integration Team
            AndrewSwD Andrew Francis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: