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

Reduce amount of data retrieved by vmware collector

XMLWordPrintable

      Currently vmware collector retrieves object top level properties - for example overallStatus, name, vm, summary, parent, datastore are retrieved for hypervisors. However often we really need only a subset of retrieved data. For example we aren't using summary/runtime, which is quite large. So instead of retrieving whole summary property we should specify detalized property paths:

                  <urn:propSet>
                     <urn:type>HostSystem</urn:type>
                     <urn:pathSet>overallStatus</urn:pathSet>
                     <urn:pathSet>name</urn:pathSet>
                     <urn:pathSet>vm</urn:pathSet>
                     <urn:pathSet>summary.quickStats</urn:pathSet>
                     <urn:pathSet>summary.config</urn:pathSet>
                     <urn:pathSet>summary.hardware</urn:pathSet>
                     <urn:pathSet>parent</urn:pathSet>
                     <urn:pathSet>datastore</urn:pathSet>
                  </urn:propSet>
      

      The attached patch provides simple optimization, recuding the amount of retrieved data by 50%

            Unassigned Unassigned
            wiper Andris Zeila
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: