Comments on: A Guide to Installing Percona Monitoring and Management (PMM)2 For the First Time https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/ Fri, 16 Feb 2024 21:32:54 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972812 Thu, 29 Oct 2020 20:04:48 +0000 https://www.percona.com/blog/?p=62279#comment-10972812 Hi Vivek, Percona is supporting Customers running PMM Server 2 on Kubernetes and docker. I recommend you post to the Percona Forums, tag me there and we’ll get you working 🙂
https://forums.percona.com/categories/pmm-v2

]]>
By: Vivek https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972741 Tue, 29 Sep 2020 19:36:34 +0000 https://www.percona.com/blog/?p=62279#comment-10972741 Interestingly we are also getting the same error, we are not running on k8s but using docker image.

i have followed the instructions to the T but unable to get it to run. both server and client are on dockers,

Kindly help

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972480 Mon, 13 Jul 2020 17:28:25 +0000 https://www.percona.com/blog/?p=62279#comment-10972480 Hi @Pavan

Percona does not support installation formats outside of the three: docker, AWS Marketplace, or OVA/OVF. Sorry,

]]>
By: Pavan https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972463 Thu, 09 Jul 2020 14:02:40 +0000 https://www.percona.com/blog/?p=62279#comment-10972463 Hi I want to install pmm server on Rhel server. I have downloaded all related RPMs. And pmm-server-server rpm. But how to start pmm and how GUI will come up. ?
I can’t see any instructions to install pmm server in stand alone rhel machine.
Institutions just talk about docker ,aws, and VMware
Pls let me know

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972154 Thu, 23 Apr 2020 18:40:12 +0000 https://www.percona.com/blog/?p=62279#comment-10972154 Hi Juanjo,

PMM2 does not yet support modification of the node_exporter collectors. We expect to introduce this functionality in an upcoming release

]]>
By: Juanjo Ivars https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10972104 Wed, 15 Apr 2020 11:33:40 +0000 https://www.percona.com/blog/?p=62279#comment-10972104 Hello, How can i add collectors to node_exporter? In the previous version of PMM i only had to edit the systemd unit, how is achived in that new version?

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971901 Fri, 06 Mar 2020 15:48:42 +0000 https://www.percona.com/blog/?p=62279#comment-10971901 Hi @pawel
Are you using Kubernetes? At this time PMM is not supported in a k8s environment. We are working to provide this support in an upcoming release, as it will impact how we deliver pmm2-client package as well as our PMM Server docker image.

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971900 Fri, 06 Mar 2020 15:47:18 +0000 https://www.percona.com/blog/?p=62279#comment-10971900 Hi @crazyhorse019
See our post from late November on how to run both clients at the same time on the same host:
https://www.percona.com/blog/2019/11/27/running-pmm1-and-pmm2-clients-on-the-same-host/

]]>
By: PaweÅ‚ Babilas https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971875 Tue, 03 Mar 2020 06:53:21 +0000 https://www.percona.com/blog/?p=62279#comment-10971875 Any idea how to run client on mysql and connect to remote pmm2 server? My pmm2 is server at pod and I’m tryiung to connect my clinet from other pod with mysq and then I’ve got:

bash-4.2$ sudo pmm-admin config –server-insecure-tls –server-url=https://admin:admin@10.244.15.57:443
Checking local pmm-agent status…
pmm-agent is running but does not read configuration from the file. Please restart it with –config-file flag.

Why it want to connect to local agent when I set server url??

]]>
By: crazyhorse019 https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971417 Tue, 12 Nov 2019 11:28:34 +0000 https://www.percona.com/blog/?p=62279#comment-10971417 Hi again, how can I run the pmm and pmm2 clients in parallel until I have enough historic data on pmm2 that I can then switch pmm off? I notice the clients both use the ‘pmm-admin’ command, is there anyway for the 2 clients to differentiate the configuration?

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971382 Mon, 04 Nov 2019 19:08:23 +0000 https://www.percona.com/blog/?p=62279#comment-10971382 Hi Crazyhorse, there is no in-place migration for data from 1.x to 2.x . You will need to set up a separate PMM 2 Server

]]>
By: crazyhorse019 https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971379 Mon, 04 Nov 2019 15:43:01 +0000 https://www.percona.com/blog/?p=62279#comment-10971379 Hi, if I’m running pmm-server version 1.17.1 in a docker container and have a pmm data volume, will that data be compatible with pmm version 2 ? and would I still be able to view my historic data through pmm 2?

