Hello World!
I have a problem to create an own custom report with VCOPS.
My target ist to list the VM's witch are using high CPU, Memory and DiskIO Ressources.
For this i should use Metric Keylike cpu_usage|usage. But its an invalid MetricKey.
Only the MetricKey with badge like badge|health are working, but for me not intressting.
Is it possible to solve this problem? Or are only the Metrics with Badge supportet?
Thx!
Here is one geeky way to find the actual metric name:
<metric key="mem|sharedcommon_average" scale="KILO" unit="BYTES" type="UTILIZATION"> <res_kinds_to_collect> <res_kind_to_collect>ClusterComputeResource</res_kind_to_collect> </res_kinds_to_collect> </metric>
Hi,
what are the steps you do?
Matrix
First I created the xml file and after that I runed the command vcops-viewsreports file.xml create.
Failure: InvalidMeasureMetricNameException
Can you attach the XML file. I try to found the "errors".
Matrix
I think that you have two things to solve.
Here starts the complicated part: You should add a section describing the metric you want to forward to planning part in a file named: sys_ciq_metrics_collected.xml or user_ciq_metrics_collected.xml. Those files are located at /usr/lib/vmware-vcops/user/conf/analytics (both on UI VM and Analytics VM). For your case you should add something like this in one of those files (on both VMs):
Then restart vcops ("vcops-admin restart" from the console).
Now report creation should succeed.
Thanks,
Alex D.
Thanks!
Now the Report creation was successful. But in the PDF i see only "-". I used cpu|demandmhz
And how are the Metrics for Memory usage and Disk IO?
UPDATE:
with the metricKey cpu|usagemhz_average it works... But i want the actual value. Is a list with all MetricKeys available?
You can perform quick searches via the "Health-Workload" widget by selecting the "Workload" radio button and typing within the search field.
Alternatively, please see the below for querying the VCOPs database:
I have the VCOPS Advanced.
Here is one geeky way to find the actual metric name:
<metric key="mem|sharedcommon_average" scale="KILO" unit="BYTES" type="UTILIZATION"> <res_kinds_to_collect> <res_kind_to_collect>ClusterComputeResource</res_kind_to_collect> </res_kinds_to_collect> </metric>
Now it Works! Perfect Thank you!
Is that correct, that datastore|datastoreIops_average only work with vCenter 4.1?