A real-time system monitoring dashboard built with Flask and Socket.IO. Monitor CPU, RAM, disk usage, network activity, systemd services, and custom files.
- Real-time System Metrics: CPU, RAM, disk, and network monitoring with live updates
- Systemd Service Monitoring: Track status, uptime, memory usage, and logs of systemd services
- File Monitoring: Monitor custom files with automatic content updates when files change
- WebSocket Updates: Real-time data updates every 5 seconds
- Caching: Client-side caching for seamless navigation between pages
- Clone the repository:
git clone https://github.com/Laande/monitor-server.git
cd monitor-server- Install dependencies:
pip install -r requirements.txt- Configure your services and files in
config.py:
SYSTEMD_SERVICES = [
"your-service.service",
]
MONITORED_FILES = [
{'name': 'Log File', 'path': '/path/to/file.log', 'expand': False},
]- SYSTEMD_SERVICES: List of systemd service names to monitor
- MONITORED_FILES: List of files to monitor with options:
name: Display name for the filepath: Absolute path to the fileexpand: (optional) Set toFalseto collapse content by default
Run the application:
python app.pyAccess the dashboard at http://localhost:5500
