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

    • Icon: Problem report Problem report
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 6.0.21, 6.4.6
    • Templates (T)
    • None
    • Support backlog

      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.

            dotneft Alexey Pustovalov
            aigars.kadikis Aigars Kadikis
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: