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

From SEPsesam
No edit summary
Line 10: Line 10:
The following Interfaces exist:
The following Interfaces exist:


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


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




Line 20: Line 20:


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 Director.
have to be copied to the right directory.


===== Windows =====
===== Windows =====
Line 36: Line 36:
  sm_disaster.cmd
  sm_disaster.cmd


copy those files to:
Copy those files to:
   
   
  C:\SEPSesam\bin\sesam
  C:\SEPSesam\bin\sesam
Line 43: Line 43:
===== Linux =====
===== Linux =====


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


Line 54: Line 54:
  sm_disaster
  sm_disaster


Copy those scripts so:
Copy those scripts to:


  /opt/sesam/bin/sesam/
  /opt/sesam/bin/sesam/
Line 60: Line 60:
==== Configure E-Mail recipients ====
==== Configure E-Mail recipients ====


The Recpipients are configured through the Graphical User Interface.
The Recipients are configured through the SEP sesam GUI.


Chose the Menu:
Chose 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 from the example with your desired E-Mail accounts.


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


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

Revision as of 14:50, 23 February 2011

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