Email notification for GRID job output

Is it possible to get the job output in the email notification? I can currently get the job status but not the output.

it may be bit tricky to include in your email notifications, but its possible to trace back to GRID JOB output.
1. Get job JOB execution ID
2. Get Latest output_id from job execution ID.
3. You can do a select from
SELECT output FROM MGMT_JOB_OUTPUT WHERE output_id=&OUTPUT_ID
its explained in metalink note
Note 300690.1 - Troubleshooting Script for Problematic Job Output in EM 10g Grid Control

Similar Messages

  • Email notification for failed Jobs

    Hello,
    We are using Oracle Database 10gR2 (10.2.0.2.0) on AIX 5.3
    How can I setup email notifications for Failed Jobs ?
    Here is what I did:
    1. Setup email and Test mail (working)
    2. Setup email address
    3. Create schedule for notification
    4. Create rule for Failed Job Count and select Send Email
    But when the job fails, I do not get the email
    I think I am missing something here.. Can you please help ?
    Thanks a lot :)

    Hi,
    Does up to the Below Three.. are they working properly..
    1. Setup email and Test mail (working)
    2. Setup email address
    3. Create schedule for notification (Does this working..try to test then go for next step)
    Coming to Step 4:-
    4. Create rule for Failed Job Count and select Send Email
    What do you mean by Failed Job Count .. ??
    what is the Logic you are following to find the latest Failed Job.??
    - Pavan Kumar N

  • EMAIL NOTIFICATION FOR DBMS_SCHDEULER JOB STATUS IN ORACLE 10G

    Hi All,
    I want to configure email notification for the job which is running through BUMS_SCHEDULER in oracle 10g
    Please provide the steps for configuration of the email notification.
    Thanks
    Mak

    Is your problem that you do not know how to send an email from Oracle 10g? If so then you use the UTL_MAIL package.
    Here's an example of calling it as part of a scheduler chain, not strictly what you're asking for but this lets you define success and failure steps and call each one based on the status of previous steps.
    BEGIN
    DBMS_SCHEDULER.CREATE_PROGRAM (
       program_name           =>'prg_Export_Success',
       program_type           =>'PLSQL_BLOCK',
       program_action         =>q'[BEGIN
                                    UTL_MAIL.SEND (
                                       sender      => 'who_its_from',
                                       recipients  => '[email protected]',
                                       subject     => 'subject line',
                                       message     => 'the message',
                                       mime_type   => 'text/plain; charset=us-ascii');
                                    END;]',
       number_of_arguments      => 0,
       enabled                  => TRUE,
       comments                 => 'Email success');
    end;
    BEGIN
    DBMS_SCHEDULER.DEFINE_CHAIN_STEP (
       chain_name      =>  'Export',
       step_name       =>  'stp_EXPORT_SUCCESS',
       program_name    =>  'PRG_EXPORT_SUCCESS');
    END;
    /... then define appropriate rules.

  • Multiple email notification for scheduled web intelligence jobs

    Hi,
    Webi job failed email notification for daily scheduled jobs, email count goes more than 2000.
    Operating System Details:
    Windows 2008 R2
    SAP Business Objects Details:
    SAP BO 4.0 SP6
    Database Details:
    CMS DB Oracle 11.2.1.0
    Issue description:
    On daily basis 100 jobs are scheduled using event file. All 100 jobs start after BW data load completion.
    Below is the process for webi job schedule start.
    1) BW job complete
    2) Event file update on shared location 
    3) Webi job scheduling starts.
    Till april 1st week all 100 jobs were scheduled succesfully  and we recieved 101 notification, 1 extra mail for event file notification. 
    But from last week we recieved more than 2000 mail and on subsequent retry all jobs were scheduled succesfully.
    We check the CUID in query builder, but only data for 16 jobs was available, and in instance manager we got 300 failed instances of 16 jobs, but those jobs were executed successfully after multiple reattempt.
    Below is the error mentioned in instance manger for all 300 instances:
    "Object could not be scheduled within the specified time interval".
    Note : Due to unavailablity of trace log, we cannot enable the trace log in enviornment.
    Thanks,
    Vizit Yadav

    Hi Vijay,
    Thanks for reply.
    I have read the KB#144881- Multiple instances spawned after daylight savings time change.
    Though this issue arrived after daylight saving, i have few more points to describe:
    1. Issue arrives only on Monday, not on every day.
    2. Day light saving was on 29th March, after that at the very first Monday on 30th March issue was not       there, however after that issue arrives every Monday, i.e. 6th & 13th of April.
    Is there any SAP notes for SAP-BO 4.0 SP 6 on this.
    Regards,
    Vizit

  • Email Notification for long running session

    Dear All,
    I want to configure email notification for any long running session on my server which can be seen in SM66. Is there any possible way? Please suggest.
    Regards,
    Prem

    Hi Prem,
    I hope you doing good.
    Now, for the above query, I am not sure that we have any such MTE in CCMS for user specific session, however, a small custom code can be used to achieve such functions
    Here, you have to use some f Function Modules using CALL FUNCTION/FM in your abap code.
    These function modules are from TH* family like TH_DISPLAY_USER_LIST and TH_USER_INFO. Now the coder can file out the results based on some 'Threshold', which are in spool generated - convert this into PDF(if you want). Now schedules this custom program in background for every 10 mins, and notification will come through it on email ID or any DL.
    How to send email from job - How to email output from Background Jobs
    Regards,
    Divyanshu

  • Best way to schedule and get notification for plsql job

    hi
    i would like to execute a procedure on weekly basis and want to be notified if the job fails
    which is correct way of doing this?
    1. create user defined metric and call the procedure this way
    2. create scheduler job dbms_scheduler
    the other question is while I have exception handling within plsql procedure, how will the grid agent or dbms_scheduler distinguish between success and failure ?
    do I have to set a variable or execute special command as part of exception handling ?

    Have you researched the ADD_JOB_EMAIL_NOTIFICATION procedure of DBMS_SCHEDULER?
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25788/d_sched.htm#BABBFBGI
    This procedure adds e-mail notifications for a job. E-mails are then sent to the specified list of recipients whenever any of the specified job state events is raised.For more information about monitoring jobs, including a description of job logs and job email notifications, look here:
    http://docs.oracle.com/cd/E14072_01/server.112/e10595/scheduse008.htm
    You can configure a job to send e-mail notifications when it changes state. The job state events for which e-mails can be sent are listed in Table 28-13. E-mail notifications can be sent to multiple recipients, and can be triggered by any event in a list of job state events that you specify. You can also provide a filter condition, and only job state events that match the filter condition generate notifications. You can include variables like job owner, job name, event type, error code, and error message in both the subject and body of the message. The Scheduler automatically sets values for these variables before sending the e-mail notification.

  • BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?

    Hi All.
    I have this request.
    BODS 3.1 : How to trigger an email alert for the jobs on BODS server ?
    We have jobs scheduled on BODS running smoothly and absolutely fine.
    But to check, i am logging into the admin console and check for the jobs status.
    I would like to have an email to be received from BODS after each job is finished.
    It could succuessful. Or it could fail.
    Whatsoever, i wish to receive an email alert as soon as a job is finished.
    Can anyone advise me as to whether this could be made possible.
    And if yes, how this could be done.
    Thanks for your help in advance.
    In BOE CMC / for webi / schedule / we find an option to send email for a job success or a job failure.
    Is there any option similar to that in BODS ?
    Also would like to know :
    how to use the smtp_to or mail_to functions ?
    how to set up the smtp server for this ?
    thanks
    REgards
    indu
    Edited by: Indumathy Narayanan on May 31, 2011 3:47 PM

    Hi.
    Since am new to this BODS. I need some help.
    I already have many jobs which are running absolutely fine.
    And when a job runs, and finishes, am able to see the trace saying
    e.g. :
    Job_abc is completed successfully.
    We got the smtp service activated for our test server.
    and we hae a group email id.
    I have put the details of the smtp server / ip address / and said apply restarted.
    The i created a simple test script as below :
    print (' Before email ' );
    smtp_to('abc@company_name.com', 'Job ' || job_name() ||' on ' || host_name() || ' has FAILED',
    ' the job has failed', 0, 0);
    print('After Email ');
    It does send a email to as per smtp_to whatever email is specified.
    But how to differentiate between a job success
    And a job which has failed.
    I wish to have a mail which says on the subject :
    'Job ' || job_name() ||' on ' || host_name() || ' has completed successfully'
    ==> IF it is a success
    OR
    'Job ' || job_name() ||' on ' || host_name() || ' has failed'
    ==> if it has failed
    How to make the system identify, whether
    to send a success message or a error message whatever
    Could anyone advise.
    thanks
    indu

  • Alert Email notification for Log file alerts

    Hi,
    Scenario: SCOM 2012 R2 UR4.
    There are created unix/linux log file monitoring objects. In SCOM console I can view alerts related to unix/linux log file monitoring. Email notification is: Warning or Critical for severity, and, Medium or High for priority. The alerts for unix/linux log
    file are severity warning and priority medium.
    In my inbox there are emails for alerts (Warning or Critical for severity, and, Medium or High for priority) except for unix/linux monitoring.
    The question is:
    How to enable email notification for unix/linux log file monitoring?
    Thanks in advance!

    Hello,
    If you go into the "Subscription" in the Notifications section of the Operations Console\Administration, you should be able to see the Description of the subscription criteria.  Could you copy paste that in a reply?
    Thanks,
    Kris
    www.operatingquadrant.com

  • Email Notifications for both UWL Tasks and Collaboration Tasks.

    Hello,
    I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
    Could any one please give me the configuration steps.
    Thanks in Advance.
    Regards,
    Sridhar.

    Hi sri,
    Refer the following threads
    https://www.sdn.sap.com/irj/scn/thread?threadID=147316
    https://www.sdn.sap.com/irj/scn/thread?messageID=315715#315715
    https://www.sdn.sap.com/irj/scn/thread?messageID=1170132#1170132
    Regards,
    P.Manivannan

  • Email Notifications for UWL Tasks and Collaboration Tasks

    Hi,
    I want to configure Email Notifications for both UWL Tasks and Collaboration Tasks.
    I done with the all the Configurations suggested in the below link:
    [https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/706d054d-da24-2b10-f18a-fc82faf6468e]
    But Email Notifications are not reaching the users Lotus Mail ID. Could any one please suggest me that i am missing any Configurations.
    Thanks in Advance.
    Regards,
    Sridhar.

    Hi Sridhar,
    I created a Wiki page with usefull links to troubleshoot problems with the Email connectivity from KM:
    https://wiki.sdn.sap.com/wiki/x/g4KmAw
    Please see if it helps,
    Robert

  • Email notification for MeetingPlace not being received

    Client has MeetingPlace 7.1.1 installed. Outlook email notification for MeetingPlace stopped working.
    Problem symptom:  When users try to schedule a meeting from web server page, both scheduler and invitee do not receive email notifcaiton in their email account.  But email notification for MeetingPlace works when users schedule meeting from MeetingPlace for Outlook Plug-in regardlessly.
    I've run a test with client, meeting creation is successful. But as soon as user finishs creation meeting, email notification is "Queued for delivery" in Email Notification Report in MeetingPlace App Admin page. I checked all possible settings in MeetingPlace Administration page, nothing looks wrong - correct email address account and type in user profile; SMTP server is properly configured and passes tha test; SMTP server is up and runnin. 
    I'm stumped after deep research online, did not go anywhere. Can someone point out where could possible go wrong and how to fix this issue??
    Fei

    Email notification works differently depending on where the scheduling is done. When done from Outlook your Outlook client sends the request directly to Exchange. When scheduling from the web the invite is held in a mailbox on the Application Server and periodically the system tries to send the email to its mailbox on Exchange.  Since the issues is with meetings scheduled via the web interface there is an issue with MP talking to Exchange.  I assume the users scheduling from the web have Outlook selected in their profile. This is the first place to check. Next I would look at the Outlook settings in MP. Make sure the MP mailbox is still in Exchange and that the user name and password is correct for the Exchange mailbox. This is usually where the issue is. Also make sure that SSL has not become a requirement to talk with Exchange.
    Let me know if you have any questions.
    John

  • Email Notifications for Collaboration Tasks are Not going to Lotus Notes

    Hello Everyone,
    Email Notifications for the Tasks in Collaboration are not going to Lotus Notes. We are working on EP 7.0 SP14 with external ITS and backend r/3 4.7.
    I performed all the configuration activities that are suggested in the below wiki:
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action&pageId=61244035
    It was worked fine once for me when i perfomed the activities mentioned in the below thread:https://www.sdn.sap.com/irj/scn/thread?threadID=147316
    But after restarting our Portal Server the Email Notifications for Collaboration Tasks are not coming.
    Could any one please suggest that we need to do any other configurations.Thank you.
    Regards,
    Sridhar.
    Edited by: Sridhar on Mar 18, 2009 12:14 PM

    Hi Sridhar,
    I created a Wiki page with usefull links to troubleshoot problems with the Email connectivity from KM:
    https://wiki.sdn.sap.com/wiki/x/g4KmAw
    Please see if it helps,
    Robert

  • I AM RECEIVING MULTIPLE EMAIL NOTIFICATIONS FOR FACEBOOK POSTS. HOW CAN I FIX THIS?

    I AM RECEIVING MULTIPLE EMAIL NOTIFICATIONS FOR FACEBOOK POSTS. HOW CAN I FIX THIS? I AM GETTING LIKE 6 DUPLICATE EMAILS FOR FACEBOOK NOTIFICATIONS. HOW CAN STOP THIS??

    Perhaps you should contact Facebook?

  • Email Notification for Sub-Folders on a Samsung Note 2 device

    My company recently switched to an internal Exchange Server.  I have a Samsung Note 2 phone.  In my Outlook, I have many Sub-folders that I use along with rules so that as email comes in, it is automatically placed in the Sub-folder.  When
    this happens, there is no notification on the Note 2 device that an email has come in.  Nor does it download until I manually drill down on the phone to that particular folder.  The long and short of it is I am not getting notified of these emails. 
    Is there a setting either on the phone or in Exchange that needs to be adjusted?
    Thank you.

    Hi,
    According to your description, you need a email notification for sub-folder.
    And you can try the following workaround:
    Add the condition “display a Desktop Alert” in the Outlook rule which you have apply to the sub-folder.
    If you have any question, please feel free to let me know.
    Thanks,
    Angela 
    Angela Shi
    TechNet Community Support

  • Email notifications for buyers

    I have to send out an email notifications if a project which has not been awarded is in a stage for longer then 30 days.  I need to send out a notification to alert the buyer.
    My question is can this be done writing a simple program ?  If so what fm do I use to send out email notifications for SRM ?   Or I have to do this through workflow which I am totally clueless about.  Thanks!

    Hi,
    There are tow ways we can do this requirement.
    First :
    Please create a zreport where it will identofy all the documents and corresopnding users ids' for whom do want to send an emails.
    Second: you can achieve this fucntionality through workflow however i am not sure how it will be done thorugh workflow..i will check and get back to you...
    Thanks and Regards,
    Ravi Nagandla

Maybe you are looking for

  • Can not find a table in DBA_TAB_PRIVS and ROLE_TAB_PRIVS

    I get a table 'KNA1', a table of SAP R3 ERP application, and tried to find out all privileges granted to 'KNA1'. Using the SQL statement below, I am sure 'KNA1' is existing. SQL> SELECT * FROM DBA_OBJECTS WHERE OBJECT_NAME = 'KNA1'; OWNER OBJECT_NAME

  • Problem in Creating .txt report

    Hi All, I need to create the report, if the document having fpo, $$$, TK, 000 etc... OR, create report "No Errors found" My script working fine, but the problem is creating the report not as user friendly Coding is below: myDoc = app.activeDocument;

  • Downloading MS Office 2008 to iMac without a port.

    I have two licenses remaining on MS Office Home & Student Edition software purchased in 2008. It's supposed to be downloaded via the DVD provided in the packaging. Rather than purchasing a new "subscription" to MS Office as it's now called, and tossi

  • How to use SIGAR in Ubuntu-based Linux?

    I am using SIGAR in a project with Maven and Spring. I have the Maven Dependencie and Maven Repository included in my pom.xml file, as described in this link: http://mavenhub.com/mvn/thirdparty-uploads/org.hyperic/sigar/1.6.5.132  However, SIGAR stil

  • Encoding options

    Hello, I am working in Premiere 5.5 on some content that is headed for the web. Currently, in order to produce a video that works on all platforms and mobile devices - I have to take the video rendered from Premiere thru meda encoder and run it thru