Skip to content

shalinv/ServerMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Server Monitor

A lightweight, extensible uptime & health-check system built with Node.js, Express, MongoDB, node-cron, axios, Tailwind CSS, Vanilla JS, and Nodemailer.

This service periodically checks endpoints, logs results into MongoDB, provides a dashboard UI, and sends email alerts when monitored services go down.

✨ Features

  • 🔄 Automated health checks powered by node-cron
  • 🌐 Filter option in the history log
  • 🗄 Persistent storage using MongoDB
  • 📡 Fast HTTP checks with axios
  • 📊 Dashboard UI (Tailwind + Vanilla JS) to view monitor status
  • 📧 Email alerts using Nodemailer

Screenshots

📦 Installation

  1. Clone the repo
git clone https://github.com/shalinv/ServerMonitor.git
cd ServerMonitor
  1. Create .env and add the following
MONGO_URL="[URL]"
EMAIL_USER=[USER]
EMAIL_PASS=[PASS]

3.Install dependencies

npm install

4.Run the server

node server.js
  1. Open the browser
http://localhost:3000/

About

A lightweight monitoring app that watches your endpoints for you. It checks your services, saves the results in MongoDB, and sends an email alert if anything stops responding.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors