Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/andruten/healthcheckbot
A python telegram bot for health checking services
https://github.com/andruten/healthcheckbot
bot healthcheck python telegram-bot
Last synced: 8 days ago
JSON representation
A python telegram bot for health checking services
- Host: GitHub
- URL: https://github.com/andruten/healthcheckbot
- Owner: andruten
- Created: 2021-11-30T20:22:45.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-04T21:38:41.000Z (2 months ago)
- Last Synced: 2024-10-12T07:28:36.987Z (25 days ago)
- Topics: bot, healthcheck, python, telegram-bot
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Health check bot
Welcome to Health check bot 👋!! I'm a python bot for telegram which intends to implement a (very basic) healthcheck
system. I can make HTTP requests or open Sockets.## Available commands
### list
List all polling services
```
/list
```### add
Add new service to the polling list
```
/add
```
- `service_type` must be "socket" or "request"
- `name` is the name that will be stored
- `domain` is the domain that will be reached by the service
- `port` is the port number### remove
Unsubscribe a service from the polling list by name
```
/remove
```## Environment variables
| Key | example value | Description |
|---------------------|---------------|------------------------------------------------------------------------------|
| BOT_TOKEN | 1234:abcde | Bot token obtained by Bot father |
| ALLOW_LIST_CHAT_IDS | 1234,5678 | A comma-separated list for allow list groups which can interact with the bot |
| POLLING_INTERVAL | 60 | The polling interval |
| LOG_LEVEL | INFO | Log level of the application |