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 !
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 !