# Pmm agent not found

**URL:** <https://forums.percona.com/t/pmm-agent-not-found/19650>\
**Category:** Percona Monitoring and Management (PMM)\
**Created:** [January 16, 2023, 4:23pm UTC](https://forums.percona.com/t/pmm-agent-not-found/19650 "2023-01-16T16:23:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dba1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dba1/32/24223_2.png) [@Dba1](https://forums.percona.com/u/Dba1)\
**Post date:** [January 16, 2023, 4:23pm UTC](https://forums.percona.com/t/pmm-agent-not-found/19650/1 "2023-01-16T16:23:46Z")

</div>

I have tried installing pmm client on my server. I followed the package method. Specifically the binary package. I did installed the client successfully. also, added my mariadb server hostname(ip) to the server. I was able to see the mariadb server in the PMM monitoring system. I have the urs/local/config/ in my mariadb where the client was installed , which means the client was successfully installed.

Whenever I did pmm-admin status I always get pmm -admin command not found. Even I did tried to readd the server again by doing this = pmm-agent – setup – config-file=/local …  
I still got PMM agent not found.  
anything I did with pmm I got PMM not found.  
Can someone just help out

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [January 16, 2023, 5:02pm UTC](https://forums.percona.com/t/pmm-agent-not-found/19650/2 "2023-01-16T17:02:56Z")

</div>

Hi @Dba1 thanks for posting to the Percona forums!

If you did installation using binary, that usually means you downloaded a tar.gz, and you copied the files into a set of directories manually. Probably `pmm-admin` didn’t get added to your `$PATH`. You can reference it with the full path `/usr/local/bin/pmm-admin` (or wherever you installed the files).

Please let me know if you in fact used a deb / rpm installation method.

---

<div class="post-metadata">

**Author:** ![Dba1](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/dba1/32/24223_2.png) [@Dba1](https://forums.percona.com/u/Dba1)\
**Post date:** [January 16, 2023, 5:34pm UTC](https://forums.percona.com/t/pmm-agent-not-found/19650/3 "2023-01-16T17:34:45Z")

</div>

Thanks Michael these are my steps after download ( tar xfz pmm2-client-2.33.0.tar.gz &&pmm2-client-2.33.0)

1. export PMM\_DIR=/usr/local/percona/pmm2
2. ./install\_tarball  
3.PATH=$PATH:$PMM\_DIR/bin  
4.pmm-agent setup - - config-file=/usr/local/percona/pmm2/config/PMM-agent.yaml - - server-address =xxxxxx - - server-insecure - tls ……. Yari yari .

Even with the monitoring system seeing my mariadb server in the GUI. I still have issues with PMM.  
I have tried my best. Left it came back to it many times still having issues

---

<div class="post-metadata">

**Author:** ![Michael\_Coburn](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/michael_coburn/32/18_2.png) [@Michael\_Coburn](https://forums.percona.com/u/Michael_Coburn)\
**Post date:** [January 17, 2023, 3:54pm UTC](https://forums.percona.com/t/pmm-agent-not-found/19650/4 "2023-01-17T15:54:48Z")

</div>

Thanks for the detail @Dba1

I have never in fact tried to do the installation using the tarball method… so these are more guesses:

- It looks like you used upper-case for the configuration file. it should be `/usr/local/percona/pmm2/config/pmm-agent.yaml`
- I generally use the syntax `pmm-admin config ...` to do the configuration and not `pmm-agent setup`, I suggest you try this method
- Can you try using the full path when calling `pmm-admin` such as `/usr/local/percona/pmm2/bin/pmm-admin add mysql ...`  
Let us know how you make out with these suggestions! If these fail may I suggest you try with one of the deb or rpm options as they have consistently worked for me and I expect you will have the same success!
