Simple Telegram Bot to monitor uptime of your service made with Go
- Clone this project
- Create a telegram bot
- Get your bot token, it will be in format something like this:
379261111:11111xwyq1CO1JwZNeeOqSq1AygnhVL11111
- start it as:
SimpleUptimeBot "token:forBot"
or
BOT_TOKEN="token:forBot" SimpleUptimeBot
I have services that needs to the uptime should be monitored, and give me a report once the service is down. I want the report will be in Telegram. Using the existing services will be overkill for something as simple as this.
- Use a persistent database to manage the data
- Add mode to monitor certain port
- Add checking for valid url