How to Create a Custom Metric to Monitor Specific Background Jobs
- by Jereme Swoboda, SAP Solution Manager and NetWeaver Consultant, NIMBL
- February 18, 2013
Step through the process of creating two custom metrics: One within Computing Center Management System (CCMS) and one in SAP Solution Manager 7.1 Technical Monitoring. These metrics work together to monitor specific backgrounds designated by you. The integration of the two metrics allows for an alert to be sent when a specific background job has failed to finish successfully or has been canceled.
To successfully implement this process and use it to its fullest potential, you must have a complete understanding of your SAP landscape and its daily processes. You also must understand the key components used to complete the activation of the monitor: Computing Center Management System (CCMS) CCMS and Technical Monitoring. CCMS uses monitoring tree elements (MTEs) to collect data on the current status of a key component. CCMS resides on the specific instance that requires monitoring and requires any desired monitoring to be configured on that instance. Technical Monitoring is the latest monitoring solution via Solution Manager 7.1. It allows for the monitoring of key components across an entire SAP landscape. Solution Manager uses a similar tool: a metric. It includes alerts via email as well as a mobile monitoring app, providing a quicker response to issues.
All SAP landscapes rely on background jobs to process vital business-related data. Without the successful completion of these background processes, vital data can be lost. This causes an interruption of daily business activity, from processing sales to supplying orders. The activation of a monitor that keeps an eye on these processes allows for an immediate response to the failure of these vital business processes. I’ll show you a step-by-step process for creating two metrics using two systems, Computing Center Management System (CCMS) and SAP Solution Manager 7.1 Technical Monitoring, so you can be alerted when one of your designated background jobs fails to process successfully.
To perform this process, you must first compile a complete list of all the background jobs you need monitored — primarily, the vital background jobs that run on each production instance within your SAP landscape. This process requires a Solution Manager 7.1 system that is fully integrated with your SAP landscape. This article is based on Service Pack 7 and is valid for Service Pack 4 and above.
Would you like to see this full item?