VMware vSphere

 View Only
  • 1.  Metric Counter Question

    Posted Oct 03, 2019 06:57 PM

    I am trying to get some performance stats from our VSphere environment. I am running a PowerCli command to get storage latency info and am getting an error....

    "The metric counter "datastore.numberreadaveraged.average" doesn't exist for entity vmname"

    Is there a way to add this metric counter to the VM so I can gather the info from the script? If I run the Get-Stattype -Entity vmname command I can see a couple disk counters listed but not the one I am looking for. I have done Google searching and having no luck finding an answer. Can someone shed some light on this form me?

    Thanks in advance!



  • 2.  RE: Metric Counter Question
    Best Answer

    Posted Oct 03, 2019 06:58 PM

    You need to increase your statistics level

    Configure Statistics Collection Intervals in the vSphere Client



  • 3.  RE: Metric Counter Question

    Posted Oct 04, 2019 01:55 PM

    Thank you sjesse​ that is what I am looking for. I appreciate your help!



  • 4.  RE: Metric Counter Question

    Posted Oct 04, 2019 06:15 PM

    One more quick question. I have increased the Statistics Level in VCenter to level 3 which should be enough. When I run the Get-Stattype -Entity I dont see the new stattype. Is there a period of time it has to be enabled before I see the datastore.numberWriteAveraged.average listed?



  • 5.  RE: Metric Counter Question

    Posted Oct 04, 2019 08:11 PM

    Nevermind I see it now. Just have to wait for settings to update.



  • 6.  RE: Metric Counter Question

    Posted Oct 04, 2019 12:46 PM