Oxalide / vsphere-influxdb-go

Collect VMware vSphere, vCenter and ESXi performance metrics and send them to InfluxDB
GNU General Public License v3.0
215 stars 62 forks source link

VM Infos #69

Open MicKBfr opened 6 years ago

MicKBfr commented 6 years ago

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

sofixa commented 6 years ago

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

MicKBfr commented 6 years ago

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

sofixa commented 5 years ago

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

MicKBfr commented 5 years ago

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