Project

General

Profile

Slack notification for Leginon errors » History » Revision 11

Revision 10 (Anchi Cheng, 04/02/2019 01:45 PM) → Revision 11/12 (Anchi Cheng, 01/10/2020 11:59 AM)

h1. Slack notification for Leginon errors 

 "Slack":https://slack.com 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. [[Extra_supporting_package_table|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 

 !scope_description.png! 

 4. [[Activate Slack notifications in Leginon]] session.