
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
pm2-telewatch
Advanced tools
A minimal PM2 utility to send real-time crash and restart alerts to Telegram via a bot. Stay informed when your Node.js app fails or restarts unexpectedly.
Get real-time Telegram alerts for your PM2 process events like crashes, restarts, and errors — with minimal setup.
🔔 Never miss a production issue again.
.env-based config or use CLI argumentsnpm install pm2-telewatch
⚙️ Setup
1. Create a Telegram Bot
Chat with @BotFather
Send /newbot, follow prompts
Save the generated bot token
2. Get Your Chat ID
Start a chat with your bot by sending /start
🛠 Configuration
Before using pm2-telewatch, set up your environment variables.
✅ Create a .env file in your project:
BOT_TOKEN=123456789:ABCdefGhIJKLmnoPQRstuvWXyz12345678
PM2_APP_NAME=my-app # Optional: monitor only this app.
▶️ Usage
Once your environment variables are set, just import the module:
const teleWatch = require("pm2-telewatch"); // auto-starts on import
✅ You're all set!
pm2-telewatch is now watching your PM2 processes.
You'll receive instant Telegram alerts whenever your app:
No extra setup, no ports, no polling — just peace of mind.
💬 Have feedback or ideas?
Open an issue or contribute on GitHub.
Made with ❤️ for developers who sleep better with alerts.
FAQs
A minimal PM2 utility to send real-time crash and restart alerts to Telegram via a bot. Stay informed when your Node.js app fails or restarts unexpectedly.
The npm package pm2-telewatch receives a total of 3 weekly downloads. As such, pm2-telewatch popularity was classified as not popular.
We found that pm2-telewatch demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.