Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to setup SMTP Email Notification.

Notification Setup

How to setup SMTP Email Notification.

by  andrewclarke  Posted    (Edited  )
If Backup Exec is running on your server and you don't have MicroSoft Exchange or any other server software installed, you can still set up email notification through [color red]SMTP[/color].

What you do need is:
[color red]1.[/color] Internet access.
[color red]2.[/color] An email account and the name of the correct SMTP server.

Okay internet access is fairly normal for most servers, but what's this about an SMTP server?

Basically, you need an ISP hosted email account so you can access the mail server. You CANNOT use Hotmail or any other Web-based email account as these are protected from this kind of use.
So, contact your ISP and get them to give you a new email address and the SMTP server name. For example:

Email address : backupserver@ispname.com
SMTP server name : mailserver.ispname.com

Open up Backup Exec (The version I'm using is 8.0, please advise if this is any different for other versions).
Click Tools on the Menu and select Notification Setup.
Click on the SMTP Setup button.
Enter the name of the SMTP Server and your email address.
Set the SMTP port to 25 which is the port used in most cases for email.
Click Ok.

On the Notifications tab, select the event you want to be notified of.
Click the Add Notification button.
Enter the email address to notify or addresses separated by semicolons(;).
Enter the subject line and the message text.
Click Ok.

You will see a new notification item on the right hand side with a mail icon beside it.
:~/ IMPORTANT : Make sure to test the notification by pressing the Test Notification button and checking the target email account. Backup Exec does not know if the mails are being sent correctly, so you need to test this yourself.
If all is setup correctly, you should receive a test mail from the email account.

With this kind of notification, you cannot include an attached job log, however I've found this kind of email notification invaluable in monitoring the backup procedure. You can set it up for the following four events:
[color red]Job Succeeded[/color]
[color red]Job Aborted[/color]
[color red]Job Failed[/color]
[color red]Operator Attention[/color]

However, be warned that if you include the Operator Attention event and forget to change the tape, you'll be send an email every 15 minutes prompting you to replace the tape until the problem is resolved.
I resolved this by setting the following Registry Values:

Copy and paste the following into a text file and rename to bent.reg. Then save the file and double click on it to add to the registry.

[color blue]
Code:
REGEDIT4

[HKEY_LOCAL_MACHINE\Software\Veritas\Adamm\]
"Media Request Timeout Seconds"=dword:30

[HKEY_LOCAL_MACHINE\Software\Veritas\Adamm\Alerts\]
"Insert Overwrite Media Changer Response"=dword:1
"Insert Overwrite Media Changer Timeout"=dword:30
[/color]
I hope this is useful. ;-)

Regards.

Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top