Skip to main content
Snap Creator Framework

Parameters for setting up event management

Contributors netapp-aherbin NetAppZacharyWambold

Several parameters are required to set up event management for Snap Creator Server.

Parameter Setting Description

NTAP_ASUP_ERROR_ ENABLE

“Y” or “N”

EnablesSnap Creator error messages to also log an AutoSupport message on the storage controller. Snap Creator always creates an info AutoSupport message when the backup has started and when the backup is complete.

FAILURE_MSG

Logs the failure message that is defined in case of a Snap Creator failure. This failure message can also be sent to SENDTRAP if SENDTRAP is defined.

SENDTRAP

Interfaces with your monitoring software or email, enabling you to pass the alerts that are generated from Snap Creator into your own monitoring infrastructure. The %MSG variable is the message sent from Snap Creator. The following is an example of how you can send an email on a UNIX system: SENDTRAP=/usr/bin/mailx -s %MSG myaddress@mydomain.com </dev/null

To send an email on a Windows system, you must add cmd.exe /c before any command. For example: SENDTRAP= cmd.exe /c echo %how

SUCCESS_TRAP

Interfaces with your monitoring software or email, enabling you to pass the success message generated from Snap Creator into your own monitoring infrastructure. The %SUCCESS_MSG variable is the success message for Snap Creator. The following is an example of how you can send an email on a UNIX system: SUCCESS_TRAP=/usr/bin/mailx -s %SUCCESS_MSG myaddress@mydomain.com </dev/null

To send an email on a Windows system, you must add cmd.exe /c before any command. For example: SUCCESS_TRAP= cmd.exe /c echo %Hello

SUCCESS_MSG

After a successful Snap Creator backup, this setting logs the message that is defined. The message is also sent to SUCCESS_TRAP, if SUCCESS_TRAP is defined, or to SENDTRAP, if SENDTRAP is defined.