Source:How to Configure Mail Notification-Jaglion

From SEPsesam
Revision as of 14:50, 23 February 2011 by Lhu (talk | contribs)

Configuration of Mail Notification in SEP Sesam

This short Howto will describe how to configure Mail Notification with SEP Sesam.

E-Mail Interfaces

The Notification is done via several "Interface" Scripts. These scripts are by default included in a SEP Sesam Server installation, but will not be configured.

The following Interfaces exist:

sm_notify   : sends E-Mail about Backups/Restores and status E-Mails upon the Newday event
sm_alarm    : sends E-Mail if there are problems with tapes (no tape, wrong tape inserted ..)
sm_disaster : sends disaster information if SESAM_BACKUP is executed.

The E-Mails will be sent to the user accounts defined in the SEP sesam GUI (Configuration: E-Mail Settings)


Configuration of the Interfaces

The Interface files are installed in the so called "templates" directory of the SEP sesam Server's installation path. They have to be copied to the right directory.

Windows

The interfaces are (based on your installation Path) placed in for example:

 C:\SEPSesam\skel\templates\

The Files are named like:

sm_alarm.cmd
sm_notify.cmd
sm_disaster.cmd

Copy those files to:

C:\SEPSesam\bin\sesam


Linux

Like on Windows the templates are shipped within the sesam installation path's template directory:

/opt/sesam/skel/templates

The scripts are named:

sm_notify
sm_alarm
sm_disaster

Copy those scripts to:

/opt/sesam/bin/sesam/

Configure E-Mail recipients

The Recipients are configured through the SEP sesam GUI.

Chose the Menu:

Configuration -> E-Mail Settings

and create a user account like shown in this screenshot, please replace the values from the example with your desired E-Mail accounts.

Mail en.jpg

Please Note:

The first line "Account" should always include "sesam"!