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

RabbitMQ templates: optimizations for LLD

XMLWordPrintable

    • S24-W16/17
    • 1

      The official templates for RabbitMQ (at least, RabbitMQ cluster by Zabbix agent for Zabbix v6) has the following issues:

      • it has 3 LLD rules, each of them has "Dependent" type;
      • each master item for these LLD has update interval 1 minute;
      • in result, each of these LLD runs every minute; however, the most of it configuration usually changes rarely.

      The proposed enhancements:

      • for the "Health check <version> discovery" LLD rules just to add once more preprocessing step with Throttling type (Discard unchanged with heartbeat) and interval "1h";
      • for the "Queues discovery" LLD rule add 2 preprocessing rules:
        • the JavaScript with the following code:
          //return only needed static properties
          return JSON.stringify(JSON.parse(value),['node','name','vhost']);
          

          This code will transform the source big JSON into very compact format containing only necessary for LLD information (that is usually static enough and rarely changed);

        • again, the preprocessing step with Throttling type (Discard unchanged with heartbeat) and interval "1h".

      It will dramatically decrease a load to the LLD processes.

      (by the way, the same solution already proposed at the forum more than 3 years ago)

            sasha Alexander Vladishev
            constantin.oshmyan Constantin Oshmyan
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: