Project

General

Profile

Actions

Slack notification for Leginon errors » History » Revision 11

« Previous | Revision 11/12 (diff) | Next »
Anchi Cheng, 01/10/2020 11:59 AM


Slack notification for Leginon errors

Slack is a team communication software that we use among SEMC/NRAMM staff. Leginon now sends message to configured channel when it encounter errors (those shown as Error (red background stop sign) in logger.

To activate this feature, you need Leginon 3.3 and up, and follow the steps:

1. install slackclient on your Leginon processing server

2. create An Application in your Slack workspace and configure slack.cfg as shown in the attached presentation: (click on "Files" tag below to show the link if you do not see the file)

3. As a user in administrator group in leginon/appion, log in myamiweb and add a more friendly name to your scope instrument in your myamiweb/updateinstrument.php

4. Activate Slack notifications in Leginon session.

Updated by Anchi Cheng almost 5 years ago · 11 revisions