Page MenuHomePhabricator

Send alert if scripts container exits
Open, MediumPublic

Description

For one reason or another the scripts container may occasionally fail. We should have some kind of monitoring that checks if the container is up and sends a notification.

We could just restart the container, but chances are the issue that caused it will simply occur and kill the container again.

Event Timeline

Samwalton9 triaged this task as Medium priority.Dec 20 2018, 9:38 PM
Samwalton9 renamed this task from Restart scripts container if it exits to Send alert if scripts container exits.Jan 15 2019, 12:28 PM
Samwalton9 updated the task description. (Show Details)

Hello,

I am a GSOC aspirant and wanted to contribute to Wikimedia Org. I want to start with this issue, I want to know what kind of notification do we exactly need here, I mean, is it an email or show it in web app or anything else? Thank you.

I think an email is probably the best bet. We're already displaying a notice on the tool if collection seems to have stopped (T216727).

I used gmail as the mail server and made a PR (https://github.com/Samwalton9/hashtags/pull/18). Can you let me know if there are any suggestions or changes.

Aklapper added a subscriber: Aklapper.

Removing task assignee due to inactivity, as this open task has been assigned for more than two years (see emails sent to assignee on May26 and Jun17, and T270544). Please assign this task to yourself again if you still realistically [plan to] work on this task - it would be very welcome!

(See https://www.mediawiki.org/wiki/Bug_management/Assignee_cleanup for tips how to best manage your individual work in Phabricator.)