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.

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

              Created:
              Updated:
              Resolved: