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

From SEPsesam
No edit summary
Line 1: Line 1:
== Configuration of Mail Notification in SEP Sesam ==
== Configuration of Mail Notification in SEP Sesam ==


This short Howto will describe how to configure Mail Notification with SEP Sesam.
This short guide explains how to configure mail notification with SEP Sesam.


=== E-Mail Interfaces ===
=== E-Mail Interfaces ===


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


The following Interfaces exist:
The following Interfaces exist:


  sm_notify  : sends E-Mail about Backups/Restores and status E-Mails upon the Newday event
  sm_notify  : sends an 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_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.
  sm_disaster : sends disaster information if SESAM_BACKUP is executed.


Line 19: Line 18:
==== Configuration of the Interfaces ====
==== Configuration of the Interfaces ====


The Interface files are installed in the so called "templates"
The interface files are installed in the so called "templates"
directory of the SEP sesam Server's installation path. They
directory of the SEP sesam Server's installation path. They
have to be copied to the right directory.
have to be copied to the right directory.
Line 30: Line 29:
   C:\SEPSesam\skel\templates\
   C:\SEPSesam\skel\templates\


The Files are named like:
The files are named:


  sm_alarm.cmd
  sm_alarm.cmd
Line 43: Line 42:
===== Linux =====
===== Linux =====


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


Line 58: Line 57:
  /opt/sesam/bin/sesam/
  /opt/sesam/bin/sesam/


==== Configure E-Mail recipients ====
==== Configure E-Mail Recipients ====


The Recipients are configured through the SEP sesam GUI.
The recipients are configured with the SEP sesam GUI.


Chose the Menu:
Choose the Menu:


  Configuration -> E-Mail Settings
  Configuration -> E-Mail Settings


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


[[Image:Mail_en.jpg]]
[[Image:Mail_en.jpg]]


{{Box_Hint|Please Note|The first line "Account" should always include "sesam"!}}
{{Box_Hint|Please Note|The first line "Account" should always include "sesam"!}}

Revision as of 14:29, 5 May 2011

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.

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"!