Skip to content

Get-PureOneMetric with volume_read_iops or other volume metric does not work #60

@aureliandan

Description

@aureliandan

Hello, I've tried to extract some volume statistics from Pure1 using PowerShell module for Pure1, ver 1.4.4.3 but I get an error: like this: "Invoke-RestMethod : The remote server returned an error: (404) Not Found."

C:> $l = Get-PureOneMetric -ObjectName "Array1" -MetricName volume_read_iops -Verbose
VERBOSE: GET https://api.pure1.purestorage.com/api/1.latest/metrics?names='volume_read_iops' with 0-byte payload
VERBOSE: received -1-byte response of content type application/json
VERBOSE: GET https://api.pure1.purestorage.com/api/1.latest/metrics/history?aggregation='avg'&end_time=1737660145722&names='volume_read_iops'&resolution=30000&start_time=1734636145655&resource_names='Array1' with
0-byte payload
Invoke-RestMethod : The remote server returned an error: (404) Not Found.

I'm able to extract similar info for the array like, array_read_iops or array_write_iops but not for volumes.

Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions