Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
To set up a Telegram group, do the following:
- Set up a MID account
- Download Simple MID Server.
- Create three scripts in python and place the scripts
- them inside the folder downloaded in Step 2:
- to create
, close and - a group,
- to restrict commenting upon the completing of the incident and changing its state to Completed.
- to delete a Telegram group
inside this folder- .
Run the first script "create" manually. The system will require the user's authorization, do it manually.Code Block // To create a group// To close a group// To delete a group
- A "Router Session On" file is created.
- On your instance, go to the System Properties Properties (sys_property) table, set the value true for the itsm.telegram.swarming property.
- Create a new server in the MID Server (MID_server) table.
- Create a script to create a group in Telegram in the MID Scripts (MID_script) table. To do so, click New and in the new script form add a name of the script (for example, createTelegram) and in the Script field add the path to the script on your computer, created at the step Step 3.
- Repeat the step Step 8 to add the scripts to close and delete a group.
- Go to System Properties (sys_property) table and add the IDs of the three created scripts to the corresponding properties as their values.
- Go to a major incident form. Now there appears a Start Swarming button. Click it for the first time and a record with a corresponding name appears in the MID Queue (sys_mid_queue) table.
- Create a closeGroup record in the MID Queue (sys_mid_queue) table.
- Create a deleteGroup record in the MID Queue (sys_mid_queue) table.