====== 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: ==== - email notification handled by a standalone thread or process based on logfile parsing. - email notification based on the logging library ===== Monitoring of All Resources and Notification ===== - Send error email if openBIS dropboxes fail to import datasets - Send error email if openBIS dropboxes accumulate datasets - Send error email if any storage share reaches critical fill state - Send error email if iBRAIN2 dropbox accumulate datasets, which are not registered within N days - ...