Evening Fellow Thwacksters,
I was recently on a customer site, and they were getting a lot of questions asked about the various different Warning & Critical alerts coming from SolarWinds. The customer wanted a report that he could present to his business that helped to clarify what Warning & Critical meant in real money so to speak. I knew this must be in the database, and after looking around, I was directed to this report written by aLTeReGo and modified by geoffb & ecklerwr1 .
Great I thought but hold on - Report Writer in 2019 that can't be, there must be a better way to do this! So I loaded up the trusty SWQL Studio and got to work!!!
SELECT DISTINCT
[App].Template.Name AS [Application Template Name]
,[App].FullyQualifiedName AS [Application Name]
,[App].DetailsURL AS [App DetailsURL]
,[App].Status AS [App Status]
,[Comp].Name AS [Component Name]
,[Comp].DetailsURL AS [Comp DetailsURL]
,[Comp].Status AS [Comp Status]
,[Comp].ComponentOrder AS [Component Order]
,[tbcWarn].ThresholdName AS [Threshold Name]
,[tbcWarn].Warning AS [Warning Threshold]
,[tbcCrit].Critical AS [Critical Threshold]
FROM Orion.APM.Application AS [App]
INNER JOIN Orion.APM.Component AS [Comp]
ON App.ApplicationID = Comp.ApplicationID
LEFT JOIN Orion.APM.ThresholdsByComponent AS [tbcWarn]
ON Comp.ComponentID = tbcWarn.ComponentID
AND tbcWarn.Warning < 1.797E+300
AND tbcWarn.Warning > -1.797E-300
LEFT JOIN Orion.APM.ThresholdsByComponent AS [tbcCrit]
ON Comp.ComponentID = tbcCrit.ComponentID
AND tbcCrit.Critical < 1.797E+300
AND tbcCrit.Critical > -1.797E-300
WHERE (tbcWarn.Warning IS NOT NULL)
AND (tbcCrit.Critical IS NOT NULL)
I would like to give thanks to zackm for getting me over the finish line with some of the query logic, and KMSigma for coming in at the end and tidying up the formatting
Oh and wluther for moral support!
I was pretty pleased with the way this turned out, and I loaded it into a Report via Custom Table. I hope it helps other people, and of course, feel free to expand on it in any way. I know I want to.
I've attached the report I build just in case your feeling lazy 
--
- David Smith (dgsmith80 )
Kenson - SolarWinds Authorised Partner
Training, Licenses & Professional Services