Troubleshooting
This guide covers common issues you might encounter with LMDA Composer and how to resolve them.
Connection Issues
Section titled “Connection Issues”Symptoms:
- Portal dropdown is empty
- “No portals found” message
Solutions:
-
Log into LogicMonitor
Open a new tab, navigate to your LogicMonitor portal, and log in with your credentials. -
Wait for full load
Ensure the LogicMonitor dashboard fully loads (not just the login page). -
Return to LMDA Composer
Click refresh in the Context dropdown. -
Multiple Portals
Each portal needs its own logged-in tab. Open separate tabs for each portal.
Symptoms:
- Portal shows Offline
- Scripts fail with 401 errors
- “Unauthorized” messages
Solutions:
-
Open the LogicMonitor tab
-
Log in again if prompted
-
Return to LMDA Composer
-
Click refresh in Context dropdown
Symptoms:
- Collector shows offline status
- Cannot select the collector
- Scripts can’t execute
Solutions:
-
Verify in LogicMonitor
Check collector status in Settings → Collectors -
Restart Collector
On the collector server, restart the collector service -
Check Network
Verify the collector can reach LogicMonitor and check firewall rules
Script Execution Issues
Section titled “Script Execution Issues”Symptoms:
- Run button doesn’t respond
- No output appears
- Execution never starts
Solutions:
- Check Context — Ensure portal is selected, collector is selected, and collector is online
- Check for Running Execution — Only one execution at a time. Cancel current execution first. Look for spinner on Run button.
- Script Errors — Check for syntax errors. Validate script compiles. Review error messages.
Symptoms:
- Execution runs too long
- Timeout error appears
- Partial output visible
Solutions:
-
Optimize Script
Reduce execution time, add efficient queries, avoid infinite loops -
Check Target Device
Device may be slow to respond, network latency, or overloaded -
Simplify for Testing
Test smaller portions, use fewer iterations, add debug output
Symptoms:
- PowerShell script fails
- Error about script type
- Collector compatibility warning
Solution:
Editor Issues
Section titled “Editor Issues”Symptoms:
- Editor area is blank
- No syntax highlighting
- Can’t type in editor
Solutions:
-
Refresh the Page
Press F5 or Ctrl+R -
Clear Browser Cache
Settings → Clear browsing data → Clear cached files -
Check Extensions
Other browser extensions may conflict—disable and test
Symptoms:
- Colors don’t match language
- Keywords not highlighted
- Editor confused
Solutions:
-
Check Language Setting
Verify Groovy/PowerShell toggle is correct -
File Extension
Opening.ps1should set PowerShell
Opening.groovyshould set Groovy -
Switch and Switch Back
Toggle the language setting to refresh
File System Issues
Section titled “File System Issues”Symptoms:
- Save triggers download instead
- “Permission denied” errors
- Save dialog every time
Solutions:
-
Grant Permissions
Browser may need file access permission. Click “Allow” when prompted. Choose “Edit” not “View”. -
Brave Browser
May require enabling File System Access API inbrave://flags -
Vivaldi Browser
May require enabling File System Access API invivaldi://extensions
Symptoms:
- “File no longer available”
- Can’t save to original location
- Need to Save As
Solutions:
-
Reconnect File
Use Save As to re-establish handle, select the same file -
File Was Moved
Locate file in new location and open again
Symptoms:
- No draft recovery prompt
- Lost unsaved work
- Drafts seem missing
Solutions:
-
Check Browser Storage
Storage may be full—clear some browser data -
Same Browser Required
Drafts are per-browser. Use the same browser where you worked.
API Explorer Issues
Section titled “API Explorer Issues”Symptoms:
- 400/401/403/500 errors
- Request doesn’t complete
- Unexpected error messages
Solutions:
- Check Endpoint Path — Verify path is correct. Include required path parameters. Check LogicMonitor API docs.
- Check Request Body — Validate JSON syntax. Include required fields. Check data types.
- Check Permissions — 403 means insufficient permissions. Verify your user role. Contact admin if needed.
- Rate Limiting — 429 means rate limited. Wait before retrying. Reduce request frequency.
Symptoms:
- Response area blank
- JSON not formatted
- Truncated response
Solutions:
-
Large Response
Very large responses may truncate. Increase response limit in Settings. Usefieldsparameter to reduce size. -
Invalid JSON
Some endpoints return non-JSON. Check Content-Type header.
Module Operations
Section titled “Module Operations”Symptoms:
- Commit button disabled
- Commit fails with error
- Changes not saved to LM
Solutions:
-
Check Module Binding
Tab must be bound to a module. Local files can’t commit. Look for link icon on tab. -
Check Portal Match
Active portal must match bound portal. Switch portals if needed. -
Check Permissions
Need write access to the module. Verify role in LogicMonitor. -
Validation Errors
Check for error messages. Fix issues before committing.
Symptoms:
- “Module not found” error
- Can’t load module script
- Browser shows empty list
Solutions:
-
Check Portal
Ensure correct portal is selected. Module may be in different portal. -
Module Deleted
Module may have been removed. Check in LogicMonitor. -
Permissions
May not have access to the module. Check with administrator.
Performance Issues
Section titled “Performance Issues”- Slow Performance — Large files may be slow—split into smaller files. Close unused tabs. Close other browser tabs. Disable Minimap in Settings.
- High Memory Usage — Each tab uses memory—close when done. Clear large history. Refresh page periodically (save work first).
Getting Help
Section titled “Getting Help”- Report a Bug — Note the steps to reproduce. Check browser console for errors (F12). Report via LogicMonitor community channels. Include browser and OS version.
- Community Support — Connect with other LogicMonitor users in the community forums for questions and solutions.
- Check for Updates — Ensure you’re running the latest version. Check extension version in Settings. Updates are automatic from the Chrome Web Store.