Source:How to Configure Mail Notification-Jaglion: Difference between revisions

From SEPsesam
No edit summary
Line 1: Line 1:
{{Copyright SEP AG en}}
== Configuration of Mail Notification in SEP Sesam ==
== Configuration of Mail Notification in SEP Sesam ==



Revision as of 10:30, 2 January 2013

Template:Copyright SEP AG en


Configuration of Mail Notification in SEP Sesam

This short guide explains how to configure mail notification with SEP Sesam.

E-Mail Interfaces

The notification is done via several "Interface" scripts. These scripts are included in a SEP Sesam Server installation by default but are not configured.

The following Interfaces exist:

sm_notify   : sends an E-Mail about backups/restores and status E-Mails upon the Newday event
sm_alarm    : sends an 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.

Copy automatically via GUI

In the GUI click

"Configuration" -> "Interfaces" -> "<Interface type>"

this open a window with the interface script. Then click the "Save" button.

This action read the template script and save it to the appropriate folder.

Copy manually

Windows

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

 C:\SEPSesam\skel\templates\

The files are named:

sm_alarm.cmd
sm_notify.cmd
sm_disaster.cmd

Copy those files to:

C:\SEPSesam\bin\sesam


Linux

As in Windows the templates are shipped within the SEP 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 with the SEP sesam GUI.

Choose the Menu:

Configuration -> E-Mail Settings

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

Mail en.jpg

Please Note:

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