Notifications on filters, reports or policies created in iBatyr Monitor can be sent by email or Telegram.
Warning
When sending notifications, the language specified in server parameters is taken into account, and not in the server menu.
Setting up email notifications is described on page Mail settings.
To set up sending notifications in Telegram:
Configure iBatyr Monitor to send notifications.
Configure the user to receive notifications from iBatyr Monitor.
Setting up iBatyr Monitor
Find the official bot BotFather in Telegram.
In the dialog box, enter the command /newbot and give the bot a name.
Note
The bot name must consist of lowercase letters only and contain the word bot at the end. For example: ibatyrbot or ibatyr_bot.
Copy the HTTP API token, which will be indicated in the message about successful bot registration.
In the iBatyr Monitor web interface, open the Control Panel section → Server Settings.
Paste the copied token into the Telegram: API Key (token) line.
This completes the system setup.
Setting up a user to receive notifications
To configure sending notifications to a user:
In your Telegram profile, enter username.
Send the bot any chat message from the account to which you want to send notifications.
To set up sending notifications to a group chat:
Send the bot any chat message from the account that will be setting up the group chat.
Create a group. The default group status is Private.
In the group editing section, specify the group status as Public.
In the public link, include the group name.
Add the bot to the group.
Send a message /start and another message to the group messages so that the bot can see the chat.
When setting up sending, in the To field, enter the name of the chat from step 4.
Sending notifications
Click the gear icon to the right of the filter, report, or policy name and go to its properties.
Go to the Notifications tab
Select the frequency of sending notifications:
New
Daily
Weekly
Monthly
Note
The notification will contain data for the selected period: last day, last week or last month.
Select the format in which the filter, report or policy will be sent:
Event feed. Template will allow you to edit the type of notification that will be received.
HTML
In the To section, enter the addresses for sending notifications:
email format: admin@example.com;
Telegram notifications: @name — use only usernames, do not specify bots;
To separate addresses or names, use a semicolon ;.
Check that the settings are correct by sending a test email using the Test sending button.
To avoid receiving empty reports when there are no events, specify the Send only if there is data parameter.