User Tools

Site Tools


beewm:devel:watchdog_and_user_notification

Watchdog and User Notification

Automatic Restart or Email notification in case of daemon crash

A watchdog process could monitor the current status and responsiveness of the daemon. In case of crash or error, an email notification should be sent.

Note: A corresponding watchdog based on a shell script already exists.

Email notification for all possible error conditions

Concept

Email notification should be robust to exceptions and crashes, and should work based on logging classes. Newly added code should easily benefit from email notification without programming overhead.

Possible implementation:

  1. email notification handled by a standalone thread or process based on logfile parsing.
  2. email notification based on the logging library

Monitoring of All Resources and Notification

  1. Send error email if openBIS dropboxes fail to import datasets
  2. Send error email if openBIS dropboxes accumulate datasets
  3. Send error email if any storage share reaches critical fill state
  4. Send error email if iBRAIN2 dropbox accumulate datasets, which are not registered within N days
beewm/devel/watchdog_and_user_notification.txt · Last modified: 2013/07/24 17:59 by epujadas