Forum Discussion
3 years ago
17 hours ago, Stuart Weenig said:At the top of the linked page is this link to an example groovy script for MS SQL: https://github.com/sweenig/monitoring-recipes/blob/master/DataSources/Groovy/JDBC/Groovy_JDBC_MSSQL.groovy.
Line 38 has your SQL query, and lines 39-43 are where you'd have to write code to output the numbers based on the text values.
OMG, I really did not see that ?
Thanks Stuart.