xoa api SR space usage
-
hi team,
we were wondering, is it possible to get the usage of the SRs of a pool from the xoa API so we could monitor it?
also is there a list somewhere online of what information we can get from the xoa API at the moment? I don't want to bother you with my questions all the time, easier to check what's possible
cheers, Ringo
-
Hi,
This is not a direct answer to your question, but here is a script I used (using Sensu to execute/monitor it):
https://paste.iondev.lu/?59090add7694827a#3TH1vYxNjpz2ZWz4fUNSj4L4brJVRJTMRH9szbk1x8EB -
There's already a plugin that is doing that (alert plugin). But we got a REST API that is easy to use to fetch that info.
Take a look here: https://xen-orchestra.com/docs/restapi.html
-
@jedimarcus thank you i will have a look!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login