-
Incident report
-
Resolution: Fixed
-
Trivial
-
None
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%