Monitoring nginx and mysql

What do you use for metric stats monitoring?
I have a setup with three docker containers: Prometheus, Node Exporter and Grafana.
Would like to get data from nginx and mysql, but there doesn’t seem to be an official nginx exporter for Prometheus, so please share your story.

As a note, I have never tested either of these solutions on Docker so maybe this will be irrelevant for your setup.

If your using Google Compute or AWS I recommend Googles Stackdriver Monitoring and Logging solutions. I use it and it is no joke. I plan on writing more about it soon for reference.

Also for a quick alternative you can use Monit and connect them all with MMonit so you can view all containers / servers on one page.

Honestly everyone should have monit in my opinion just for the fact that it auto restarts NGINX and PHP for you if either of them ever fails.

1 Like