Skip to content

kinhelm/WebhookAlertsBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webhook Alert Telegram Bot

This is a webhook to broadcasts alerts to all Telegram active chats.

Requirements

  • Python 3.8 or higher
  • pip

Installation

  1. Clone the repository
  2. Install the dependencies with pip:
pip install -r requirements.txt

Usage

1- Run the Webhook with the following command:

python main.py

2- Run the Bot backend (to register Users) with the following command:

python bot.py

3- Send a POST request to the /push-alert endpoint with the tools you want.

Request body example:

{
    "message": "My alert !"
}

About

Webhook for NewRelic to have alert on Telegram

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages