Read cluster space usage via REST API

669 views
Skip to first unread message

John Beranek - PA

unread,
Aug 6, 2014, 10:10:31 AM8/6/14
to isilon-u...@googlegroups.com
Hi all,

Is it possible to read cluster space usage via the REST API? I can't find any mention of it in the API Reference, so I'm guessing it's not been provided for...

I've ended up having to read it from SNMP, but this is a shame, as the remainder of my Isilon statistics tools use the REST API.

Cheers,

John

Peter Serocka

unread,
Aug 6, 2014, 11:10:11 AM8/6/14
to isilon-u...@googlegroups.com
The storagepools have been added to the API only in 7.1…
> --
> You received this message because you are subscribed to the Google Groups "Isilon Technical User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to isilon-user-gr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Rob Taylor

unread,
Aug 6, 2015, 7:33:42 PM8/6/15
to Isilon Technical User Group
Hi john. Fellow Isilon user here. I have been looking at the API for little bit to see if I can extract some stats from it to put though a monitoring and alerting system.
If you don't mind me asking, what stats do you pull via the rest api? I have grabbed a bunch of stats via snmp, but some are not available that way.
One thing I was looking to monitor is namespace reads, as we have found when they are too high our cluster feels sluggish to the userbase and the complain.
I was trying to monitor this: /platform/1/statistics/current?key=node.ifs.heat.getattr.total&devid=all
I think I have the right thing to monitor, but if I compare it to the stats I get from insightiq for the same time periods, they are not close, which makes me thing I somehow have the
wrong thing, or I need to do some math on the resulting polled number.

Any thoughts?

Thanks.

rgt

Jason Davis

unread,
Aug 7, 2015, 12:06:06 AM8/7/15
to isilon-u...@googlegroups.com

I do quite a bit of monitoring of our *many* Isilon clusters where I work. I have a push to Graphite script that touches on the capacity bits. Not using the API due ideological reasons (push vs. pull holy war)

https://gist.github.com/scr512/3798123b739ce5da5339

We primarily use Grafana,  Tessera and Dashing for our visualization and dashboard needs. For threshold alerting we use Seyren and we're evaluating Boson and Reimann for more advanced alerting.

All of these (except Reimann as it's a stream processing tool) use the Graphite stored data as the source of truth.

--

John Beranek - PA

unread,
Aug 7, 2015, 5:58:13 AM8/7/15
to Isilon Technical User Group
On Friday, 7 August 2015 00:33:42 UTC+1, Rob Taylor wrote:
Hi john. Fellow Isilon user here. I have been looking at the API for little bit to see if I can extract some stats from it to put though a monitoring and alerting system.
If you don't mind me asking, what stats do you pull via the rest api? I have grabbed a bunch of stats via snmp, but some are not available that way.
One thing I was looking to monitor is namespace reads, as we have found when they are too high our cluster feels sluggish to the userbase and the complain.
I was trying to monitor this: /platform/1/statistics/current?key=node.ifs.heat.getattr.total&devid=all
I think I have the right thing to monitor, but if I compare it to the stats I get from insightiq for the same time periods, they are not close, which makes me thing I somehow have the
wrong thing, or I need to do some math on the resulting polled number.

Currently not pulling those sort of stats, at the moment I'm pulling info including:

* Quota usage
* Snapshots
* Jobs
* SyncIQ jobs
* Cluster physical space (via SNMP)
 
Cheers,

John

Reply all
Reply to author
Forward
0 new messages