Hello
I have exactly the same problem as https://forums.percona.com/discussion/56527 but I can’t reply there
pmm-admin 2.9.1:
netstat -alnp | grep LISTEN -w
…
tcp6 0 0 :::42001 :::* LISTEN 7427/mongodb_export
…
curl -s -u pmm:/agent_id/f2e8e21c-5ca0-4f9f-bd6f-4c92767ffc27 http://localhost:42001/metrics | grep mongodb_version
HELP mongodb_version_info Software version information for mongodb process.
TYPE mongodb_version_info gauge
mongodb_version_info{mongodb=“3.6.21-10.0”} 1
The same server after upgrade to pmm-admin 2.12.0 (mongodb_exporter’s port was changed to 42002):
netstat -alnp | grep LISTEN -w
…
tcp6 0 0 :::42002 :::* LISTEN 7025/mongodb_export
…
curl -s -u pmm:/agent_id/f2e8e21c-5ca0-4f9f-bd6f-4c92767ffc27 http://localhost:42002/metrics | grep mongodb_version
HELP mongodb_version_info The server version
TYPE mongodb_version_info gauge
mongodb_version_info{mongodb=“server version is unavailable”} 1
The same server after downgrade back to 2.9.1:
curl -s -u pmm:/agent_id/f2e8e21c-5ca0-4f9f-bd6f-4c92767ffc27 http://localhost:42001/metrics | grep mongodb_version
HELP mongodb_version_info Software version information for mongodb process.
TYPE mongodb_version_info gauge
mongodb_version_info{mongodb=“3.6.21-10.0”} 1
What’s wrong with it? Thank you