Quantcast
Channel: THWACK: Popular Discussions - Orion SDK
Viewing all articles
Browse latest Browse all 3719

How to use an API call to get free space of all Windows Nodes Volumes

$
0
0

I am currently using Postman and a GET command that successfully returns the "Caption" and "VolumeSpaceAvailable" for all nodes. I use the following statement to do so:

https://localhost:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT Caption, VolumeSpaceAvailable FROM Orion.Volumes

This is great and works, but I'd like to be able to return only my Windows nodes. I've tried things like:

https://localhost:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT Caption, VolumeSpaceAvailable FROM Orion.Volumes WHERE Vendor like 'Microsoft'

But this does not work since this info is pulled FROM Orion.Nodes so it can't access the Vendor info. (Reference here: SolarWinds Information Service v3.0 Schema Documentation Index ) So my question is how do I get info from both Orion.Volumes and Orion.Nodes with my API call?

 

Thanks!


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>