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

MongoDB metrics not captured correctly

jp_tcdjp_tcd EntrantCurrent User Role Novice
PFA. We are getting metrics with some gap and we are not able to fix it. Please refer the attached PMM errors and percona metrics dashboard screenshot. Kindly let us know how to fix this issue.

Comments

  • vinicius.grippavinicius.grippa Percona Percona Staff Role
    Hi,
    The gaps can be for various reasons from PMM to MongoDB side. Which PMM version are you using? And which MongoDB version?
    If possible, please download the content below from PMM:
     http://<PMM_URL_or_IP-address>/managed/logs.zip
    And attach it. The logs from the client are important as well (/var/log/pmm*)

  • jp_tcdjp_tcd Entrant Current User Role Novice
    Please find attached pmm log file. 
  • adivinhoadivinho Percona Percona Staff Role
    Could you check errors in /var/log/pmm-agent.log on your client machine too?
  • jp_tcdjp_tcd Entrant Current User Role Novice
    We couldn't find pmm-agent.log file anywhere in the client machine. We have checked all client machines too but its not found.
  • vinicius.grippavinicius.grippa Percona Percona Staff Role
    Can you describe how you installed PMM server and the PMM client? Which version are you using?
  • jp_tcdjp_tcd Entrant Current User Role Novice
    I installed the PMM server using the below steps, 
    sudo dpkg -i percona-release_latest.generic_all.deb
    sudo docker pull percona/pmm-server:2.9.0
    sudo docker create -v /opt/prometheus/data -v /opt/consul-data -v /var/lib/mongodb -v /var/lib/grafana --name pmm-data percona/pmm-server:2.9.0 /bin/true
    sudo docker run -d -p 8080:80 -p 443:443 --volumes-from pmm-data --name pmm-server -e METRICS_RESOLUTION=5s -e METRICS_RETENTION=192h -e DISABLE_TELEMETRY=true -e QUERIES_RETENTION=10 --restart always percona/pmm-server:2.9.0

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.