| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
The Memory Harvesting System is designed to monitor and predict memory usage in Linux environments. This system includes a Go-based agent for collecting and analyzing memory data from virtual machines managed by the KVM virtualizer, using the Libvirt library. Key functionalities include:
The server side is implemented in Python with the Flask framework and uses an SQLite database for data storage. It manages agent registrations, boundary settings, and violation data.
To install and run the Go-based agent:
Clone the Repository:
git clone https://github.com/yourusername/memory-harvesting.git
cd memory-harvestingInstall Dependencies: Ensure you have Go installed. Then, run:
go mod tidyRun the Agent:
go run prometheus-libvirt-exporter.goTo set up and run the Flask-based server:
Clone the Repository:
git clone https://github.com/yourusername/memory-harvesting-server.git
cd memory-harvesting-serverSet Up Virtual Environment:
python3 -m venv venv
source venv/bin/activateInstall Dependencies:
pip install -r requirements.txtRun the Server:
flask runOnce the agent and server are running, memory data will be collected and sent to Prometheus. You can then visualize the data in Grafana and manage configurations via the Flask web interface.
(https://drive.google.com/drive/folders/1fVKD3qgvdG7FxvTgnFoAcVnp6Z6kjkZJ?usp=sharing)
This project is licensed under the MIT License. See the LICENSE file for details.
| A | B | C |
|---|---|---|
| Installation Issues | Usage Examples | Contribution Guidelines |
| Back | FazBrowse Home | New Git URL |