cancel
Showing results for 
Search instead for 
Did you mean: 

CCMS Alert for job log and long running job not working

Former Member
0 Kudos

Hi All,

Currently I have set a perticular job in table ALBTCMON to get an alert for failure and I am successfully getting an alert when this job fails.

But I would like to get an alert for a job log as well when this job fails which will give an idea about the reason of the failure when a perticular job fails.

I activated the "Log of Current Job" node under "staus" node but it is not showing the details or any data and not sending an alert message.

Please suggest on this.

Secondly, i have activated the node "Jobs Over Runtime Limits" to get an alert for all jobs which are running above a specific duration.

I have set parameter"MAX_RUNTIME_IN_MIN" in method "CCMS_LONGRUNNING_JOB_COLLECT" for time duration (e.g. 20 min), but it is not showing any data. Same thing is working in Dev system, but it is not working in production.

I have set all entries of job names including '*' in table ALLONGJOB_CTRL to "POSITIVE_JOBLIST" and are in "Active" status.

please suggest on this as soon as possible.

Hoping your kind cooperation!!!

Regards,

Suhas

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member187565
Active Contributor
0 Kudos

Dear Suhas,

> But I would like to get an alert for a job log as well when this job fails which will give an idea about the reason of the failure when a perticular job fails.

When you register a job in table "ALBTCMON", it automatically send information of that particular job like

Details of current Job, status, Log of current job, Runtime, delay+runtime, history and last data collection. so if you configure it then it will surely give alerts.

Regards,

Rafikul Hussain

Former Member
0 Kudos

Hi Rafikul,

Thanks for the reply.

Yes, as you said, actually it should show the job log there only, but unfortunately it is not showing that.

I am getting the other details like status, history, runtime.

Also, it is not sending the email through auto reaction method for current job log.

any ides on this?

former_member187565
Active Contributor
0 Kudos

Dear Suhas,

let me know which CCMSAgent you are using. Try to use the current version of ccmsagent.

Regards,

Rafikul Hussain

Former Member
0 Kudos

Hi

try to create rule based own monitor using 'CCMS_DEFINE_R3_SYSTEMS' and the 'CCMS_GET_MTE_BY_CLASS' and check will you able to see the data

link for the same [http://help.sap.com/saphelp_nw70/helpdata/en/1d/ab3207b610e3408fff44d6b1de15e6/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/1d/ab3207b610e3408fff44d6b1de15e6/content.htm]

and have you properly maintain runtime in collection method 'CCMS_LONGRUNNING_JOB_COLLECT'

chk the note [Note 1138223 - CCMS: New Monitoring for Long-Running Batch Jobs|https://websmp230.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1138223]

Jansi