Error on adding services.

I am running the PMM server inside a docker container. The PMM client is running on another docker container with CentOS which is connected to a mariadb docker container.

The client is connected to the server, but when I add a mysql service to the client, I get this error:

Error adding MySQL metrics: “service” failed: exec: “service”: executable file not found in $PATH

Unfortunately, it is not supported to run pmm-client inside container right now, because docker containers doesn’t support init.d or systemd start-up scripts.

I created ticket for developers with feature request -