Monitor the background jobs based on priority in RZ20
I want to monitor the background jobs based on priority in RZ20,
I defined Medium and High priority Jobs.For medium priority jobs i need to send alert to only email and for high priority jobs i need to send the alerts to both pager and email.
How can i distinguish the jobs based on high and medium?should I change the data collection method or auto reaction method to acheive this functionality?
Jon Friesen replied
You do not need to create separate monitors or monitor sets, if you just want to send email alerts for your job monitors. I'll give a longer answer but first a couple basic concepts:
1. The satellite system maintains a tree of monitor tree entities ("MTEs"); you can see the whole tree in RZ20 --> SAP CCMS Technical Expert Monitors --> All Monitoring Contents (background job monitors will appear in this tree under the Background branch
2. What SAP calls a "monitor" is just a view of a subset of the entire tree. RZ20 has many predefined monitors which show various subsets of the tree, to focus on database MTEs, performance MTEs etc
3. A "monitor set" is like a folder of monitors. It is convenient to group monitors in monitor sets and SAP provides monitor sets for ERP-specific monitors, J2EE-specific monitors etc
So to answer your question, when you define your background job monitors they will appear in the tree of MTEs but you do not need to create a monitor (remember this is just a view of a subset of the tree). However you may find it convenient to create a monitor called "Customer-specific job monitoring" which would show just the job monitoring nodes, to make it easier for a batch administrator (for example) to find them.
And you do not need to create a special monitor set to put your monitor in. However it can be convenient to do so because the monitor set can have permissions defining who is allowed to modify the set and who can view it.
Finally, everything I've said so far pertains to defining a monitor or monitor set on the satellite system. In the CEN system, you will definitely find it useful to define a monitor set called (for example) "Central monitoring" and in it, define a monitor called (for example) "Job monitoring" which shows you the job MTEs from your various satellite systems. This will make it easy for a job administrator to view only the nodes he cares about, and will give you (the CCMS administrator) a convenient place to check the status of your autoreaction methods etc.