Documentation forServer & Application Monitor

Monitor with AppInsight for SQL

Identify performance and troubleshoot issues for SQL databases and queries with AppInsight for SQL. This feature provides consolidated resource views into over 100 performance metrics across all SQL servers monitored by SAM. These metrics include read and write latency, index fragmentation, expensive queries (based on CPU time), SQL agent job status with logs, capacity, and resource consumption for CPU, memory, and drive space. Through one page, monitor resource consumption, respond to alerts, and monitor expensive queries without digging through multiple pages and views.

Investigate issues and performance trends without hunting through numerous views into the SQL servers in your environment. AppInsight for SQL provides a level of detail and expert knowledge far beyond what a SQL template can provide, allowing you to monitor virtually every aspect of your SQL instances and databases. The feature polls and reports metrics without use of agents, directly accessing the SQL server using configured access permissions and credentials using SNMP and WMI.

You may need to log in with an administrator account to perform these actions.

To add a node and configure AppInsight for SQL, see the following:

When applied to a Microsoft SQL instance, the AppInsight for SQL page replaces the default node details page. It monitors as an application using multiple component monitors the AppInsight for SQL template. To modify the template or use other templates, see Edit the AppInsight for SQL template.

The views are accessible through one of the following:

  • SQL Server: provides all monitored SQL applications. Select My Dashboards > Applications > SQL Server, locate and access a node.
  • AppInsight for SQL: in the All Applications widget provides all monitored SQL server nodes. Select My Dashboards > Applications > SAM Summary, locate the All Applications widget. Expand AppInsight for SQL and select a node to view.

The SQL Server Application Summary view provides widgets you can use to monitor overall data for all SQL servers including alerts, events, and consumed resources, including:

  • All Applications view of all currently managed SQL servers as nodes, expandable to locate specific nodes
  • Active Application Alerts for specific alerts affecting SQL servers
  • Top Processes by CPU Load, Physical Memory, Virtual Memory and more to gauge applications consuming resources
  • Top Monitored Processes by I/O Total Operations, Reads, and Writers for highest bandwidth consumption, reads, and write latency

Further expanding the All Applications on the SQL Server Application Summary displays a quick view into performance counters and status. Each counter and metric can be expanded to review data.

To view all information for an application node, select the application from the view to open the details page for the AppInsight for SQL node. For example, MSSQLSERVER on lab-dem-sql-02.demo.lab in the Orion demo encountered a critical alert. To troubleshoot, access the SQL server through the All Applications widget.

This view consolidates all specific data for the selected SQL server:

  • Summary of data including an AppStack view for troubleshooting, alerts, events, expensive queries, capacity usage, and other metrics
  • Queries to filter expensive queries
  • Transactions of WPM transaction monitors for that installed module
  • DB performance for DPA IM data for that installed module

To review database data in the AppInsight for SQL Details view, locate and select a database in the All Databases widget. The Database Details view lists all databases on the node, alerts, AppStack, and more.

To drill down to see performance counter details in the AppInsight for SQL Details view, click a performance counter in any widget.

To learn more about AppInsight for SQL, see:

Did you know that when SAM alerts you about an application failure, you can use SolarWinds IPAM to quickly determine if a broken or missing DNS record is at fault? You can then use SAM to troubleshoot the service further.