en:websonix:bot
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:websonix:bot [2021/01/26 13:50] – bl | en:websonix:bot [2023/09/21 22:23] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
The **Bot** sends notifications about measurement errors by **e-mail** and/or **telegram** channel. Information about errors is extracted from the measurement protocol. Moreover, users can send any messages from measurement scripts using the following code: | The **Bot** sends notifications about measurement errors by **e-mail** and/or **telegram** channel. Information about errors is extracted from the measurement protocol. Moreover, users can send any messages from measurement scripts using the following code: | ||
Line 20: | Line 20: | ||
==== Configuration file ==== | ==== Configuration file ==== | ||
- | Конфигурационный файл записывается в формате | + | configuration file in json format: |
- **mail** - e-mail configuration: | - **mail** - e-mail configuration: | ||
- **user** - user for e-mail authentication; | - **user** - user for e-mail authentication; | ||
- **password** - password for e-mail authentication; | - **password** - password for e-mail authentication; | ||
- | - **port** - порт почтового сервера, | + | - **port** - e-mail server port; |
- | - **server** - dns имя сервера, | + | - **server** - e-mail server ip or domain name; |
- | - **recipients** - список получателей для отправляемого письма. | + | - **recipients** - e-mail recipients list. |
- **telegram** - telegram configuration: | - **telegram** - telegram configuration: | ||
- | - **bot-id** - id бота для рассылки сообщений; | + | - **bot-id** - the id of the bot sending messages; |
- | - **channel-id** - id канала, | + | - **channel-id** - the id of the channel for sending messages. |
Configuration file example: | Configuration file example: | ||
Line 54: | Line 54: | ||
===== Bot installation on instrument ===== | ===== Bot installation on instrument ===== | ||
- | Для подключения | + | Bot installation on instruments consists of the following steps: |
+ | * Package installation; | ||
+ | * Configuring parameters for messages sending; | ||
+ | * Configuring loading module | ||
en/websonix/bot.1611658200.txt.gz · Last modified: (external edit)