RabbitMQ official timplate bug (with host named "/")

XMLWordPrintable

    • Type: Problem report
    • Resolution: Fixed
    • Priority: Trivial
    • None
    • Affects Version/s: 4.4.4
    • Component/s: Templates (T)
    • None

      Problem with official rabbitMQ template: https://www.zabbix.com/integrations/rabbitmq

      XML was taken from https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/app/rabbitmq_agent (master branch)

      1. I have only one virtual host with name "/"
      2. Autodiscovering found this host with name "/"
      3. Discivered items didn't working in cause wrong url for rabbit API.

      Current:

      curl [http://|http:]{user}:{password}@127.0.0.1:15672/api/queues//dead-letter-queue

      Correct: 

      curl [http://|http:]{user}:{password}@127.0.0.1:15672/api/queues/%2F/dead-letter-queue

      i.e. need to convert slash to "%2F" or add filter to discovering.

       

            Assignee:
            Aigars Kadikis
            Reporter:
            Victor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: