We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.
Showing posts with label MonitorCCMS. Show all posts
Showing posts with label MonitorCCMS. Show all posts

Background Job Monitoring Monitor(CCMS)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

You can use the monitoring architecture to monitor selected jobs and to display problems as alerts (see Monitoring Jobs with the Alert Monitor). This job monitoring is deactivated by default; activation is described in Activating Monitoring of Jobs with the Alert Monitor.

After activation, the data is available in the context Background, Background Job Monitoring subtree. For the monitoring, it is useful to define your own monitor or to extend a monitor definition of your own to display the data. The monitor definition and the monitor produced from it are described here.

Prerequisites

You can define a rule-based or a static monitor to display data. For basic information about this, see Creating and Changing Monitors. For a rule-based monitor, the definition must contain a rule CCMS_GET_MTE_BY_CLASS with Job_Monitoring as the MTE class:

This graphic is explained in the accompanying text

If you are using a static monitor, choose the context Background ® Background Job Monitoring for the desired system:

This graphic is explained in the accompanying text

Features

With the definition above, the monitor created has the following structure. Here, the job SCHEDULED_JOB1 and all jobs whose names begin with JOB_EXAMPLE are to be monitored. A subtree is created for every name pattern for a monitored job (job chain):

This graphic is explained in the accompanying text

The monitor contains the following monitoring tree elements (MTEs):

MTE Name
(MTE Class)

Meaning

Details of Current Job
(Job_Monitoring_Details)

Double click this MTE to obtain the following current information about the current job:

· Name, number, and class of the job

· Date and time scheduled, the last change to and release of the job, and user that performed each of these actions

· Last planned start and the actual last start and stop of the job

· Server, work process number, and process ID of the last run of the job

· Status and target server of the job

Note

These values may differ from the values Delay and Runtime below, as the current values are collected here, while Delay and Runtime are collected by the data collection method, which runs every five minutes.

Status
(Job_Monitoring_Status)

Last entry in the job log for the job with the relevant name pattern: Name, number, status, and planned and actual execution time of the job. A job is reported in the job log if it has the status active, finished, or canceled.

A red alert is generated if the job exceeds its scheduled start time, remains in the Ready status for a long time, or was canceled.

Log of Current Job
(Job_Monitoring_Joblog)

In addition to possible error messages, this node displays the start, each step, and the end of each job that matches the relevant name pattern; logs for different jobs are separated by an empty line.

Runtime
(Job_Monitoring_Runtime)

Runtime of the current job of a chain of periodic jobs. If the current job has not yet been started, the node is green and the value for the runtime is 0.

Delay
(Job_Monitoring_Delay)

Delay of the current job of a chain of periodic jobs; if the planned start time of the current job has been exceeded and the job has not yet started, the node displays the difference between the measurement time point and the planned start time

Delay + Runtime
(Job_Monitoring_dplusr)

Total of Delay and Runtime

History
(Job_Monitoring_History)

Like the entries in the Status attribute (see above), however, not only the last entry, but a history of previous entries (choose the Display Details button (This graphic is explained in the accompanying text), to display the history)

Note

The entries also contain runtimes and delays. To improve clarity, these values are displayed in the following units:

t £ 300 sec. : Displayed in seconds

300 sec. < style=""> Displayed in minutes

t ³ 1 day: Displayed in days

Customizing Alert Generation

· Runtime, Delay and Delay + Runtime

Threshold values are already assigned to these performance attributes by default, so that an alert is generated as of a defined runtime or delay. To change the threshold value, select the desired performance attribute and choose Properties (see Changing Properties and Method Assignments). Ensure that you choose Edit ® Properties ® Use for individual MTE so that you do not change the threshold values for the other monitored jobs.

· History and Log of Current Job

By default, these log attributes always have the color green. However, you can also assign a yellow or red alert to particular messages of the attribute. To do this, choose Properties and specify the class and ID of the desired message on the Filter tab page.

Note

To determine this data for a message of the log attribute, follow the procedure below:

