Pmm-agent dies after some time requires restart

Is the issue reproducible?

I didn’t do anything special. I just spun up the pmm-server via docker as per the docs.

Then started the postgres service like this on the ubuntu server running postgres:

sudo pmm-admin add postgresql --username='pmm' --password='my password'

Does pmm-agent die if a postgresql service is removed and added again?

I tried removing it via this:

pmm-admin remove postgresql
pmm-admin remove postgresql /service_id/38deb42a-fb83-4f35-adf5-d11b783cef16

It gives the error:

Service with name "/service_id/38deb42a-fb83-4f35-adf5-d11b783cef16" not found.

So how do I remove and re-add?
I looked here but no luck.

1 Like