Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251313

Re: Capacity and performance Trending reports

$
0
0

Hi LucD, H2, H3, and H4 return data.  H3 and H4 is what I am using to pulling with the script.

 

 

PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> $ds = Ge
t-Datastore -Name datastore04
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Stat
2 -Entity $ds.ExtensionData -QueryMetrics -Interval HI1
-Interval parameter HI1 is invalid for datastore metrics.
At C:\Users\jbaggett\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.p
s1:101 char:7
+       Throw "-Interval parameter $Interval is invalid for datastore metrics."
+       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (-Interval param...astore metr
   ics.:String) [], RuntimeException
    + FullyQualifiedErrorId : -Interval parameter HI1 is invalid for datastore
    metrics.
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Stat
2 -Entity $ds.ExtensionData -QueryMetrics -Interval HI2
Id     : 178
Name   : capacity
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 177
Name   : provisioned
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 179
Name   : unshared
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 176
Name   : used
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Stat
2 -Entity $ds.ExtensionData -QueryMetrics -Interval HI3
Id     : 178
Name   : capacity
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 177
Name   : provisioned
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 179
Name   : unshared
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 176
Name   : used
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
PowerCLI C:\Program Files (x86)\VMware\Infrastructure\vSphere PowerCLI> Get-Stat
2 -Entity $ds.ExtensionData -QueryMetrics -Interval HI4
Id     : 178
Name   : capacity
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 177
Name   : provisioned
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 179
Name   : unshared
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk
Id     : 176
Name   : used
Rollup : latest
Level  : 1
Type   : absolute
Unit   : kiloBytes
Group  : disk

 

Thanks,

JB


Viewing all articles
Browse latest Browse all 251313

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>