Automation

 View Only
  • 1.  Question on getting VM stats

    Posted Mar 17, 2021 06:06 PM

    Hi. I have always had issues with stats in PowerCLI and understanding them. Could someone point me to a page or tutorial where I can learn how to do something like. For example.

    Get-Stat -Entity myvm -Realtime -Stat 'disk.numberRead.summation' | select value

    I am trying to write something which would return any VM that say has this stat above 5,000 for 24hr or 48hr or some interval. I get confused how to use the intervals and round ups. This command will help us try go find some hung boxes. I just don't know how to use it properly. It is easy to see this in the VCSA7 advanced monitoring for a VM and eyeball it back a couple of days. Thanks,,,

     



  • 2.  RE: Question on getting VM stats
    Best Answer

    Posted Mar 17, 2021 06:23 PM

    I wrote some blog posts that handle the basics, see my PowerCLI & vSphere Statistics series.



  • 3.  RE: Question on getting VM stats

    Posted Mar 17, 2021 06:27 PM

    Hi. Thank you very much! Thanks,,,