A lightweight server monitoring system that supports both Linux and Windows platforms, providing real-time monitoring of server status including CPU, memory, disk usage, and network traffic.
- Real-time monitoring of multiple servers
- Support for both Linux and Windows systems
- Automatic server type detection (VPS/Dedicated)
- System resource monitoring (CPU, Memory, Disk)
- Network traffic monitoring
- Server location detection
- Responsive web interface
- Auto-reconnect mechanism
- Custom node naming
- Alphabetical node sorting (nodes are automatically sorted by name)
bash <(curl -fsSL https://raw.githubusercontent.com/wanghui5801/Server_Monitor/main/install_server_linux.sh)
bash <(curl -fsSL https://raw.githubusercontent.com/wanghui5801/Server_Monitor/main/install_client_linux.sh)
curl -fsSL https://raw.githubusercontent.com/wanghui5801/Server_Monitor/main/install_client_windows.bat -o install.bat && install.bat
- Python 3.6+
- Git
- pip
- Python 3.6+
- Git
- pip
- Administrator/Root privileges
- For Windows: wmi and pywin32 packages (automatically installed by script)
- Clone the repository:
git clone https://github.com/wanghui5801/Server_Monitor.git
- Create virtual environment:
python3 -m venv venv
source venv/bin/activate # Linux
venv\Scripts\activate # Windows
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python server/app.py
- Run the client:
python client/monitor.py
- Server default port: 5000
- Client update interval: 5 seconds
- Client retry mechanism: 3 attempts with 30-second delay
- Server timeout: 10 seconds for inactive clients
- Node display: Automatically sorted alphabetically by node name
Access the monitoring dashboard at http://your-server-ip:5000 after starting the server. The nodes will be displayed in alphabetical order based on their names.
MIT License
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a new Pull Request
