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

How to remove MongDB Cluster Summary

stevecstevec EntrantCurrent User Role Beginner
When setting up my PMM environment I made a typo on entering our cluster name when installing the PMM-Clients on my MongoDB systems. Since then I've uninstalled/reinstalled pmm clients, etc and now have the correct cluster name in my PMM instance. Unfortunately the old/incorrect cluster name still exists in the PMM database - which is always the "default" cluster shown in the MongoDB Cluster Summary.

I've tried running "pmm-admin remove" to remove the cluster name but no luck. Is there a way to go in and remove this cluster name?

Thanks!

Comments

  • stevecstevec Entrant Current User Role Beginner
    Sending a "BUMP" on this. Anyone have any ideas?
  • lalitlalit Entrant Current User Role Beginner
    Facing the same issue.
  • vinodh.krishnaswamyvinodh.krishnaswamy Percona Percona Staff Role
    Hi Stevec / Lalit,
    I've tried running "pmm-admin remove" to remove the cluster name but no luck. Is there a way to go in and remove this cluster name?

    Yes. By default when you remove the metrics, the data collected are not removed from the PMM server. So you have to purge them to remove them fully. After purge, refresh the dashboard and you will not see the Cluster name in the list again.
    pmm-admin purge mongodb:metrics NAME
    

    Where,
    NAME - name of the metrics configured


    Best Regards,
    Vinodh Krish
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.