Subscribe
Accepted Solution

ReST API Analised Statistics - Empty Results

Per the webservice user guide in order to get access to the analised metrics /storage-systems/{system-id}/analysed-volume-statistics and /storage-systems/{system-id}/analysed-drive-statistics I need to change wsconfig.xml from

<env key="stats.poll.interval">0</env> 

to:

 

<env key="stats.poll.interval">60</env> 

and re-start the web_services_proxy service

 

But I still get empty output while calling to the api end points mentioned above. Am I missing any other config tweak?

 

Cheers,

 

Pablo.

Re: ReST API Analised Statistics - Empty Results

did u set stats.poll.save.history?

<env key="stats.poll.save.history">10</env>
Determines the number of days of history to save.
Values:
0 = disabled
>0 = enabled
The installer should default to 0 for the proxy

Cannot find the answer you need?  No need to open a support case - just CHAT and we’ll handle it for you.

Re: ReST API Analised Statistics - Empty Results

Indeed, that fixe the issue, thanks @yaoguang !