Skip to content

Debug Commands

The Debug Commands workspace lets you execute collector debug commands directly from LMDA Composer, including a comprehensive collector health check. Debug sessions persist while you switch between workspaces.

MethodAction
Welcome ScreenClick Debug Commands on the welcome screen
Keyboard ShortcutPress Cmd+K, D to switch to the debug workspace
Actions MenuClick Actions → Debug Commands in the toolbar

Sessions open as tabs in the tab bar (like API Explorer). Each tab retains its command configuration, collector selection, and results until you close it.

Use the Context portal selector in the toolbar to choose which LogicMonitor portal to connect to — the same global portal used by API Explorer and script execution. Use Execute (or Rerun when viewing results) in the toolbar to run the selected command.


Debug Commands workspace with command list and categories

Type in the search box to filter commands:

  • Matches command names
  • Matches descriptions
  • Case-insensitive search
AllDiscoverySystemNetworkHealthScriptingFile OpsDiagnosticsWindowsQueryTask Mgmt
CategoryDescription
DiscoveryActive Discovery and data collection task commands
SystemCollector system info and configuration
NetworkNetwork diagnostics and connectivity tests
HealthHealth check and monitoring commands
ScriptingScript testing and execution
File OpsFile system operations
DiagnosticsDiagnostic and troubleshooting tools
WindowsWindows-specific commands (WMI, PowerShell)
QueryProtocol queries (SNMP, HTTP, etc.)
Task MgmtTask management and control

The filtered list shows:

  • Command name
  • Brief description
  • Parameter indicators (if required)

  1. Browse or search for a command

  2. Click to select it—the command panel opens on the right

  3. Fill in any required parameters

  4. Select which collector(s) to run on

  5. Click Run Command

Some commands require input:

Parameter TypeInput
TextFree-form text input
NumberNumeric input
IP AddressIP address format
OIDSNMP OID format

Choose which collector(s) run the command:

  1. Scroll through collector groups
  2. Check individual collectors
  3. Or use Select All for a group

When running on multiple collectors:

Each collector gets its own tab showing:

  • Collector name and status
  • Execution duration
  • Command output

Switch between tabs to compare output across collectors. Useful for:

  • Identifying configuration differences
  • Comparing network connectivity
  • Checking task loads

For standard debug commands, click Export All to download a human-readable text bundle across all selected collectors. Use Copy Output or Download Output on an individual collector tab for that collector’s raw output.


The Health Check is a comprehensive diagnostic featured prominently at the top of the dialog. The report has been redesigned in v1.5.0 with modern styling and improved data visualization.

Health check report with summary cards and detailed tables
  1. Click the Health Check card at the top of the dialog

  2. Select one or more collectors

  3. Configure Report Options if needed (see below)

  4. Click Run Health Check

  5. Review the comprehensive report

Before running a health check, you can configure how much data the report includes:

PresetRow limitUse when
Standard50 rowsDefault — fast reports on most collectors
Extended200 rowsLarger collectors needing more detail
FullUnlimitedComplete lists, e.g. all longest-running tasks including negative-ms overflow and 0ms scheduled-failed entries

Advanced options let you override limits per section (longest-running, task lists, host stats, etc.). Set a section limit to 0 for unlimited rows in that section only.

When data is truncated, the report shows “Showing N of M” badges on affected sections. The longest-running section includes a full scrollable table sorted with timer overflow (negative ms) first, longest durations in the middle, and 0ms entries at the bottom.

  • Collection Summary — Thread counts across all task types (tlist, adlist, splist, tplist, aplist)
  • Top Failing Modules — Charts showing modules with the most failures
  • Longest Running Tasks — Full scrollable table of failing tasks by execution time, plus a chart preview of the longest positive durations
  • Device Capacity — Limits and current utilization
  • Agent Config — Current configuration vs. defaults
  • Collector Logs — Recent log entries and error patterns

Use these actions to hand off a health check report to another Composer user without re-running the check on a collector:

ActionPurpose
Export ReportDownload a JSON file containing all collector results. This is the file to share with customers or teammates.
Import ReportLoad a shared JSON report into Composer. Available from the Health Check card in the sidebar or from the results header.
Copy Output / Download OutputHuman-readable text for a single collector (metadata headers plus output), useful for email or documentation.

Imported reports display the full visual report UI even when the collectors are not present in your portal.

The report displays:

Summary Cards:

  • Collector info (ID, size, version, platform)
  • Failing threads count (color-coded by severity)
  • Total instances monitored
  • Debug run time
  • JVM and physical memory usage

Detailed Sections:

  • Collection Summary — Thread breakdown by task type
  • Top Failing Modules — Modules with the most failures
  • Long Running Tasks — Tasks taking the longest time

The Health Check report includes AppliesTo troubleshooting queries. These are pre-built expressions that help identify common issues. You can test these queries directly from the report using inline AppliesTo testing.

The report uses color-coded indicators for quick assessment:

IndicatorMeaning
GreenHealthy — no issues detected
YellowWarning — review recommended
RedError — action needed

Failing Threads:

  • 0 threads — Healthy (green)
  • 1-9 threads — Warning (yellow)
  • 10+ threads — Error (red)

Debug Run Time:

  • < 5 seconds — Normal (green)
  • 5-10 seconds — Elevated (yellow), check collector load
  • > 10 seconds — High (red), collector may be overloaded

CommandPurpose
!pingTest connectivity to host
!nslookupDNS resolution test
!tracerouteNetwork path trace
!curlHTTP request test

  1. Open Debug Commands and select the target collector

  2. Run !ping to verify network connectivity to the device

  3. Run !snmpget with the device IP and a test OID (like sysName)

  4. If !snmpget fails, check community string and SNMP version

  5. Run !snmpwalk to see what OIDs are available

  1. Run Health Check on the collector

  2. Review memory and CPU usage in the summary

  3. Check task queue depths for backlog

  4. Look for stuck or long-running tasks in the task list

  5. Review error messages for recurring issues

  1. Run !nslookup to verify DNS resolution

  2. Run !ping to check basic connectivity

  3. Run !traceroute for detailed path analysis

  4. Identify network bottlenecks or routing issues


Most commands return plain text:

  • Formatted for readability
  • Line-by-line results
  • Error messages highlighted in red

Some commands (like Health Check) return structured data:

  • Rendered as formatted tables
  • Summary statistics
  • Expandable sections

Failed commands show:

  • Error message
  • Exit code (if applicable)
  • Troubleshooting hints

  • Before Running — Verify correct collector(s) selected. Double-check parameter values. Consider impact on production collectors.
  • Interpreting Results — Compare against known good baselines. Check timestamps for currency. Look for patterns across collectors.
  • Documentation — Copy results for ticketing systems. Note collector and timestamp. Compare before/after for changes.