Bot monitors status.cloud.yandex.ru for new unresolved incidents and sends alerts to specified Telegram chat or group.
Original Yandex Cloud Status Telegram channel - https://t.me/YandexCloudStatus
Create your own Telegram bot with BotFather
Clone this repository
Install dependencies
npm i
Create .env
file in project directory with content like this:
TELEGRAM_API_KEY=<YOUR_TELEGRAM_BOT_API_KEY>
CHAT_ID=@YandexCloudStatus
YANDEX_API_REQUEST_INTERVAL=15000
Run index.js
node index.js
or use process manager
pm2 start index.js --name yandex-cloud-status-bot