vsphere-influxdb-go icon indicating copy to clipboard operation
vsphere-influxdb-go copied to clipboard

VM Infos

Open MicKBfr opened this issue 6 years ago • 4 comments

Hi,

I' am using vsphere-influx-go since 1 year and this is excellent tools.

i'm looking to add some info on this dashboard "VMware Performance: Multiple VMs" like VM used space/ Memory allocated/CPU Count/VM description.

I have already try to add : { "Metric": "disk.used.latest", "Instances": "" }, { "Metric": "disk.space.used", "Instances": "" }, { "Metric": "mem.capacity.provisioned.average", "Instances": ""}, { "Metric": "cpu.corecount.provisioned.average", "Instances": "" }, { "Metric": "summary.config.numcpu", "Instances": "*"}, { "Metric": "disk.used.latest", "Instances": " "}, without success :-(

Could you add the collection of this information to roadmap please?

Thanks

MicKBfr avatar Mar 26 '18 15:03 MicKBfr

Hi,

I'm glad you like it!

For the provisioning stats (anything with .provisioned. in the name), you need to be running a vCenter and metric collection level 4 for level 1 (here's how you can do it - https://github.com/Oxalide/vsphere-influxdb-go/tree/master/tools ). Is that the case?

Cheers, Adrian

sofixa avatar Mar 30 '18 20:03 sofixa

Hi Adrian,

I have mad a pull request about domain in esx name. I will try to change collection level just for this metrics, because i have open a case with vmware about hight memory usage with vcenter and they recommend not go more than level 2 for statistic collection.

perhaps we can use this quic stats metrics ? ".quickstats.mem.ballooned", ".quickstats.mem.compressed", ".quickstats.cpu.distributedCpuEntitlement", ".quickstats.mem.distributedMemoryEntitlement",

have a look on this project ( they use some quickstats): https://github.com/sexibytes/sexigraf

thanks

MicKBfr avatar Apr 06 '18 07:04 MicKBfr

Hi, @MicKBfr .

Which version of vCenter are you running? I've had some issues with high resource usage (mostly IO though) with high metric levels on various vCenter versions, but currently no issues whatsoever with 6.5 and 6.7.

QuickStats can be a decent workaround for that though.

Adrian

sofixa avatar Sep 16 '18 14:09 sofixa

Hi Adrian,

Our vcenter is on 6.0U2. We have been some issues with hight memory usage when changing metric collection level. Vmware recommand to not changing collection level. Quickstats can really be a good workaround

Mickael

MicKBfr avatar Sep 27 '18 07:09 MicKBfr