Email Error Reports

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #8789
    SCT
    Participant

    Is it possible to get only error reports by email?

    #10041
    doug
    Moderator

    You can use the job queue to create a multi-step action to execute on the target. You can use the special item in the job queue ‘Send email notification if previous action fails/errors’ to trigger an email to be sent.

    So for example your job queue could be:

    1. Download and install updates + reboot if required

    2. Send email notification if previous action fails errors

    Other options for sending email notifications are explained here:

    using-email-notifications-to-check-status-of-automated-patching-events

    #10042
    SCT
    Participant

    Thanks a lot.

    I don’t get an email. Just get the following message:

    Job Queue: Execution continuing without sending email notification. Previous action exit code: 0

    What kind of error do i need to get an email?

    #10043
    doug
    Moderator

    You said you only want error reports. The example I gave you will only send the email if there is an error. In your case there was no error, so no email was sent. “Exit code: 0” means success. Non-0 exit codes would generate an email.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.