mirror of
https://github.com/recklessop/Zerto_Exporter.git
synced 2026-07-02 23:53:13 -04:00
1992fb1d170ff301ffef5dbff47f036106ea993a
- Dockerfile: python:3.13-slim -> python:3.14.3-slim (stable as of Feb 2026)
- certifi: 2023.7.22 -> >=2024.7.4 (CVE-2024-39689, LOW)
- idna: 3.4 -> >=3.7 (CVE-2024-3651, MEDIUM)
- requests: 2.32.0 -> >=2.32.4 (CVE-2024-47081, MEDIUM)
- urllib3: 2.0.6 -> >=2.6.3 (6 CVEs including 3 HIGH decompression/redirect)
- Add app/.pypirc and .pypirc to .gitignore to prevent future token leaks
NOTE: PyPI token was previously committed at 21f32e5 - rotate at pypi.org.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
About the app
This Python App will export Zerto API data from the new ZVM appliance in prometheus format. It has several different threads that each scrape different parts of the ZVM API. To visualize the data in Grafana you will need to scrape this app with Prometheus and then create dashboards using Grafana.
Run Program
Login to the server where you want to run this exporter and clone the project:
git clone https://github.com/recklessop/Zerto_Exporter.git
Go to the project directory:
cd Zerto_Exporter
Build image and start the container:
docker-compose up -d --build --force-recreate
Add the exporter to Prometheus
Add this part at the end of the configuration of your Prometheus (prometheus.yaml):
- job_name: python-exporter
metrics_path: /metrics.txt
static_configs:
- targets: ['<IP-of-Node-Exporter-Server>:9999']
Forked from
Huge shout out to hmdhszd for the framework that started this project. You can find his non-zerto version of a Python Prometheus Exporter here.
Description
Languages
Python
99.2%
Dockerfile
0.8%