Skip to content

Commit 34238ec

Browse files
committed
PMM-7: Change pmm client setup
1 parent b9d5860 commit 34238ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pmm_psmdb-pbm_setup/start-sharded.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,7 @@ echo "configuring pmm-agent on primary rscfg01 for mongos instance"
272272
docker compose -f docker-compose-sharded.yaml exec -T rscfg01 pmm-admin add mongodb --agent-password=mypass --cluster=sharded --environment=mongo-sharded-dev --username=${pmm_user} --password=${pmm_pass} mongos_${random_number} mongos:27017
273273

274274
echo "adding some data"
275+
docker exec mongos yum install -y wget
275276
docker exec mongos wget -O mgodatagen_linux_amd64.tar.gz https://github.com/feliixx/mgodatagen/releases/download/v0.12.0/mgodatagen_0.12.0_darwin_amd64.tar.gz
276277
docker exec mongos tar -xzf mgodatagen_linux_amd64.tar.gz
277278
docker exec mongos mv mgodatagen /usr/local/bin/

0 commit comments

Comments
 (0)