Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Health checker #69

Open
wants to merge 4 commits into
base: current
Choose a base branch
from
Open

Health checker #69

wants to merge 4 commits into from

Conversation

foreverjun
Copy link
Contributor

@foreverjun foreverjun commented Sep 2, 2023

Добавил action, который раз в 15 минут стучится на сервер по curl, и если получает что-то кроме кода 200, отправляет в Телеграм сообщение, с кодом ошибки.
Например:

Health check of the:
http://192.3.153.103:5000/
failed with the result:
500

Для его работы нужно добавить в секреты
TELEGRAM_TO - id беседы в которую бот отправляет сообщения
TELEGRAM_TOKEN - токен бота

@foreverjun
Copy link
Contributor Author

Также нужно добавить бота в беседу, в которую он будет должен отправлять сообщения

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant