Last active
October 12, 2017 06:50
-
-
Save adaam/d3abb6fce44fb71fe6fb1d4e989ece73 to your computer and use it in GitHub Desktop.
PMM timeout before agent ready
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@percona_mongodb_lab:/usr/local/percona/pmm-client# pmm-admin add mongodb:queries mdb0g-testingdb --uri mongodb://root:rootpw@127.0.0.1:20010/testingdb | |
Error adding MongoDB queries: timeout 10s waiting on agent to connect to API. | |
root@percona_mongodb_lab:/usr/local/percona/pmm-client# cat /var/log/pmm-mongodb-queries-0.log | |
# Version: percona-qan-agent 1.3.1 | |
# Basedir: /usr/local/percona/qan-agent | |
# PID: 10560 | |
# API: 172.10.2.23/qan-api | |
# UUID: e84f9bbe1c094c0c7b01598a0d425776 | |
2017/10/11 18:17:51.569074 main.go:163: Starting agent... | |
2017/10/11 18:17:51.584683 main.go:204: API is ready | |
2017/10/11 18:18:06.199706 main.go:331: Agent is ready | |
root@percona_mongodb_lab:/usr/local/percona/pmm-client# pmm-admin add mongodb:queries mdb0g-testingdb --uri mongodb://root:rootpw@127.0.0.1:20010/testingdb | |
We have found system services disconnected from PMM server. | |
Usually, this happens when data container is wiped before all monitoring services are removed or client is uninstalled. | |
Orphaned local services: pmm-mongodb-queries-0 | |
To continue, run 'pmm-admin repair' to remove orphaned services. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment