Database Mail..create alert..troubleshooting..

  • I must have tried everything, every step recommended via GOOGLE search referencing SHORT OF WRITING SCRIPT; can't seem to create an alert that I know should fire off an alert for a known nightly error in a backup job at 3am pst. (see details below)....it occurs in the same log but as stepID 1, (step 0 is ok)...CAN ANYONE HELP?--feel free to contact me rhsu@cmhhospital.org or 805.652.6333 (this log alert topic is in a live PRODUCTION environment..)

    NOTES:

    -SMTP setup okay (test email rec'ed)

    -Alert group setup appears configured ok..

    -Operator setup appears configured ok..

    Date4/16/2011 3:00:00 AM

    LogJob History (AIE Table Maintenance)

    Step ID0[/u]

    ServerPMDBSQL

    Job NameAIE Table Maintenance

    Step Name(Job outcome)

    Duration00:00:01

    Sql Severity0

    Sql Message ID0

    Operator Emailed

    Operator Net sent

    Operator Paged

    Retries Attempted0

    Message

    The job succeeded. The Job was invoked by Schedule 52 (Nightly IF Cleanup Schedule). The last step to run was step 1 (AIE Table Cleanup).

    Date4/16/2011 3:00:00 AM

    LogJob History (AIE Table Maintenance)

    Step ID1

    ServerPMDBSQL

    Job NameAIE Table Maintenance

    Step NameAIE Table Cleanup

    Duration00:00:01

    Sql Severity16

    Sql Message ID50000

    Operator Emailed

    Operator Net sent

    Operator Paged

    Retries Attempted0

    Message

    Executed as user: CMHS\ahsservice. AIE Data Cleanup: 04/16/2011 : Ntier_69721.IB_Audit_Log:0 records archived [SQLSTATE 01000] (Message 50000) AIE Data Cleanup: 04/16/2011 : Ntier_69721.IB_Activity_Log:0 records archived [SQLSTATE 01000] (Message 50000) AIE Data Cleanup: 04/16/2011 : Ntier_BUEV.IB_Activity_Log:0 records archived [SQLSTATE 01000] (Message 50000) Invalid object name 'hpsite.encounters'. [SQLSTATE 42S02] (Error 208) AIE Data Cleanup: 04/16/2011 : Ntier_CFHE.IB_Export_Events:342 records deleted [SQLSTATE 01000] (Error 50000). The step failed.

  • is this job firing a SSIS package that someone built? or does this job fire off Maintenance Plan of some sort?

  • I'm sorry if this is a stupid question, but did the job fail? Individual steps can be set up to continue even if a step "fails". The whole job will then finished successfully.

    Additionally are you asking about alerts or notifications? It seems like you're asking for a notification if a job fails, but I'm not sure.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply