Skip to content

Committing Changes

When you’ve finished editing a module script, commit your changes to push them back to LogicMonitor.

Committing saves your changes from LMDA Composer to the LogicModule in LogicMonitor:

  • Script content is updated
  • Staged metadata changes are applied
  • The module is updated in your portal
  • A new version is created

The Commit button is available when:

RequirementDescription
Module-bound tabTab is loaded from a LogicModule (not a local file)
Unsaved changesYou have script or metadata modifications
Correct portalYou’re connected to the module’s portal
Write permissionsYou have permission to modify the module
StateMeaning
CommitReady to commit—click to proceed
CommitDisabled—no changes or not a module tab
Committing... Commit in progress

  1. Edit the script and/or module details as needed.

  2. Run the script to verify functionality. Check parsed output and validate against mode rules.

  3. Click Commit to open the confirmation dialog.

  4. Describe what you changed and why. This is recorded with the version.

  5. Click Commit to push changes to LogicMonitor.

  6. Tab dirty indicator clears. New version created in portal.


The dialog shows what will be committed:

SectionWhat’s Shown
Script ChangesBefore/after diff preview with syntax highlighting
Metadata ChangesList of modified fields with old and new values
Directory ScriptsAdditional scripts from module directory (if applicable)

Enter a descriptive commit reason explaining your changes (optional but recommended):

  • “Fixed SNMP timeout handling for slow devices”
  • “Added CPU temperature datapoint (JIRA-1234)”
  • “Updated AppliesTo to include Linux 8.x servers”
  • “Increased collection interval from 1min to 5min”

OptionDescription
Script OnlyIf you only changed the script, only script content is updated. Metadata remains unchanged.
Script + MetadataBoth are committed together in a single atomic update. One version created.
Metadata OnlyFrom Module Details editor—stage metadata changes and commit without script changes.

If you’re working with a module directory (local folder linked to a module), you can commit multiple scripts at once:

When a module has a linked directory with multiple script files (e.g., collection script and AD script), the commit dialog shows all scripts with changes.

ColumnDescription
CheckboxSelect which scripts to include in the commit
Script NameThe script file (e.g., collection.groovy, ad.groovy)
StatusWhether the script has changes
  1. Open the commit dialog

  2. Review the list of directory scripts

  3. Check/uncheck scripts to include or exclude

  4. Only selected scripts with changes will be committed


If validation fails:

  • Error message displayed
  • Commit blocked
  • Fix issues and retry

Common causes:

  • Script exceeds 64,000 character limit
  • Required metadata fields empty
  • Invalid AppliesTo syntax

  1. Open LogicMonitor in your browser

  2. Navigate to the module in Settings → LogicModules

  3. Verify your changes appear in the script

  4. Check version history shows your commit

If you changed AD scripts:

  • Discovery runs on next scheduled interval
  • Or trigger manual discovery from device
  • Verify expected instances are found

Script changes take effect immediately:

  • Next collection uses new script
  • Monitor for errors in Alerts
  • Check data continuity in graphs

  • Always Test First — Run the script multiple times with different devices. Verify output parsing and check edge cases.
  • Use Descriptive Reasons — Your commit reason helps future you, team members, and auditors understand changes.
  • Commit Small Changes — Prefer frequent small commits over large batches. Easier to identify issues and revert if needed.
  • Coordinate with Team — Communicate planned changes for shared modules. Avoid simultaneous edits.
  • Back Up Before Major Changes — Export scripts to local files before significant modifications.

ActionWhat It DoesWhere Saved
SaveSaves to local fileYour computer’s disk
CommitPushes to LogicMonitorLM portal (creates new version)

You can save locally as backup before committing.


If a commit causes problems, you’ll need to:

  • Restore from backup: If you exported the script before making changes
  • Rewrite manually: Undo the problematic changes by hand
  • Check Lineage (for core modules): If you’re working with a LogicMonitor Exchange module, you can view the original Exchange version via Lineage and use it as a reference