Automation

 View Only
  • 1.  Daily Report on Datastore IOPS and Latency

    Posted Apr 22, 2014 04:58 PM

    Hi,

    I'm trying to put together a script that will run as a daily task to report the total datastore IOPS and latency (read and write for both) at 5-minute intervals over the course of a day from midnight to midnight. I've got it working fine for IOPS (formatting could be prettier etc, I'm sure export-csv will help there) but what I'm struggling with at the moment is the latency. I've tried the command

    get-datastore "<datastore-name>" | get-state -stat "datastore.totalwritelatency.average"

    but I get back

    The metric counter "datastore.totalwritelatency.average" doesn't exist for entity "<datastore-name>"

    Web search throws up nothing conclusive. Any ideas? I'm happy to hear any out-of-the box scripts / options also :smileyhappy:

    Thanks,

    number1vspherefan.



  • 2.  RE: Daily Report on Datastore IOPS and Latency

    Posted Apr 22, 2014 07:00 PM