Hello,
I am attempting to run a node availability query via the SolarWinds API but for some reason I am getting different results than when I run the availability report via the web-report or report-writer (which both get the same result).
In the web-report I can specify the previous month and in the report-writer it uses the BETWEEN command which are both unavailable when using the API.
The query I am using is below:
SELECT
AVG(RT.Availability) as Availability,
RT.NodeID
FROM
Orion.ResponseTime RT
WHERE
Month(DateTime) = 05
AND Year(DateTime) = 2018
AND NodeID = 555
GROUP BY
NodeID
Would anyone know how to get node availability via the API that gives an accurate result?