Getting data from the command line.
Some CLI commands require unique data for each host/vm. These properties should be included in a script.
xe host-data-source-list> out.txt
With the command above, obtain a list of available metrics. With an editor like «vi» can edit and list these metrics in order to obtain the list of specific metrics.
The information obtained can be used to create a small script that stores data in a CSV file to proceed with further analysis. (más…)