-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieving statistics #177
Comments
You can retrieve statistics such as link, memory, and power metrics using the IntersightMetricsMetricsExploration cmdlet. Below are examples for each type of statistic: Link Statistics: $Organization1 = Get-IntersightOrganizationOrganization -Moid "0599c48*****52d33672ec" | Get-IntersightMoMoRef $mo1 = New-IntersightMetricsMetricsExploration -Granularity "PT10M" -Intervals @("last.day") -IsWidget $false -MetricCriteria @($MetricCriteria11) -Name "Test-linkStatus" -Organization $Organization1 -VisualConfig $VisualConfig1 Power Statistics: $Organization1 = Get-IntersightOrganizationOrganization -Moid "0599c48*****52d33672ec" | Get-IntersightMoMoRef $mo1 = New-IntersightMetricsMetricsExploration -Granularity "PT10M" -Intervals @("last.day") -IsWidget $false -MetricCriteria @($MetricCriteria11) -Name "Test_powerStatus" -Organization $Organization1 -VisualConfig $VisualConfig1 Memory Statistics: $Organization1 = Get-IntersightOrganizationOrganization -Moid "0599c48*****52d33672ec" | Get-IntersightMoMoRef $mo1 = New-IntersightMetricsMetricsExploration -Granularity "PT10M" -Intervals @("last.day") -IsWidget $false -MetricCriteria @($MetricCriteria11) -Name "Test-MemoryStatus" -Organization $Organization1 -VisualConfig $VisualConfig1 Filtering and Sorting: |
I'm attempting to pull out statistics via the powershell commandlet - but i can't seem to figure it out.
I've tried reading through the commands and the "documentation" but i simply can't figure out how to pull out link statistics, memory statistics and power statistics .
I've found the metric explorer:
Get-IntersightMetricsMetricsExploration
https://github.com/CiscoDevNet/intersight-powershell/blob/main/docs/Set-IntersightMetricsMetricsExploration.md
But i can't actually find any results...
Has anyone actually managed to retrieve statistics via API?
The text was updated successfully, but these errors were encountered: