A monitoring template defines all parameters used set to monitor your target resource.

Using the monitoring templates, you can standardize a set of entities across your organization and apply them to your target resources. You can apply a monitoring template to a particular target resource or a set of target resources of the same type.

The Monitoring template is an entity that defines the following:

  • Which data to collect?
  • How to collect?
  • Frequency to collect data.
  • The type of collector to use for collecting data. For example, SNMP and VMware API.

Monitoring using templates can help manage your resources more efficiently. You must manually apply the templates to initiate the monitoring of your resources.

The OpsRamp templates can capture the behavioral and performance metrics for server, applications, servers, networks, storage, and database instances across hybrid and multi-cloud environments.

Prerequisites

Permission is required before you can create monitoring templates.

OpsRamp provides the following permissions for a user/role to create, assign, and view monitoring templates.

  • Create and Edit
  • Customize
  • Manage
  • View

Types of templates

OpsRamp supports the following template types:

Template TypeDescription
Global templateGlobal Templates are default templates that are visible to partners and clients. You can only create copies from a global template and cannot modify them.
Partner templateA Partner template is visible only to a specific partner and a partner user is created from scratch. All clients across a partner can access the partner templates./td>
Client templateA Client template is visible only to a specific client. You can either create a new client template or copy from an existing global template at the client scope. All client templates are applied to all devices in the client.

Creating templates

A monitoring template defines all parameters that you can set to monitor your target resource.

  • You can create and manage and a monitoring template from the TEMPLATES LIST screen.
  • You can create, edit, and apply these templates across one or more resources or resource groups.

To create a template, configure the following parameters from the MONITOR TEMPLATE page:

  • Select Template Scope: Select Partner Template or Client Specific Template.
    For Client-Specific Template, select the Client also.
  • Collector Type: Select the application type that you want to gather the information. For example, Gateway.
  • Monitor Type: Monitor Type: Select Monitors for G2 Templates.
  • Applicable for: Select the type of the application.
  • Template Name: Enter a name of the template. For example, G2 MSSQL Database Transactions Time Template.
  • Description: Enter the summary of the template.
  • Generation: Generation that the template belongs to. For example, Generation 2.
  • Tags: Enter the user-defined tags for better filtering. 
  • Prerequisites: Enter the required details considered while monitoring using the template.
    For example, check the SQL services while monitoring the SQL Parameters using the Windows templates.
  • Status: Select the Active or End-of-life templates.
  • Notes: Enter the information that you want to add to the template.
  • Template Family Name: Provide the category that applies to the application. For example, Windows Server, Storage Server, and Network Server.
  • Deployment Type: Select one of the following methods to apply the template to the resources:
    • Custom
    • Optional
    • Standard After providing the template details, MONITOR TEMPLATE displays the Monitors section.

      Note: The MONITOR TEMPLATE screen varies with the option selected in the Collector Type.
  • Monitor: Enter the monitor details.

To add monitor details on MONITOR TEMPLATE screen:

  1. From the Monitors section, click + Add.
  2. From Monitor screen, provide the following details: - Frequency: Refer to the frequency to execute the template. - Monitor Definition: Monitor type. - When to Alert: Select Breach of a Threshold.
  3. Provide Warning and Critical threshold values.
  4. Select Alert and Availability checkbox to initiate monitoring.

After adding the Monitor, you can edit the metric values to add Component Filter and Component Threshold.

Component filters and component-level thresholds

If you are an administrator, set component thresholds at the template level to monitor the components across resources. This capability can filter components that you want to monitor and set differential thresholds based on the component type.

Prerequisite:
See the following versions of agents and gateways:

  • Agent: 7.0.0 and above.
  • Gateway: 7.0.7 and above.

Scenarios

Monitor specific disk drives

System Administrators want to monitor specific disk drives (/opt and /boot) and exclude certain drives(/tmp) on one or more Linux servers.
Use component filters as part of the template configuration.

Monitor bandwidth utilization

Network administrators want to monitor bandwidth utilization of interfaces present on production servers and set different alerting conditions for each interface.
Set thresholds for each unique interface, as part of the template configuration.

Component filter

Using the component filter, identifying the components that you want to monitor using multiple filtering conditions is easy:

To add a component filter:

  1. From Templates screen, click the desired template name.
  2. From Monitor Template, click Edit.
  3. From the Edit screen, click Next.
  4. Go to Monitors > Breach of a threshold.
  5. From the Component Threshold column, click Add.
  6. From Edit Metric Threshold, click + Add.
  7. Provide details for the following parameters:
    • Operator
    • Name
  8. Click Add.

