Hi,
We would like to obtain the Node and Last 7 days Availability percentage data via the SolarWinds API.
Note we want the actual data and not to embed the SolarWinds widget in our user interface.
Please can you assist.
Regards,
Andrew
This Query should get you the last availability of all nodes in the last 7 days
SELECT R.Node.Caption, AVG(R.Availability) AS AvailabilityFROM Orion.ResponseTime RWHERE ObservationTimestamp > ADDDAY(-7, GETUTCDATE())GROUP BY R.Node.NodeID, R.Node.CaptionORDER BY Availability DESC
Thanks - that's pretty much what I was after!