We have an SQL environment and we are checking certain complex things via SQL Procedures that are run through SQL Agent and fire an alert. The alert firing is also part of the procedure script that is running on SQL Agent. I want to migrate this to Solarwinds. I am trying to do it through "SQL Server User Experience Monitor" and not sure how does the Solarwinds fetch the thresholds from the query. We have eliminated the alert firing code already from the procedure but not sure how can Solarwinds Monitor fetch the results of the query.