cancel
Showing results for 
Search instead for 
Did you mean: 

About Solution Manager monitoring settings

SAPSupport
Employee
Employee
0 Kudos
114

Dear SAP,

I want to change the monitoring settings in Solution Manager for a metric.

I want to modify the threshold settings to skip yellow and work only from green to red so that errors can be detected immediately.

What settings do I need to change from green to red?


If it is not possible to skip yellow and set green to red, What settings are possible to detect similar errors?


------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee
0 Kudos

You need to create a custom template in order to edit metrics.

##2506790 - How to Create a Custom Template to change metrics, thresholds or alerts in a SAP standard template - SAP Solution Manager

To modify custom metrics, refer to Support Portal documentation:

System Monitoring

Create Custom Metrics

Custom metric is supported in case the SAP delivered standard metrics could not satisfy the user needs. This section explains how you can create a custom metric in a custom template.

  • Navigate to a custom template
  • Change to Expert Mode 
  • Press the button Create and select Metric from the drop-down list. Afterwards, the Custom Metric Creation Wizard shows up at the right hand side. The Custom Metric Creation Wizard consists of two major steps, namely Specify Metric Attributes and Assignments. In the first step Specify Metric Attributes, the user should enter the details of metrics such as metric name and type and, more importantly, determine how the data can be collected (data provider, parameter, collection interval etc.).Then in the step Assignments, the user needs to specify the alert, to which this custom metric is assigned. The custom metric can be either assigned to a already existing standard alert or also to a custom alert. 
  • Fill in the name, category, class, data type and technical name for the custom metric under the Overview tab. The user can give a meaningful name to the custom metric and select a category out of the pre-defined categories Availability, Performance, Exceptions, Configuration and Self-Monitoring. The first four categories are self-explained and the Self-Monitoring category deals with the monitoring of SAP Solution Manager itself such as Monitoring and Alerting Infrastructure (MAI) and Extractor Framework. Next, the user can specify the class as either Metric or Metric Group, depending on whether the data provider returns more than one value. The data type is used as usual and can be selected among String, Floating Point and Integer. It is also required to enter a technical name, with which the metric can be checked easily, for instance, in the Alerting Directory. Lastly, do not forget to check the checkbox Active so that the metric can be used in the next step.
  • Select the required data collector from the list of provided data collectors and enter the parameter value. In this example, it is intended to search any warning messages in the dev_icm log file. More details about the usage of data collector File Text Pattern Search can be found in SAP Note 2257249.
  • Define the threshold for alerting
  • Assign the custom metric to a alert. Since in this example, we want to assign this custom metric to a custom alert later on, the assignment here is left empty.
    Lastly, click Finish button to complete creating the custom metric.
  • Do not forget to press Save button to persist the changes made in the custom template before going further. Consequently, the newly created custom metric can be found in the table of metrics under the tab Metrics. It is easy to find out that the checkbox under the column Custom-Created is checked, which indicates that this metric is not SAP delivered standard metric but a custom-made one. 

About which threshold type you need to use, we recommend Numeric Threshold (Green/Red)

Refer to 2491414 - Details of Threshold types for metrics in System Monitoring

 

Answers (0)