SysResource is a powerful system resource monitoring tool that allows you to track server performance metrics such as CPU usage, memory utilization, and uptime. It provides detailed information about server hardware and software configurations, with a user-friendly interface that includes real-time charts and sound alerts for system thresholds and server downtime. It supports WebSocket and API integrations, offering flexible options for monitoring multiple servers.
- Server Monitoring: Monitor CPU, memory, uptime, hostname, CPU cores, total memory, free memory, platform, type, architecture, environment, and more.
- Charts: Real-time line chart representations for CPU and memory usage.
- Grouping: Organize servers into groups for better management and separation.
- Alerts: Sound notifications when a server goes down or resource usage surpasses thresholds.
- WebSocket & API: Two options to monitor resources – via WebSocket or API.
- Settings: Configure API interval, max retries, and store settings in local storage.
- Documentation: Comprehensive documentation to help you get started.
-
Clone the repository:
git clone https://github.com/HarmanPreet-Singh-XYT/SysResource.git cd SysResource
-
Install dependencies:
npm install
-
Start the application:
npm run dev
After installation, open the application in your browser. You'll be able to:
- Monitor system resources such as CPU and memory in real-time.
- Group servers based on different criteria.
- Set custom API intervals and max retry attempts, stored in local storage.
- Use WebSocket or REST API to fetch system data.
- Receive sound alerts when servers go down or resources exceed configured thresholds.
Sysresource exposes several APIs to fetch server data. Below is an example of how to use the API:
- Get Server Data:
GET /sysresource
- Response
{ "hostname": "DESKTOP-S283TVV", "cpuUsage": 34, "cpu": "Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz", "cpuCore": 8, "totalMemory": 17108, "freeMemory": 4767, "release": "10.0.19045", "platform": "win32", "uptime": 2925, "type": "Windows_NT", "machine": "x86_64", "architecture": "x64", "environment": "NodeJS" }
For complete API documentation, visit API Docs
You can configure several settings for sysresource:
- API Interval: Set the interval for API requests.
- Max Retries: Define the maximum number of retries for failed API requests.
- Local Storage: All settings are stored locally for persistence.
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Commit your changes (git commit -m 'Add feature').
- Push to the branch (git push origin feature-branch).
- Open a pull request.
This project is licensed under the MIT License – see the LICENSE file for details.