Not the answer you need?
Register and ask your own question!

PMM2 MongoDB exporter: context deadline exceeded

Hi all,

I'm trying to collect some stats from MongoDB using PMM2, but according to /targets I'm getting a "context deadline exceeded" and the state of my endpoint is also reported as DOWN.

Let me provide some more info:

[[email protected] ~]# pmm-admin list

Service type Service name Address and port Service ID

MongoDB prod-vm-mongodb-01 10.142.111.111:27017 /service_id/cce24e09-fbc0-43a0-a595-9fe3afa5ee83

Agent type Status Agent ID Service ID

pmm_agent Connected /agent_id/3f24ffd9-842e-449d-b333-e59ada7cc706

node_exporter Running /agent_id/f2402bf6-edbf-41e6-8924-611e8598605d

mongodb_exporter Running /agent_id/45002916-3d96-4d8c-b1e5-ee3beaa2aec9 /service_id/cce24e09-fbc0-43a0-a595-9fe3afa5ee83

mongodb_profiler_agent Running /agent_id/bba86d44-b654-411d-b7af-ee630cd9259e /service_id/cce24e09-fbc0-43a0-a595-9fe3afa5ee83

[[email protected] ~]#

I'm able to connect to the mongodb_exporter locally from the client:

[[email protected] ~]# wget http://10.142.111.111:42002/metrics --no-check-certificate

--2020-09-18 01:38:33-- http://10.142.111.111:42002/metrics

Connecting to 10.142.111.111:42002... connected.

HTTP request sent, awaiting response... 401 Unauthorized

Authorization failed.

[[email protected] ~]#

I'm also able to connect from the server:

# wget http://10.142.111.111:42002/metrics --no-check-certificate

--2020-09-18 01:30:57-- http://10.142.111.111:42002/metrics

Connecting to 10.142.0.60:42002... connected.

HTTP request sent, awaiting response... 401 Unauthorized


Thoughts?


All the best,

-- L

Answers

  • adivinhoadivinho Percona Percona Staff Role

    Hi,

    Could you confirm that it's possible connect to exporter from PMM server?

    It looks strange that request to 10.142.111.111 was connected to 10.142.0.60


Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.