Automated Diagnostics Overview
Last updated - 03 March, 2026
Automated Diagnostics provide immediate insights into issues that are outside the coverage of automated alerts by collecting data and enabling you to diagnose issues and analyze their root cause in your LogicMonitor portal. The real-time diagnostic data ensures efficient issue resolution and improved system reliability.
You can manually configure DiagnosticSource module and also import out-of-the-box DiagnosticSource. After you configure a DiagnosticSource, you can execute the module to collect data and find root cause of issues for resources. LogicMonitor supports manual and automatic execution of these DiagnosticSources. You can create Diagnostic Rules to automatically execute DiagnosticSource based on the alert conditions specified in the Diagnostic rule. After the DiagnosticSource is executed, you can view the execution result and execution history of a resource.
Note: DiagnosticSources is not supported for non-Collector-based collection types, such as Push Metrics.
DiagnosticSources Configuration and Management
You can configure a DiagnosticSource using Groovy or PowerShell diagnostics scripts to target specific issues such as high CPU utilization or increased memory usage. For more information, see DiagnosticSources Configuration.
In addition, LogicMonitor provides the following out-of-the-box DiagnosticSources that you can import:
- Linux SSH Trace Route—Provides information about the route packets take to reach a network host on a Linux system.
- Linux SSH Top CPU and Memory—Provides information about running processes on a Linux system.
- Linux SSH IP Link—Provides information about network interfaces on a Linux system.
- Microsoft SQLServer Queries—Returns the top longest-running cached queries by total execution time.
- Microsoft SQLServer Blocked Processes—Returns blocking sessions in a Microsoft SQL Server instance.
- Microsoft Powershell – Network Interfaces—Provides information about network interfaces and their configuration on a Windows system.
- Microsoft Powershell – Top CPU and Memory—Provides information about running processes with highest CPU and memory usage on a Windows system.
- Microsoft Powershell – Top Event Logs—Displays the ten most recent critical and error events from the Windows Security, System, and Application Event logs for comprehensive system monitoring.
- Microsoft Powershell – User Privilege Change—Monitors and reports all user privilege escalations and security-related changes from the Windows Security Event logs over the last seven days for audit and compliance purposes.
For more information, see Importing a Module.
You can manage DiagnosticSources to keep them up-to-date. For more information, see Modules Management.
Diagnostic Rules Configuration and Management
You can configure Diagnostic rules to define conditions where an alert automatically executes a DiagnosticSource and associate the results to the resource. For more information, see Diagnostic Rule Configuration.
After rules are configured, you can use LogicMonitor to manage them. For more information, see Diagnostic Rule Management.
Manual and Automated Execution of DiagnosticSources
You can execute DiagnosticSources to collect data and find root cause of issues. LogicMonitor supports the following methods to execute DiagnosticSources:
- Manual execution—You can manually execute the DiagnosticSource script both from the Resources and Alerts page for a resource that has DiagnosticSource applied. For more information, see DiagnosticSource Execution for Resources.
- Automated execution—If you have Diagnostic Rules configured, DiagnosticSources can be automatically executed based on alert rules for resources that have DiagnosticSources applied.
When the DiagnosticSource execution is complete, you can view the result of the diagnosis. You can view the execution history of a resource for a specific time range. The history of DiagnosticSources provides details of the issues and the diagnosis performed to identify the root cause.
When the DiagnosticSource is executed successfully, you can view the output in JSON or plain text format. You can select the format that suits your needs.