HeaCat-API is a system monitoring API that provides information about the system's health and performance. It is designed to be used by system administrators and developers to monitor the system's health and performance. The API provides information about the system's CPU usage, memory usage, disk usage, network usage and more. It also provides information about the system's uptime, load average, and other system metrics.
- CPU monitoring
- Memory monitoring
- Disk monitoring (W.I.P)
- System Information API
- Clone the repository
git clone https://github.com/heacat/heacat-api.git
- Install the dependencies
cd heacat-api
go mod tidy
- Build the project
go build src/main.go
- Run the project
./main
- Create a config file
cp config-example.yaml config.yaml
nano config.yaml # or use your favorite text editor
- Run the program
./main
/api/v1/sysinfo
- Get system information/api/v1/cpu
- Get CPU information/api/v1/gpu
- Get GPU information/api/v1/memory
- Get memory information/api/v1/disk
- Get disk information/api/v1/network
- Get network information/api/v1/check/cpu
- Check CPU usage/api/v1/check/memory
- Check memory usage/api/v1/check/disk
- Check disk usage/
- API Map