Server Status Monitoring is a web application built with Node.js, Express.js, and MongoDB that allows you to monitor the online status of servers by periodically checking their availability using ICMP ping requests. It provides an API to manage and retrieve server information, including status and last ping time.
- Add servers with name, IP address, and region
- Retrieve a list of all servers
- Retrieve detailed information about a specific server
- Periodically check the online status of servers and update the database
Before running the application, make sure you have the following installed:
- Node.js (https://nodejs.org)
- MongoDB (https://www.mongodb.com)
-
Clone the repository:
git clone https://github.com/your-username/server-status-monitoring.git
-
Change to the project directory:
cd server-status-monitoring
-
Run the setup script:
./setup.sh
-
Access the application:
Open your web browser and visit http://localhost:3000 to access the server status monitoring application.
GET /servers
- Retrieves a list of all serversGET /servers/:id
- Retrieves detailed information about a specific server
- Modify the server.js file to customize the application behavior, such as the server status checking interval or additional server fields.
- Customize the HTML/CSS templates in the server.js file to change the appearance of the web pages.
This project is licensed under the MIT License.