Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dobanov/mon_log_and_send_keywords_to_telegram
it monitors log(s) and send messages with keyword(s) to telegram
https://github.com/dobanov/mon_log_and_send_keywords_to_telegram
log logging monitoring telegram telegram-bot
Last synced: 5 days ago
JSON representation
it monitors log(s) and send messages with keyword(s) to telegram
- Host: GitHub
- URL: https://github.com/dobanov/mon_log_and_send_keywords_to_telegram
- Owner: dobanov
- Created: 2024-04-27T09:50:04.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T09:46:04.000Z (5 months ago)
- Last Synced: 2024-06-14T09:53:36.228Z (5 months ago)
- Topics: log, logging, monitoring, telegram, telegram-bot
- Language: C++
- Homepage:
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This program monitors the log file(s) and sends new lines from the log file(s) containing keyword(s) to the Telegram chat/bot.
g++ -o tg_send tg_send.cpp -lcurl
/
g++ -std=c++17 -o tg_send tg_send.cpp -lcurlOptions:
--filename Path to the log file(s)
--keyword Keyword(s) to watch for in the log file(s)
--n Number of words to include in the message
--bot-id Telegram Bot ID
--chat-id Telegram Chat ID(s)