hi
need NPM Group availability report in swql on last 24 hours
There is already a report prebuilt for group availability. You can copy that and change the time.
BUT, if you need the SWQL here is an example:
SELECT
C.Name AS [GroupName],
AVG(CS.PercentAvailability) AS [Availability]
FROM Orion.ContainerStatus CS
INNER JOIN Orion.Container C ON CS.ContainerID=C.ContainerID
WHERE CS.DateTime>ADDHOUR(-24,GETDATE())
GROUP BY C.Name
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.