NetWorker: Notifications Overview
Summary: This KB goes over NetWorker Notification functionality, how to use them and what to expect.
Instructions
NetWorker provides notification functionality using the NSR Notification resource. Various default notifications come pre-configured with NetWorker and can be reviewed from the NetWorker Management Console (NMC) under Server > Notifications.
Server > Notifications are not used for policy-specific actions such as backups or clones. To configure policy notifications, see: NetWorker: How To Configure Policy Email Notifications
NetWorker notifications use the following logic. If an Event occurs with a defined Priority, perform Action. The events and priority follow standard NetWorker logging; for example, Media > Critical. When a Critical Media message is logged in daemon.raw, a defined NetWorker notification action sends the corresponding message from the daemon log. The action can be one of the following:
- Log default:
- Linux - Directs data about the NetWorker events to the logger. The logger utility sends the event with a tag of
daemon.noticeto the Operating system log file defined in the system configuration file, for examplesyslog.conf. - Windows - Sends data about NetWorker events to the
..\Program Files\EMC NetWorker\nsr\logs\messageslog file, or as defined bynsrlogcommand.
- Linux - Directs data about the NetWorker events to the logger. The logger utility sends the event with a tag of
Example:
nsrlog -f /nsr/logs/somelogfile
- Simple Mail Transfer Protocol (SMTP) - Uses operating specific mail command to send an email notification to the system account or email recipient
- Linux:
/bin/mail -s "Subject" -r sender@email.local recipient@email.local
- Windows:
smtpmail -s "Subject" -f sender@email.local recipient@email.local
- Simple Network Management Protocol (SNMP) - Uses
nstrapcommand to send SNMP trap to SNMP trap receiver.
Example:
nsrtrap -c community_string trap_receiver_hostname/IP
NOTE: The NetWorker Administration Guide provides additional details regarding SNMP traps. See the section on Configuring SNMP notifications in NetWorker.