Add Remote Postgresql database to PMM from commandline

Hi, I am looking for options to automate adding a remote database to PMM. Currently I only see the option of adding it from the UI. It would be helpful if it can done from commandline.


Hello @Karthikyvpv,
Sounds like you need the PMM API. Check out the documentation at: https://your.pmm.server/swagger#/
You can then use something simple like curl to make API requests.

1 Like