Here's my scenario: I'm monitoring a small group of machines with SAM, all of which are running the same application. This application periodically writes some information to a SQL database. All of instances of the application running on these machines write to the same database table. What I would ideally like to do is have an application monitor that performs a query on this database (which is located on a machine that is not being monitored by SAM), and presents the results of the query in a table in the SAM web viewer.
In the exploration and testing I've done so far, it seems as though there isn't a way to view the contents of a database in a format that makes logical sense. I've had some success performing a query on the external database using a Windows PowerShell Monitor. However, the statistic/message format of the interface between the script and SAM is not ideal for the information I would like to get, and the reported statistics show up in ways that don't make sense. For example, an ID number shows up in a guage meant for CPU usage or a similar type of statistic. I know I can customize the views I'm getting in my dashboard, but I have not been able to find a view that seems right for me. Everything I'm seeing is oriented toward showing the overall performance of the database server, rather than showing some of the contents of the database itself. This of course makes sense given the mission of SAM.
Nonetheless, it would be very helpful for me to display the contents of the database alongside overall performance stats. So does anyone know of a way to display the results of query in a tabular format that is similar to what is actually returned raw from the query? Or is this just not possible in SAM?