NetWorker: How To Configure Policy Email Notifications

摘要: This KB offers an overview of NetWorker logging and how to configure Simple Mail Transfer Protocol (SMTP) email notifications for policy-based actions.

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

說明

NetWorker notifications can send backup info to default logs or email addresses using SMTP, using the NetWorker server's operating system mail command.

Log Locations:

Linux: /nsr/logs
Windows (Default): C:\Program Files\EMC NetWorker\nsr\logs
NOTE: Policy logs go to /nsr/logs/policy by default, even if email is used for notifications instead of nsrlog. The 'nsrlog -f filename' command is used to send the policy completion details to a specified file under /nsr/logs. The default file is /nsr/logs/policy_notifications.log.

Email Commands:

Linux: 
mail [-s smtphost] [-s subject] [-r sender] recipient [recipient[...]]
Windows: 
smtpmail [-s subject] [-h smtphost] [-p port] [-f sender] recipient [recipient[...]]
For more information about these commands, refer to the man pages of the operating system mail command:
NOTE: Different variables are available for the Subject of the mail commands to automatically pull information (for example: policy name, workflow name, completion status). These variables can vary depending on NetWorker version, refer to the NOTIFICATION VARIABLES section of the NetWorker Command Reference Guide available through: https://www.dell.com/support/home/product-support/product/networker/docs

The Send Notification conditions have the following options:

  • On Failure: Only sends a notification when a job has failed.
  • On Completion: An email is sent whether the backup is successful or failed.

The notifications are configured at the POLICY, WORKFLOW, or ACTION level. 

For example, the POLICY notification is set under Protection-->Policies:
Example mail command

By default the WORKFLOW and ACTION notification setting is set to "Set at Policy Level":

Workflow notification settings:

workflow notification settings
Action notification settings:
action notification settings

With this configuration, the following would be received:
1 "Summary Notification Report" for each WORKFLOW in the policy upon completion.
1 "Action Report" for each ACTION under this policy.

For example, with this configuration the "Server Protection" policy sends three email messages:
1 "Summary Notification Report" notifications showing the completion time and status of each WORKFLOW.
2 "Action Report" notifications show the completion time and status and information for each ACTION, e.g: the "Expiration" and "Server db backup" ACTIONS.
 
This many email messages may be unwanted for one policy. You cannot set 'Do not notify' in the WORKFLOW or ACTION fields, but you can redirect output to ..\nsr\logs by configuring the following:

POLICY: On completion or failure - operating system-specific mail command and options. See Email Commands.
WORKFLOW: On completion or failure - "nsrlog -f policy_notifications.log"
ACTION (expiration only): On completion or failure - "nsrlog -f policy_notifications.log"

With this configuration one email is received showing the backup details, the WORKFLOW notifications and "Expiration" ACTION details are sent to the default policy_notifications.log

其他資訊

受影響的產品

NetWorker

產品

NetWorker Family, NetWorker Series
文章屬性
文章編號: 000156456
文章類型: How To
上次修改時間: 11 11月 2025
版本:  9
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。