node-watch-tower
Version:
Node.js monitoring utility to track uptime, CPU, and memory usage and report to a central admin server.
39 lines (29 loc) • 1.09 kB
Markdown
# 🛡️ Node Watch Tower
`node-watch-tower` is a lightweight Node.js monitoring client that tracks uptime, CPU load, and memory usage. It sends periodic heartbeats to a central server and helps detect crashes or overuse. Ideal for microservices and production servers.
> ✅ Alerts via **WhatsApp**, **Email**, **Telegram**, and more.
> 🚧 **Admin Dashboard is under development.**
> 📧 For access or to create an account, contact **arjunmc506@gmail.com**
## 🚀 Features
- ✅ Auto-registration with monitoring server
- 📡 Sends heartbeat with system stats
- 🧠 Tracks memory usage (in MB) and CPU load
- ⏱ Measures uptime and process info
- ⚠️ Alert triggers:
- App is down or unresponsive
- CPU/memory exceeds thresholds
- App comes back online
- 🔔 Notification channels:
- WhatsApp
- Email
- Telegram
## 📦 Installation
```bash
npm install node-watch-tower
## 🛠️ Usage
const NodeMonitorMC = require('node-watch-tower');
new NodeMonitorMC({
id:'your-app-id',
token: 'your-app-token'
});