Unsolved

This post is more than 5 years old

4 Apprentice

 • 

318 Posts

1156

October 18th, 2018 23:00

rest api how to get cluster size ?

I am trying to get the cluster size via REST API

I tried doing a isi --debug status to get the REST calls as this command provides a cluster size info which I am after.

However it seems to do a huge number of calls to gather this and other information.

Can anyone point to the relevant call as I try not re-inventing the wheel

4 Apprentice

 • 

318 Posts

October 19th, 2018 03:00

ok, a little digging shows the call I think I want from

OneFS API Tutorial & InsightIQ Performance Metricshttps://community.emc.com/community/products/isilon/blog/2015/10/29/onefs-api-tutorial-insightiq-performance-metrics

is a stastistics call, i.e.

something from https://github.com/Isilon/isilon_sdk_python/blob/v8.0.0/docs/StatisticsApi.md

however I am running

running against

(isi_sdk_8_1_1.ApiClient(configuration))

and getting

object has no attribute 'get_statistics_current'

is there a way I can verify the api visible from

import isi_sdk_8_1_1 ( in python if this is not obvious )

No Events found!

Top