Configuration of remote server for monitoring

Hi all ,
I have installed Grafana [ version 5.3.0 ] and I am using prometheus as a data source
i want to know what is configuration for monitor docker container ,nginx, apache2 and mysql and how to execute remote command on grafana dashboard for start or stop any services like apache2 ,mysqld,nginx.
If it possible then please assist me with the documents configurations links.