Oxalide / vsphere-influxdb-go

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

Is it possible to gather vmotion stats? #75

Open v4vamsee opened 6 years ago

v4vamsee commented 6 years ago

Hello,

I would like to know if this tool can capture the vmotion details too. If yes can you please help guide me how to accomplish it.

I have tried adding following to the existing sample json file provided, but I don't see the related metrics in influxdb:

{ "ObjectType": [ "VirtualMachine" ], "Definition": [ { "Metric": "vmop.numSVMotion.latest", "Instances": "" }, { "Metric": "vmop.numVMotion.latest", "Instances": "" }, { "Metric": "vmop.numXVMotion.latest", "Instances": "" }, { "Metric": "net.throughput.usage.vmotion.average", "Instances": "" }

                    ]
            },
            {
                    "ObjectType": [ "HostSystem" ],
                    "Definition": [
                            { "Metric": "vmop.numSVMotion.latest", "Instances": "*" },
                            { "Metric": "vmop.numVMotion.latest", "Instances": "*" },
                            { "Metric": "vmop.numXVMotion.latest", "Instances": "*" },
                            { "Metric": "net.throughput.usage.vmotion.average", "Instances": "*" }
sofixa commented 6 years ago

Hi,

Nope, not yet, but i'll mark this as a feature request (if anyone is willing to give a hand, you're more than welcome).

Adrian