Submit a ticketCall us

Looking to compare latest NPM features with previous versions of NPM?
The NPM new feature summary offers a comparison of new features and improvements offered with this release.

 

Home > Success Center > Server & Application Monitor (SAM) > SAM Custom Template Guide > Create a template in SAM

Create a template in SAM

Templates include a number of component monitors you can add, customize, and nodes. When complete, assign the template to managed nodes to collect specific metrics at each polling.

SAM includes two options for creating new templates:

  • (Recommended) Create component monitors using the Component Monitor Template Wizard and add them to a new template. This option adds instances of a component monitor type with fewer steps to create a template.
  • Create a fresh template without component monitors. You will need to add component monitors manually.

Using Script component monitors require additional steps and considerations. For details, see the following information:

Component monitors may have prerequisites, configuration, and credentials requirements for target systems. For details on each monitor, see Component Monitor Types.

File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/callout1.png Create a template.

Create a template:

  • Component Monitor Wizard: adds multiple instances of a selected component monitor to quickly create a template. You can customize each monitor as needed and assign the monitors to a new template all through the wizard.
  • New, empty template: gives you a template to add component monitors from a list of all available monitors.
File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/callout2.png Customize the new template. Add any additional component monitors to the new template for specific services, processes, and applications you want to monitor. Customize configurations, add scripts, and
File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/callout3.png Add component monitors.

With the base component monitors added to a new template, add additional component monitors as needed per application.

 

File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/callout4.png Assign a template to a node. Templates assigned to nodes begin collecting data with the next poll, providing specific metrics and data responses based on the component monitors and configurations. For script monitors, the script runs and collects data with returned metrics and values according to the code you enter.

Create a template

The fastest method for creating a template with a set of component monitors is using the Component Monitor Wizard. The wizard provides the most common and popular component monitors per platform. Using this wizard, you can create multiple instances of a selected component monitor to add to a new or existing template.

When done, you can edit the template to add additional component monitors as needed.

For example, you may need to monitor 20 services on servers and run custom PowerShell scripts. Creating a template using the wizard to easily generate 20 Process Monitors or Service Monitors (depending on your use case) for the services. After created, you can add additional PowerShell script monitors as needed.

You may need to log in with an administrator account to perform this action.

When you enter credentials for component monitors, a connection test runs. Depending on the components, you may need to enter additional server and credentials data.

  1. On the web console, click > Settings > All Settings > SAM Settings > Component Monitor Wizard.
  2. Select a component monitor type to add to your application or template. These include monitors based on application category: Windows Systems, Linux - Unix Systems, VMWare Systems, and Applications.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/sam_cmw_wilbur_561x161.png

  3. Select a Target server by browsing to supported systems in your environment. You may also need to select a platform bitness and enter credentials for the target system.

    Select and enter all required information.

    A list of available processes, services, and performance counters displays for the server. Select options to create process monitors per service.

  4. Customize the component monitor and click Next.

    If you selected a script monitor, review the following information for writing scripts:

  5. Create a new template using the New Application Monitor Template. Enter a name when prompted.

    Make sure the name of the template does not begin or end with a space. If so, application resources may not list all applications. Edit the template name to remove any extra spaces in the name.

  6. Assign the template to nodes in your environment according to server type (such as Windows or VMware).

    Expand and select one or more servers to assign the template.

  7. Review the configured component monitors prepared to push to nodes. When ready, confirm the template creation.

    The template creates, populating with the component monitors and configured settings, assigned to the selected nodes.

 

If you do not want to use the wizard, you can also create a new, empty template and add component monitors as needed. For example, you may only want to create a template with PowerShell script monitors to gather data on your systems and applications.

  1. On the Web Console, click Settings > All Settings > SAM Settings and select Manage Templates.
  2. Click New Template.
  3. Add general information and settings for the template including the name, description, and tags.

    Make sure the name of the template does not end or begin with a space. If so, application resources may not list all applications. Edit the template name to remove any ending spaces in the name.

  4. Depending on the load of the calls for the component monitors, set the polling frequency and timeout.

Continue by adding component monitors.

Customize the new template

With the template created, you can edit each component monitor, add additional monitors, and complete any configuration settings.

  1. On the Web Console, click Settings > All Settings > SAM Settings and select Manage Templates.
  2. Locate and select the new template in the list using search. Click Edit.
  3. Add general information and settings for the template including the name, description, and tags.
  4. Depending on the load of the calls for the component monitors, set the polling frequency and timeout.
  5. When done, click Submit to save the changes.

Make sure the name of the template does not end or begin with a space. If so, application resources may not list all applications. Edit the template name to remove any ending spaces in the name.

Add Component Monitors

When editing a template, you can add one or more component monitors.

  1. You have two options for adding component monitors. This scenario uses the Manually Add Component Monitor option.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/addcompchoice.png

    • Manually Add Component Monitors allows you to select and add multiple types of component monitors to the template
    • Browse for Component Monitors opens the Component Monitor Wizard to add multiple instances of a selected component monitor

    For details on each monitor, see Component Monitor Types.

    File:Success_Center/Reusable_content_-_InfoDev/SAM_Template_Reuse/SAM-Admin-MT/030/componentmonitorselect_758x427.png

  2. When added, you can modify the configurations and custom settings per monitor.
  3. Click the checkbox for a component monitor, click in the Quantity field to add multiples, and click Add.

    A number of each selected component monitor add to the template with an expander.

  4. Expand each component monitor to configure settings, add scripts, and more.
  5. When completed, click Submit.

    As you work, you can click Save and Continue Working to save as you add and complete component monitors.

Assign a template to a node

To begin monitoring with templates, you need to assign the application templates and monitors to a node. When assigned and enabled, the template collects and reports on polling data to the node according to the application monitors and configuration settings. To add nodes, see Discover and add network devices.

To assign templates to nodes:

  1. On the Web Console, click Settings > All Settings > SAM Settings and click Manage Templates.
  2. Check the template(s) to assign, and click Assign to Node.
  3. Specify the node(s) to monitor and click Next.
  4. Enter or select the appropriate credentials.
  5. Click Assign Application Monitors.
 
Last modified
12:33, 9 May 2017

Tags

Classifications

Public