Modify component monitors in templates and application monitors

Through the Manage Application Monitor Templates page, you can modify component monitors used in templates and application monitors. To see a list of the monitors in a template, select the template on the Manage Application Monitor Templates page and click Edit.

Changes made to component monitors in templates are automatically applied to application monitors created from the template, which occurs when you assign a template to a node. You can use this inheritance relationship to make bulk changes quickly.

You can edit monitors individually, edit multiple monitors of the same type simultaneously, as well as disable or delete monitors in a template. To modify the specific configuration of a monitor, edit it individually.

Some component monitors in AppInsight templates have default settings that cannot be modified due to dependencies.

To learn which component monitors are included in a template, see the SAM Template Reference. For details about individual component monitors, see SAM component monitors in the SAM online help.

See the SAM Custom Template Guide to learn about: 

  • Customizing component monitor scripts to report status through exit codes
  • Adding text output to scripts
  • Customizing component monitors with PowerShell, Nagios, Linux/Unix, and Windows scripts

Edit component monitors in templates

You can simultaneously edit multiple component monitors in a template. You can select multiple monitors using the checkboxes to modify, without needing to be of the same type. To reorder the monitors, drag and drop them in the table view. You can perform the following types of multi-edit options:

  • Multi-Edit: A prompt displays with editing options specific to the type of monitors selected. For example, the Fetching Method for the three Services selected can be changed from RPC to WMI.

    Different types of monitors have different options available for editing.

  • Assign Credentials: Modify the credentials for the selected monitors.
  • Test: Run a communication test on the monitors using agent or agentless communication as configured.
  • Set Test Node: Modify the test node for communication tests.
  • Disable/Enable: Start and stop polling for the monitor.
  • Delete: Permanently remove the monitor.

When editing a template, you can use the green arrows next to each component monitor to reorder them. This new order is respected only on the All Applications widget and the Application Details widget.

Disable or delete component monitors

You can disable component monitors, as needed. The monitor remains in the SAM but doesn't collect data. Select the check box for the monitor you want to turn off and click Disable.

To permanently delete a component monitor from SAM.

  1. When editing a template, select the monitor you want to remove and click Delete.
  2. Confirm by clicking Yes. The monitor is permanently removed from the template.