media_deassign_notify script
The NetBackup Media Manager calls the media_deassign_notify script after media is deassigned. To send an email notification when media is deassigned, include an email address in the script where indicated. (The script must be run as the root user.)
On Windows: Copy Install_path\NetBackup\bin\goodies\media_deassign_notify.cmd into Install_path\NetBackup\bin\ on the primary server.
On UNIX: Copy /usr/openv/netbackup/bin/goodies/media_deassign_notify into /usr/openv/netbackup/bin/ on the primary server.
If the script exists in the \bin directory, the following parameters are passed to the script: media ID, legacy media type, barcode, robot number, and robot type.