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

Velocloud "Get data" item takes too much time to iterate through all loops

XMLWordPrintable

    • Support backlog
    • 1.5

      For the template:

      https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/templates/net/velocloud_http?at=refs%2Fheads%2Frelease%2F6.0

      In the "Get data" Script item there are different loops like:

      for (var i in enterprises) {
      ...
      }
      
      for (var i in edges) {         
        for (var e in responseEdgeSDWan) {
        ..
        ..
        }
      }

      The default time in the template "Script" item is '10s'. It takes more than 1 minute to go through all the loops. We modified the script (get-data-iteration.js) to put some "Zabbix.Log" on certain steps. The output is velocloud_iteration.log

      Kindly suggest a solution.

        1. get-data-iteration.js
          4 kB
          Aigars Kadikis
        2. velocloud_iteration.log
          21 kB
          Aigars Kadikis
        3. VeloCloud_v1.2.yaml
          81 kB
          Edgar Akhmetshin

            egordymov Evgenii Gordymov
            aigars.kadikis Aigars Kadikis
            Team INT
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: