Using pmm-admin with "local" configuration

Hi there,

I’m being experimenting PMM for a while now, but still didn’t figure out how to properly use the pmm-admin cli.

I tried to use pmm-admin for both VM based and Docker based PMM, both 1.17.1 version, and everytime I start a new one and try to use it, the result is the same:

[admin@localhost ~]$ pmm-admin
pmm-admin requires superuser privileges to manage system services.
[admin@localhost ~]$ sudo -i
[root@localhost ~]# pmm-admin ls
PMM client is not configured, missing config file. Please make sure you have run 'pmm-admin config'.
[root@localhost ~]# pmm-admin check-network
PMM client is not configured, missing config file. Please make sure you have run 'pmm-admin config'.

If I follow up the instructions and execute the configuration I can finally starting using it, but then I’ll start seeing messages that I have orphaned exporters, and if I try to use , I remove them, which fix the warnings, but now I don’t have the “local” exporter running anymore (for OS, Prometheus and MySQL local instances).

Is there any way that I could use the cli and keep the default configurations?

The web interface is super easy to use, but I would like to avoid repeating over and over the process to add new instances (more specifically, AWS RDS instances).

Thanks in advance,

Alceu