i. Select the desired log attribute and choose the Display Details button (This graphic is explained in the accompanying text).

ii. The Monitoring Attributes - Detail Data screen appears. To do this, select any row from the list of messages and choose Current Display Variant (This graphic is explained in the accompanying text).

iii. The Change Layout screen appears. Ensure that the fields for message class (MsgKlasse) and the message ID (MsgId) are displayed, and accept the changes.

iv. The class and ID of the message are now displayed in the list.



Keyword: BASIS
Title : Background Job Monitoring Monitor(CCMS)

Basis Customizing the Alert Monitor(CCMS)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

You can set the Alert Monitor in such a way that it triggers alerts in a way that meets your operating requirements. You can also define and modify methods, their assignments, and configuration.

You can change the following properties for monitoring tree elements (MTEs):

· General properties of the MTE classes

· Attribute groups (Properties of the performance, status, and log attributes)

· Elements of individual MTEs

The Customizing in the Alert Monitor has been designed to be simple. You can access it directly from the MTE, and you can, for example, define the threshold values for MTE classes or individual MTEs, for which an alert is generated, if a reported value falls below these values.

If you make changes to the properties of MTEs in the Alert Monitor, these are permanently stored in the database. Even if a data collection method attempts to reset the changes to the original values, your changes are retained and are therefore active in the Alert Monitor.

The general settings in Customizing apply for all monitoring tree elements. However, you can only make type-specific settings for monitoring attributes (see Properties of Monitoring Objects and Attributes).

