Added Telegram notifications

This commit is contained in:
TimZ99 2018-03-03 15:53:43 +00:00 committed by Timz99
parent 7059ac6607
commit 67632ab966
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
2 changed files with 45 additions and 3 deletions

View File

@ -87,4 +87,46 @@ The second part is the actual message. There are a few variables you can use in
* %LABEL% - The name of the server
* %IP% - The ip of the server
* %PORT% - The port of the server
* %ERROR% - This one only works for the off_* messages and contains the error returned by the monitor
* %ERROR% - This one only works for the off_* messages and contains the error returned by the monitor
Notifications
+++++++++++++
How do I setup Telegram?
------------------------
A few steps are required to get Telegram notifications working.
You need to be an administrator for this part.
1. Go to @botfather (https://t.me/BotFather) and type /start .
2. Type /newbot and give your bot an unique name.
3. Save the API token.
How do I sent Telegram notifications to a person?
-------------------------------------------------
1. Go to @cid_bot (https://t.me/cid_bot) and start.
2. Save your chat id.
3. Press the activation button.
4. Go to your chat with the bot and press start of type /start.
How do I sent Telegram notifications to a group?
------------------------------------------------
1. Add @cid_bot (https://t.me/cid_bot) to the group.
2. Save the chat id (including the -).
3. Remove @cid_bot from the group.
4. Add your bot to the group.
How do I sent Telegram notifications to a channel?
--------------------------------------------------
1. Create a public channel.
2. Add the bot as an administator to the channel.
3. Save chat id as: @channelname.
What is the username of my bot?
-------------------------------
1. Go to profile on the monitor.
2. Press activate.
3. A button will appear, this will direct you to your Telegram bot.

View File

@ -15,7 +15,7 @@ Features
++++++++
* Monitor services and websites (see below).
* Email, SMS and Pushover notifications.
* Email, SMS, Pushover and Telegram notifications.
* View history graphs of uptime and latency.
* User authentication with 2 levels (administrator and regular user).
* Logs of connection errors, outgoing emails and text messages.
@ -44,7 +44,7 @@ There are two different ways to monitor a server:
Notifications
-------------
Each server has its own settings regarding notification.
You can choose for email, text message (SMS) and Pushover.net notifications.
You can choose for email, text message (SMS), Pushover.net and Telegram notifications.
The following SMS gateways are currently available:
* Clickatell - <https://www.clickatell.com>