hakim
1
Hello everyone ,
i have a problem when i put the command “pmm-admin add mongodb” in a client , i receive this error message :
can anyone help me please ?
just for your information , i am able with the same client to add mysql metrics without problems
thanks
hakim
2
can anyone help me please ?
What version of PMM are you running please?
krissfr
4
Hi,
i have the same issue with :
Package: pmm-client
Version: 1.14.1-1.jessie
Regards,
Krissfr
IMP
5
Hello,
could you please check if localhost on your host is resolved to 127.0.0.1 or ::1?
You can use the following method to do that:
$ ping localhost -c1 -n
PING localhost(::1) 56 data bytes
64 bytes from ::1: icmp_seq=1 ttl=64 time=0.027 ms
Also, could you please check what is MongoDB bound to?
# netstat -nlput | grep -i mongo
tcp 0 0 127.0.0.1:27017 0.0.0.0:* LISTEN 2511/mongod
If it listens on 0.0.0.0 (ipv4), and localhost resolvs to ::1 (ipv6), please explicitly specify 127.0.0.1:
# pmm-admin add mongodb --uri 127.0.0.1:27017