Grouping several monitoring attributes saves you administration duties. To avoid having to maintain the same customizing settings for many monitoring attributes and then save them in the database, the monitoring attributes are assigned to attribute groups. You then only have to maintain the attribute group. All of the monitoring attributes assigned to this group then automatically receive the new or changed settings (see MTE Classes and Attribute Groups.

Properties Variants

You can assign all of these changes to properties variants. Some or all of the Customizing settings are saved in properties variants of this type. By creating multiple properties variants, you can have different strategies for administering your IT landscape.

For example, to use different alert thresholds for the response time in the test and production systems, you can define separate properties values for these settings. One Alert Monitor in the production system could run with the properties variant for the response time in the production system and another with the properties variant for the test system.

See also:

Changing Properties and Method Assignments

Editing Monitors and Monitor Sets



Keyword: BASIS
Title : Basis Customizing the Alert Monitor(CCMS)

Background Processing Monitor(CCMS)

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Using this monitor, you can monitor the status of background processing in your SAP system both for the entire system and itemized by application servers on which background work processes are configured. For a general introduction to background processing, see Structure linkBackground Processing: Concepts and Functions.

Note

In addition to monitoring background processing in general, you can also monitor selected jobs using the Monitoring Architecture (see Monitoring Jobs with the Alert Monitor).

This graphic is explained in the accompanying text

Features

The monitor contains the following monitoring tree elements (MTEs):

MTE Name
(MTE Class)

Meaning

SystemWideQueueLength
(R3BPSystemWideQueueLen)

Number of jobs that are ready to be executed, have start authorization, and have no target server specified for which there are no free Structure linkbackground work processes, averaged over all application servers with background work processes.

SystemWideClassABPWP
(R3BPSystemWideClassABPWP)

System-wide number of background work processes that are reserved for high priority jobs (Structure linkClass A Jobs)

SystemWideFreeBPWP
(R3BPSystemWideFreeBPWP)

Number of free background work processes in the entire system

SystemWideTotalBPWP
(R3BPSystemWideTotalBPWP)

Number of background work processes in the entire system

R3Syslog\Background
(R3SyslogBackground)

Messages in the Structure linksystem log for the background processing category; you can set the category in which a message is reported, the message text, and the severity and criticality of the alert using the message ID in transaction SE92

Utilization
(BtcWpUtilisation)

Percentage of the background processing capacity currently utilized; the value is averaged over the background work processes and, by default, averaged over the last hour

NumberOfWpBTC
(R3NumberOfWpBTC)

Number of background work processes on an application server

ErrorsInWpBTC
(R3ErrorsInWpBTC)

Number of errors in background work processes since the monitoring segment was created (that is, since the application server was started)

ErrorFreqWpBTC
(R3ErrorFreqInWpBTC)

Number of errors in background work processes per minute

EndedWpBTC
(R3EndedWpBTC)

Number of background work processes terminated after an error; you can use the process overview (transaction SM50) to determine whether a work process should be restarted after an error

ProgramErrors
(R3BatchProgramErrors)

Program errors when executing background jobs

ServerSpecificQueueLength
(R3BPServerSpecQueueLen)

Number of released jobs that are explicitly to be executed on this application server, but for which there are no free background work processes

AbortedJobs
(R3BPServerSpecAbortedJobs)

Individual aborted jobs on an application server; a separate red alert is generated for each of these jobs

Activities

To start the monitor, follow the procedure below:

1. Start the Alert Monitor using transaction RZ20 or choose CCMS ® Control/Monitoring ® Alert Monitor.

2. On the CCMS Monitor Sets screen, expand the SAP CCMS Monitor Templates set.

3. Start the Background Processing monitor from the list by double-clicking it.

Procedure if an Alert Is Triggered

Utilization and SystemWideQueueLength show if there is a serious bottleneck in the capacity of the background processing. The optimal situation is that there is a high utilization of the work processes and a short wait queue length.

Background jobs are usually defined without a target server (Execution target in the Define Job initial screen of transaction SM36). This ensures an optimal distribution of the job workload. Jobs defined in this way therefore do not appear in the ServerSpecificQueueLength, but only in SystemWideQueueLength, meaning that the latter attribute is best for showing capacity problems in background processing.

If a bottleneck exists, it is often useful to divide the existing jobs between more servers. You can do this, for example, by switching dialog work processes to background work processes during the operation mode switch to night operation. Before you increase the number of background work processes, note that it does not make sense to have more than three background work processes for each CPU on a background server, as these work processes will already be fully utilizing the CPU. Set the number of these work processes using the system parameter rdisp/wp_no_btc.

For more information about this topic, see SAP Note 39412 (How many work processes to configure).

An alert for ServerSpecificQueueLength when there is a short SystemWideQueueLengthindicates that the distribution of the jobs is not optimal. You should only specify a target server when it is absolutely necessary that the job is started on this server.



Keyword: BASIS
Title : Background Processing Monitor(CCMS)

Operating the Alert Monitor(CCMS) insap

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Purpose

The following section contains a short overview of the operation of the Alert Monitor. For more information, see the Tutorial for the Alert Monitor.

Process Flow

To perform a a periodic check of your monitored systems, follow the procedure below:

  1. Start the alert monitor by calling transaction RZ20.

The system displays the CCMS Monitor Sets screen. Every monitor set contains monitors that deliver information for a particular system management topic. Expand a monitor set and choose the required monitor by double clicking it.

Note

You can copy, change, and create new monitor sets and monitors. The icons after the monitor sets display whether a monitor set was delivered by SAP (This graphic is explained in the accompanying text) or created by the customer (This graphic is explained in the accompanying text), and whether you are authorized to change the set (This graphic is explained in the accompanying text) or not (This graphic is explained in the accompanying text).

  1. The system displays the
  2. tree structure of the desired monitor. The system is displaying the Current Status view in which you can monitor the current values of your monitoring attributes. If you want to analyze an alert, choose the corresponding monitoring tree element (MTE) by double clicking it.
  3. You can then check what has happened since the last check in the system. Use the Open Alerts monitoring view to see if there have been yellow or red alerts (warnings or problems). If you choose an alert in this view by double clicking it, the system displays the
  4. Alert-Browser. This displays all alerts that have not yet been analyzed in a flat hierarchy.
  5. After you have analyzed an alert and taken the necessary action, set it to Completed to remove it from the display of open alerts.

See Also:

Change Views: Current Status/Open Alerts



Keyword: BASIS
Title : Operating the Alert Monitor(CCMS) insap

T r a n s l a t e to your language