Slack notification for Leginon errors » History » Version 11
Anchi Cheng, 01/10/2020 11:59 AM
| 1 | 1 | Anchi Cheng | h1. Slack notification for Leginon errors |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Anchi Cheng | "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. |
| 4 | 1 | Anchi Cheng | |
| 5 | 7 | Anchi Cheng | To activate this feature, you need Leginon 3.3 and up, and follow the steps: |
| 6 | 1 | Anchi Cheng | |
| 7 | 8 | Anchi Cheng | 1. [[Extra_supporting_package_table|install slackclient]] on your Leginon processing server |
| 8 | 7 | Anchi Cheng | |
| 9 | 10 | Anchi Cheng | 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) |
| 10 | 7 | Anchi Cheng | |
| 11 | 11 | Anchi Cheng | 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 |
| 12 | |||
| 13 | !scope_description.png! |
||
| 14 | |||
| 15 | 4. [[Activate Slack notifications in Leginon]] session. |