Thanks,

]]>
By: jiangnan_ora https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971314 Fri, 25 Oct 2019 06:55:20 +0000 https://www.percona.com/blog/?p=62279#comment-10971314 pmm-admin config
Checking local pmm-agent status…
pmm-agent is not running. Please re-run pmm-agent setup with –config-file flag.

]]>
By: Jeremy Hutchings https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971293 Wed, 16 Oct 2019 12:22:43 +0000 https://www.percona.com/blog/?p=62279#comment-10971293 Figured it out. To configure pmm-agent –server-url isn’t going to work, it needs –server-address along with –server-username and –server-password

]]>
By: Jeremy Hutchings https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971292 Wed, 16 Oct 2019 12:17:25 +0000 https://www.percona.com/blog/?p=62279#comment-10971292 Yes, it appears the current version is broken as the pmm-agent won’t set up correctly, it’s referring to a command that doesn’t exist

]]>
By: trimurthyp https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971254 Fri, 04 Oct 2019 05:17:00 +0000 https://www.percona.com/blog/?p=62279#comment-10971254 I was able to install and configure Generic Linux PMM agent by myself. At a high level the following are the steps followed.
——————————————————-
Generic Linux PMM Agent Installation & Configuration.
——————————————————-

wget https://www.percona.com/downloads/pmm2/2.0.0/binary/tarball/pmm2-client-2.0.0.tar.gz
tar -zxvf pmm2-client-2.0.0.tar.gz
cd pmm2-client-2.0.0
./install_tarball

export PATH=/usr/local/percona/pmm2/bin:$PATH

#1) Configure Agent.
/usr/local/percona/pmm2/bin/pmm-agent setup –config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml –server-insecure-tls –server-address=PMM-Hostname/IP:443 –server-username=admin –server-password=admin

#2) Start Agent
/usr/local/percona/pmm2/bin/pmm-agent –config-file=/usr/local/percona/pmm2/config/pmm-agent.yaml &

#3) Add MySQL to pmm monitoring.
/usr/local/percona/pmm2/bin/pmm-admin add mysql –environment=PROD –replication-set=repset-name –username=DB_USER_NAME –password=DB_PASSWD –query-source=perfschema Hostname HostIP:3306
——————————————————-

]]>
By: PATpat69? https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971239 Thu, 26 Sep 2019 08:34:57 +0000 https://www.percona.com/blog/?p=62279#comment-10971239 Hi,

I have a problem when I add new service monitoring with different port and address :
pmm-admin add mysql –query-source=slowlog –username=’pmm’ –password=’****’ localhost:53308
Connection check failed: dial tcp 127.0.0.1:3306: connect: connection refused.

Why pmm-admin force the default ?

Thanks

]]>
By: Sids https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971231 Tue, 24 Sep 2019 07:14:14 +0000 https://www.percona.com/blog/?p=62279#comment-10971231 Hey @Michael. I don’t see issue in syntax but the flow by which pmm-admin registers node.
This can be secured by not storing “GrafanaAdmin” credentials as PLAIN-TEXT on to monitoring nodes and if possible to allow configuring monitoring nodes with “Admin” credentials instead of “GrafanaAdmin” if possible. Already reported bug PMM-4743 for same.

BTW, PMM2 is great… 🙂

]]>
By: Michael Coburn https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971224 Sat, 21 Sep 2019 22:28:12 +0000 https://www.percona.com/blog/?p=62279#comment-10971224 Hi @Sids

What did you expect instead of the existing syntax? Can you provide an example?

]]>
By: trimurthypimurthy https://www.percona.com/blog/installing-percona-monitoring-and-management-pmm-2-for-the-first-time/#comment-10971222 Fri, 20 Sep 2019 12:32:03 +0000 https://www.percona.com/blog/?p=62279#comment-10971222 Looks like the client installation is not working as expected on SUSE Linux Enterprise Server 12 SP1 & SUSE Linux Enterprise Server 12 SP3

pmmclient:/opt/mysql/pmm2-client-2.0.0 # ./install_tarball
Installing into /usr/local/percona/pmm2…

pmmclient:/opt/mysql/pmm2-client-2.0.0 # pmm-admin config –server-insecure-tls –server-url=https://admin:admin@ipaddress:444/
If ‘pmm-admin’ is not a typo you can use command-not-found to lookup the package that contains it, like this:
cnf pmm-admin

pmmclient:/opt/mysql/pmm2-client-2.0.0 # export PATH=/usr/local/percona/pmm2/bin:$PATH
pmmclient:/opt/mysql/pmm2-client-2.0.0 # pmm-admin config –server-insecure-tls –server-url=https://admin:admin@ipaddress:443
Checking local pmm-agent status…
pmm-agent is not running. Please re-run pmm-agent setup with –config-file flag.
pmmclient:/opt/mysql/pmm2-client-2.0.0 #

]]>