-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add input plugin for VMware vSphere (#4141)
- Loading branch information
1 parent
fa1c572
commit 5f3c331
Showing
11 changed files
with
2,448 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,287 @@ | ||
# Common vSphere Performance Metrics | ||
The set of performance metrics in vSphere is open ended. Metrics may be added or removed in new releases | ||
and the set of available metrics may vary depending hardware, as well as what plugins and add-on products | ||
are installed. Therefore, providing a definitive list of available metrics is difficult. The metrics listed | ||
below are the most commonly available as of vSphere 6.5. | ||
|
||
To list the exact set in your environment, please use the govc tool available [here](https://github.com/vmware/govmomi/tree/master/govc) | ||
|
||
To obtain the set of metrics for e.g. a VM, you may use the following command: | ||
``` | ||
govc metric.ls vm/* | ||
``` | ||
|
||
## Virtual Machine Metrics | ||
``` | ||
cpu.demandEntitlementRatio.latest | ||
cpu.usage.average | ||
cpu.ready.summation | ||
cpu.run.summation | ||
cpu.system.summation | ||
cpu.swapwait.summation | ||
cpu.costop.summation | ||
cpu.demand.average | ||
cpu.readiness.average | ||
cpu.maxlimited.summation | ||
cpu.wait.summation | ||
cpu.usagemhz.average | ||
cpu.latency.average | ||
cpu.used.summation | ||
cpu.overlap.summation | ||
cpu.idle.summation | ||
cpu.entitlement.latest | ||
datastore.maxTotalLatency.latest | ||
disk.usage.average | ||
disk.read.average | ||
disk.write.average | ||
disk.maxTotalLatency.latest | ||
mem.llSwapUsed.average | ||
mem.swapin.average | ||
mem.vmmemctltarget.average | ||
mem.activewrite.average | ||
mem.overhead.average | ||
mem.vmmemctl.average | ||
mem.zero.average | ||
mem.swapoutRate.average | ||
mem.active.average | ||
mem.llSwapOutRate.average | ||
mem.swapout.average | ||
mem.llSwapInRate.average | ||
mem.swapinRate.average | ||
mem.granted.average | ||
mem.latency.average | ||
mem.overheadMax.average | ||
mem.swapped.average | ||
mem.compressionRate.average | ||
mem.swaptarget.average | ||
mem.shared.average | ||
mem.zipSaved.latest | ||
mem.overheadTouched.average | ||
mem.zipped.latest | ||
mem.consumed.average | ||
mem.entitlement.average | ||
mem.usage.average | ||
mem.decompressionRate.average | ||
mem.compressed.average | ||
net.multicastRx.summation | ||
net.transmitted.average | ||
net.received.average | ||
net.usage.average | ||
net.broadcastTx.summation | ||
net.broadcastRx.summation | ||
net.packetsRx.summation | ||
net.pnicBytesRx.average | ||
net.multicastTx.summation | ||
net.bytesTx.average | ||
net.bytesRx.average | ||
net.droppedRx.summation | ||
net.pnicBytesTx.average | ||
net.droppedTx.summation | ||
net.packetsTx.summation | ||
power.power.average | ||
power.energy.summation | ||
rescpu.runpk1.latest | ||
rescpu.runpk15.latest | ||
rescpu.maxLimited5.latest | ||
rescpu.actpk5.latest | ||
rescpu.samplePeriod.latest | ||
rescpu.runav1.latest | ||
rescpu.runav15.latest | ||
rescpu.sampleCount.latest | ||
rescpu.actpk1.latest | ||
rescpu.runpk5.latest | ||
rescpu.runav5.latest | ||
rescpu.actav15.latest | ||
rescpu.actav1.latest | ||
rescpu.actpk15.latest | ||
rescpu.actav5.latest | ||
rescpu.maxLimited1.latest | ||
rescpu.maxLimited15.latest | ||
sys.osUptime.latest | ||
sys.uptime.latest | ||
sys.heartbeat.latest | ||
virtualDisk.write.average | ||
virtualDisk.read.average | ||
``` | ||
|
||
## Host System Metrics | ||
``` | ||
cpu.corecount.contention.average | ||
cpu.usage.average | ||
cpu.reservedCapacity.average | ||
cpu.usagemhz.minimum | ||
cpu.usagemhz.maximum | ||
cpu.usage.minimum | ||
cpu.usage.maximum | ||
cpu.capacity.provisioned.average | ||
cpu.capacity.usage.average | ||
cpu.capacity.demand.average | ||
cpu.capacity.contention.average | ||
cpu.corecount.provisioned.average | ||
cpu.corecount.usage.average | ||
cpu.usagemhz.average | ||
disk.throughput.contention.average | ||
disk.throughput.usage.average | ||
mem.decompressionRate.average | ||
mem.granted.average | ||
mem.active.average | ||
mem.shared.average | ||
mem.zero.average | ||
mem.swapused.average | ||
mem.vmmemctl.average | ||
mem.compressed.average | ||
mem.compressionRate.average | ||
mem.reservedCapacity.average | ||
mem.capacity.provisioned.average | ||
mem.capacity.usable.average | ||
mem.capacity.usage.average | ||
mem.capacity.entitlement.average | ||
mem.capacity.contention.average | ||
mem.usage.minimum | ||
mem.overhead.minimum | ||
mem.consumed.minimum | ||
mem.granted.minimum | ||
mem.active.minimum | ||
mem.shared.minimum | ||
mem.zero.minimum | ||
mem.swapused.minimum | ||
mem.consumed.average | ||
mem.usage.maximum | ||
mem.overhead.maximum | ||
mem.consumed.maximum | ||
mem.granted.maximum | ||
mem.overhead.average | ||
mem.shared.maximum | ||
mem.zero.maximum | ||
mem.swapused.maximum | ||
mem.vmmemctl.maximum | ||
mem.usage.average | ||
mem.active.maximum | ||
mem.vmmemctl.minimum | ||
net.throughput.contention.summation | ||
net.throughput.usage.average | ||
net.throughput.usable.average | ||
net.throughput.provisioned.average | ||
power.power.average | ||
power.powerCap.average | ||
power.energy.summation | ||
vmop.numShutdownGuest.latest | ||
vmop.numPoweroff.latest | ||
vmop.numSuspend.latest | ||
vmop.numReset.latest | ||
vmop.numRebootGuest.latest | ||
vmop.numStandbyGuest.latest | ||
vmop.numPoweron.latest | ||
vmop.numCreate.latest | ||
vmop.numDestroy.latest | ||
vmop.numRegister.latest | ||
vmop.numUnregister.latest | ||
vmop.numReconfigure.latest | ||
vmop.numClone.latest | ||
vmop.numDeploy.latest | ||
vmop.numChangeHost.latest | ||
vmop.numChangeDS.latest | ||
vmop.numChangeHostDS.latest | ||
vmop.numVMotion.latest | ||
vmop.numSVMotion.latest | ||
vmop.numXVMotion.latest | ||
``` | ||
|
||
## Cluster Metrics | ||
``` | ||
cpu.corecount.contention.average | ||
cpu.usage.average | ||
cpu.reservedCapacity.average | ||
cpu.usagemhz.minimum | ||
cpu.usagemhz.maximum | ||
cpu.usage.minimum | ||
cpu.usage.maximum | ||
cpu.capacity.provisioned.average | ||
cpu.capacity.usage.average | ||
cpu.capacity.demand.average | ||
cpu.capacity.contention.average | ||
cpu.corecount.provisioned.average | ||
cpu.corecount.usage.average | ||
cpu.usagemhz.average | ||
disk.throughput.contention.average | ||
disk.throughput.usage.average | ||
mem.decompressionRate.average | ||
mem.granted.average | ||
mem.active.average | ||
mem.shared.average | ||
mem.zero.average | ||
mem.swapused.average | ||
mem.vmmemctl.average | ||
mem.compressed.average | ||
mem.compressionRate.average | ||
mem.reservedCapacity.average | ||
mem.capacity.provisioned.average | ||
mem.capacity.usable.average | ||
mem.capacity.usage.average | ||
mem.capacity.entitlement.average | ||
mem.capacity.contention.average | ||
mem.usage.minimum | ||
mem.overhead.minimum | ||
mem.consumed.minimum | ||
mem.granted.minimum | ||
mem.active.minimum | ||
mem.shared.minimum | ||
mem.zero.minimum | ||
mem.swapused.minimum | ||
mem.consumed.average | ||
mem.usage.maximum | ||
mem.overhead.maximum | ||
mem.consumed.maximum | ||
mem.granted.maximum | ||
mem.overhead.average | ||
mem.shared.maximum | ||
mem.zero.maximum | ||
mem.swapused.maximum | ||
mem.vmmemctl.maximum | ||
mem.usage.average | ||
mem.active.maximum | ||
mem.vmmemctl.minimum | ||
net.throughput.contention.summation | ||
net.throughput.usage.average | ||
net.throughput.usable.average | ||
net.throughput.provisioned.average | ||
power.power.average | ||
power.powerCap.average | ||
power.energy.summation | ||
vmop.numShutdownGuest.latest | ||
vmop.numPoweroff.latest | ||
vmop.numSuspend.latest | ||
vmop.numReset.latest | ||
vmop.numRebootGuest.latest | ||
vmop.numStandbyGuest.latest | ||
vmop.numPoweron.latest | ||
vmop.numCreate.latest | ||
vmop.numDestroy.latest | ||
vmop.numRegister.latest | ||
vmop.numUnregister.latest | ||
vmop.numReconfigure.latest | ||
vmop.numClone.latest | ||
vmop.numDeploy.latest | ||
vmop.numChangeHost.latest | ||
vmop.numChangeDS.latest | ||
vmop.numChangeHostDS.latest | ||
vmop.numVMotion.latest | ||
vmop.numSVMotion.latest | ||
vmop.numXVMotion.latest | ||
``` | ||
|
||
## Datastore Metrics | ||
``` | ||
datastore.numberReadAveraged.average | ||
datastore.throughput.contention.average | ||
datastore.throughput.usage.average | ||
datastore.write.average | ||
datastore.read.average | ||
datastore.numberWriteAveraged.average | ||
disk.used.latest | ||
disk.provisioned.latest | ||
disk.capacity.latest | ||
disk.capacity.contention.average | ||
disk.capacity.provisioned.average | ||
disk.capacity.usage.average | ||
``` |
Oops, something went wrong.
5f3c331
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi danielnelson ,
Thanks a lot for your effort to bring this vSphere input plugin, i am really looking for this vsphere metrics to use in our environment. i have downloaded the latest telegraf version , but i am not able to see this "[[inputs.vsphere]]" in the conf file. Can i directly add that piece of conf in my conf file..? or do i need to do anything else to use this vsphere plugin.? If yes can you please guide me how to do that..?
Thanks a lot in advance and your help in this regard is much appreciated.
5f3c331
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@anil4u-04 I will update the example config today, but you can run
telegraf config > telegraf.conf
to generate the latest config now.5f3c331
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielnelson , sorry for the late response. Thanks a lot for the reply. sure will do it.