Sending email notifications
You can use the email notification service to send automatic email notifications to notify you about the completion status of Baselines that you run.
Before you begin
About this task
After you have installed and configured the notification service, you can send email notifications to notify you about the completion status of Baselines.
Complete the following steps to send email notifications.
Procedure
Example
If you add the Task with the
following notification comments as a component in a baseline, it sends an email when this Task
(component) completes (for example, this may be useful if added to the middle of a
baseline):
// NOTIFICATION_START
// to: "me@me.com, you@you.com"
// from: "noreply@bigfixteam.mycompany.com"
// subject: "Basline component '{actionName}' has completed successfully"
// body: "Baseline is 50% complete now"
// NOTIFICATION_END
When
a Task consisting of the following
notification comments is added as a component in a Baseline, it sends an email when that overall
Baseline
completes:
// NOTIFICATION_START
// to: "me@me.com, you@you.com"
// from: "noreply@bigfixteam.mycompany.com"
// subject: "Basline '{actionName}' with ID {actionID} has completed successfully"
// body: "The Baseline is complete!"
// scope: "parent"
// NOTIFICATION_END
You can add the previous two examples only to baselines that are statically targeted. Baselines targeted by group, property or name list do not enable a notification to be sent.
You can specify the
following example in Baselines targeted statically or
dynamically:
// NOTIFICATION_START
// to: "me@me.com, you@you.com"
// from: "noreply@bigfixteam.mycompany.com"
// subject: "Basline '{actionName}' with ID {actionID} has failed on 5 or more computers"
// body: "Review the results of Baseline '{actionName}' (ID: {actionID})"
// failure-trigger: "5"
// scope: "parent"
// NOTIFICATION_END