From 679870d879bcf86b563a2bb61b07031e4da26f51 Mon Sep 17 00:00:00 2001 From: Justin Paul Date: Thu, 23 Mar 2023 11:23:21 -0400 Subject: [PATCH] Update README.md --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index a5ea0d0..f3f70f1 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,31 @@ Edit docker-compose.yml, and provide values for the following variables for the - VCenter username - VCenter password +```yaml + zertoexporter: # edit this if you need more than 2 + image: recklessop/zerto-exporter:latest + command: python python-node-exporter.py + ports: + - "9999:9999" # edit the port for each additional exporter, in this case it was changed to 9998 + volumes: + - ./zvmexporter/:/usr/src/logs/ + environment: + - VERIFY_SSL=False + - ZVM_HOST=192.168.40.60 # ZVM specific info + - ZVM_PORT=443 + - SCRAPE_SPEED=20 #how often should the exporter scrape the Zerto API in seconds + - CLIENT_ID=api-script 3 # ZVM specific info + - CLIENT_SECRET=js51tDM8oappYUGRJBhF7bcsedNoHA5j # ZVM specific info + - LOGLEVEL=DEBUG + - VCENTER_HOST=192.168.40.50 # vcenter specific info + - VCENTER_USER=administrator@vsphere.local # vcenter specific info + - VCENTER_PASSWORD=password2 # vcenter specific info + networks: + - back-tier + restart: always +``` + + ### Multi-ZVM Configuration (Optional) If you want to monitor more than one ZVM/vCenter you can add additional zvmexporter containers.