Component threshold

This functionality is available with agent 7.0.0 installers and gateway 7.0.7 installers.

Using the Component threshold, you can define the metric threshold for components of a resource that you want to monitor.

To add a component threshold:

  1. From the Templates screen, click the desired template name.
  2. From Monitor Template, click Edit.
  3. From the Edit screen, click Next.
  4. Go to Monitors > Breach of a threshold.
  5. From the Component Threshold column, click Add.
  6. From Edit Metric Threshold, click + Add.
  7. Provide details for the following parameters:
    • Operator: List of available operators you can use to compare the component name.
    • Alert: Select the checkbox to receive alerts.
    • Warning Operator: Operator to compare the warning threshold value.
    • Warning Threshold: Threshold value to receive the warning alerts.
    • Warning Repeat Count: Number of times the alert threshold condition breaches before generating an alert.
    • Critical Operator: Operator to compare the critical threshold value.
    • Critical Threshold: Threshold value to receive critical alerts.
    • Critical Repeat Count: Number of times the alert threshold condition breaches before generating an alert.
  8. Click Add.

Creating copies

A duplicate copy of the template can be created using the Create a Copy option.

To create a copy:

  1. Go to Monitoring > Templates.
  2. From the Templates List, select the desired name.
  3. Click Create a Copy. The screen displays a confirmation message.
  4. Click Yes to continue. Copy Monitoring Template window appears.
  5. From the Copy Monitoring Template screen, provide details for the following parameters, and Save.
    • Select Client
    • Template Name

Assigning templates

After creating a template in OpsRamp, you can assign templates to the resources. You can assign a template to a resource in two ways from OpsRamp console:

  • Assign templates from setup.
  • Assign templates at the device level.

Assign templates from setup

To assign a template:

  1. Select a client from the All Clients list.
  2. Select Setup > Monitoring > Assign Templates.
    ASSIGN TEMPLATES screen appears.
  3. From ASSIGN TEMPLATES, provide details for the following:
    1. From the options displayed in the drop-down, select a client.
    2. From the options displayed in the drop-down, select one of the following:
      • Assign Templates to resources
      • Assign Templates to Services
    3. From the options displayed in the drop-down, select a collector type.
    4. Click Show Resource Filters to filter the following:
      • Resource Groups
      • Sites
      • Operating System
    5. After providing the filter details, go to the Select Resources section.
    6. From Select Resources, select the devices.
      The Selected Devices section displays the chosen devices.
    7. After selecting the resources, navigate to Select Monitoring Templates.
    8. From Select Monitoring Templates, select the resources.
      Selected Templates display the chosen templates.
    9. Click Assign.
      ASSIGN TEMPLATES displays the configurations.
    10. Click Submit.
      The templates are assigned to the selected resources.

After assigning the templates, you can track the monitoring responses in the Alerts, Metrics, and Monitors tab.

Assign templates at the device level

To assign a template:

  1. Select a client from the All Clients list.
  2. Click Infrastructure > Resources.
  3. Click desired resource name > resource Details > Monitors > Template.
  4. From the Templates screen, click +Assign Templates.
    The screen displays Apply Templates window.
  5. From Select Templates > Available templates, select the desired templates.
    The selected templates section displays the chosen templates.
  6. Click Assign.
  7. From Enter Configurations, modify the default values for the configuration parameters assigned to the selected template.
  8. Click Submit.

General information

Tracking monitoring resources

After assigning the templates, you can track the monitoring responses in Alerts, Metrics, and Monitors tab.

Monitor details – when to alert

The When to Alert option defines the scenario where you want to receive alerts.
The option When to Alert is applicable only for Performance and Application Monitors.

Threshold breach

Provide the Warning and Critical threshold values for a metric. Alerts are triggered indicating a breach of threshold when the threshold values are crossed. Configure RBA (Run Book Automation) script to automatically resolve issues on a metric.

Forecast of a threshold breach

Forecast helps you to visualize the expected trends of a metric in a certain period and alerts about any potential breach. For example, set up forecast alerts to receive an alert notification if a disk is running out of space in another five days.

Significant change is seen

Change detection helps to identify sudden changes in metric behavior. The change is either in a positive or negative direction. This model is suitable for metrics with an indefinite threshold. For example, set up a change detection alert to receive a notification when there is a significant change in performance degradation(sudden increase in response times).

After creating the template, you can:

  • Edit: To modify the existing details of a template.
  • Delete: To remove the template from your environment.
  • Assign: To assign templates to resources.