Modules Management

Last updated on 23 April, 2024

LogicMonitor lets you manage modules in My Module Toolbox directly in your portal to keep your modules up-to-date. Managing your modules involves the following:

  • Installing module updates—An update is a new version of a module. Installing an update overwrites an existing installed version. When you install your updated module, LogicMonitor lets you preserve certain values of the modules you have customized, enabling the values to persist after updating the module. You can view all updates in a side-by-side data comparison view prior to upgrading to view what values have changed between versions.

Recommendation: Install the most up-to-date module to take advantage of enhancements offered in the latest versions.

  • Editing an existing module—You can edit modules using the module editor accessible from My Module Toolbox. You can edit, test, and save module information such as AppliesTo and Collector scripting.

Note: Note: The LogicModule editor is currently available for PropertySources, AppliesTo Function, and SNMP SysOID Maps. For other LogicModule types, you are directed to the Settings page.

  • Reassigning the origin for a module—If there are updates available in Exchange for a module you have cloned and made changes to in My Module Toolbox, you can reassign the original lineage of the cloned module. This allows you to update the cloned module that you have configured for a specific purpose and apply the latest updates from Exchange to it.
  • Deleting a module—You can permanently delete a module you no longer need from My Module Toolbox.
  • Exporting a module—You can export a module’s configuration from your portal in JSON format. This allows you to edit the module offline or maintain an offline backup.
  • Importing a module—You can import the JSON or XML file for a module directly to your portal.
    When you import the file, LogicMonitor detects duplicate modules that are currently installed (for example, an installed module has the same configuration as the module you are attempting to import), LogicMonitor allows you to view the currently installed module and make modifications accordingly. LogicMonitor also finds potential conflicts (for example, an installed module has the same name as the imported module, but a different configuration) based on the XML or JSON file and provides you a side-by-side data comparison to resolve the conflicts or overwrite the currently installed module.
  • Reverting modules origin—You can revert to previously committed versions of a module. LogicMonitor allows you to toggle between all previous versions of the module before finalizing your reversion.
  • Viewing Version Difference for Modules—You view differences between previously committed versions of a module. LogicMonitor allows you to toggle between all previous versions of the module.

Module Preservation Options

When you install a module update, you can preserve certain values of the modules you have customized. The following table displays the options you can preserve:

Preservation OptionDescription
AppliesToPreserves the AppliesTo field
Active Discovery FiltersPreserves Active Discovery filters
Collection IntervalPreserves the collection interval
Discovery IntervalPreserves the Active Discovery interval
DisplayNamePreserves the DisplayName (also known as, “Resource Label”) of the LogicModule
GroupPreserves the Group under which the LogicModule is located
Alert ThresholdsPreserves alert thresholds on all datapoints. This includes trigger interval, clear interval, no data alert settings, custom message, and subject.

Requirements for Managing a Module

To perform all management actions for a module, you need a user with a role that has “View” and “Manage” for the following permissions:

  • Exchange
  • My Module Toolbox (LogicModules)

For more information, see Users and Roles.

To import a module to your portal, the module’s configuration must be the following file formats:

  • JSON
  • XML

Installing a Module Update

  1. In LogicMonitor navigate to Modules > My Module Toolbox > and select Update from the Status column for the module you want to update.
    A viewer displays a side-by-side data comparison of the currently installed version and the version you are upgrading to along with a Preservations panel.
  2. To preserve your changes for specific settings between module versions, toggle on the switch that applies to the setting you want to preserve using the switches in the Preservations panel.
    Any values you choose to preserve are displayed in the data comparison viewer.
    For more information, see Module Preservation Options.
  3. To display a third data comparison of the updated module based on any preservations, toggle on the Display three panel view switch.
    A third panel displays the final, updated module configuration including any preservations.
  4. Select Final Review.
  5. Select Save to install the update.
    Alternatively, you can choose to skip the install by selecting Skip Update.

The updated module installs in My Module Toolbox with an installed status icon. In addition, you can update a module from the module’s details panel. For more information, see Modules Overview.

Editing a Custom Module

  1. In the LogicMonitor navigation menu, select Modules.
  2. In My Module Toolbox, select a module (row) to display the module’s details panel.
  3. From the details panel for the selected module, select the Edit icon to open the module editor.
  4. Make your edits in the module editor. For more information, see the documentation for the specific module:
  5. When finished editing, select Save.
  6. On the Update Reason window, enter a History Note, and then select Save.
    The History Note is saved in the module’s local history.
  7. On the Commit a Version window, enter the following information:
    • Minor update or major update
    • Version Note
    • Make this version public
  8. Select Commit Version.

Reassigning the Origin for a Module

  1. Navigate to Modules > My Module Toolbox.
  2. Select the module you want to export, and then select Edit.
  3. From the Options menu of the module, select “Reassign Module Origin”.
  4. In Reassign module origin?, enter the locator of the module origin you want to reassign the module to.
  5. To test the module origin reassignment, select Test.
    Details about the module’s origin reassignment are displayed.
  6. To reassign the origin of the module, select Reassign.

The module is reassigned and a success message is displayed.

Deleting a Module

  1. From the LogicMonitor navigation menu, select Modules.
  2. In My Module Toolbox, select the module you want to delete.
  3. In the module editor pane at the bottom of the page, select the Delete icon.
  4. From Delete?, select Delete.

    The module is permanently deleted from My Module Toolbox.

Exporting a Module

  1. Navigate to Modules > My Module Toolbox.
  2. Select the module you want to export, and then select Edit .
  1. From the Options menu of the module, select “Export”.

The module exports in JSON file format.

Importing a Module

  1. Navigate to Modules > My Module Toolbox.
  2. Select Add .
  3. Select Import from File.
  1. From Import from File, select Browse to choose a file.
  2. Select Save.

The module is imported to your portal and displays a message indicating success.

If a duplicate module or a conflict is found, LogicMonitor displays a message indicating the issue.

Viewing Version Differences for Modules

  1. Navigate to Modules > My Module Toolbox.
  2. Select the module you want to revert, and then select Edit .
  3. Select View Version Differences.
    You can toggle between previous versions of a committed module and compare it with your current version.
  4. From the version menu, select a version to compare with the current version.
  1. To return back to the module editor after viewing version differences, select back.

Reverting to a Earlier Version of a Committed Module

  1. Navigate to Modules > My Module Toolbox.
  2. Select the module you want to revert, and then select Edit .
  3. From the Options menu  of the module, select “Revert Module.” 
  4. From the version menu, select a version to compare with the current version.

    You can toggle between previous versions to compare with your current version before deciding which one to revert to.
  5. Select View Module Changes. 
    A confirmation page will highlight changes being made when you revert to the earlier module version you selected. 
  6. Select Revert Module to revert your committed module to the previous version you selected.
  7. Select Commit Version to confirm and complete the revert. 
In This Article