Isilon / isilon_data_insights_connector

Connector to fetch stats from OneFS and push them to InfluxDB/Grafana
MIT License
75 stars 36 forks source link

Feature Request: Quota Support #31

Open nickyruggs opened 7 years ago

nickyruggs commented 7 years ago

Can we get a feature to track quota usage, directory quotas at first. I figure a quota dashboard for visualization, maybe just adding the list of directories in the .cfg file like we do for the stats. The time history of this would be powerful for capacity planning. (i.e. access zone based multi-tenancy)

eschek87 commented 6 years ago

Maybe you can write a script on your own, what I had done in powershell:

  1. You need to query the namespace to get your folders at: https://clusterip:8080/namespace/ifs/.../.../abc
  2. Take that output, loop through each entry and check/query for quotas: https://clusterip:8080/platform/3/quota/quotas?path=/ifs.../.../abc

or if you would like to get all sub directories quotas too you could add "&recurse_path_children=true"

and safe it in influxdb or graphite.

All possible option for quotas could be found at: https://cluster-ip:8080/platform/3/quota/quotas?describe