I need to monitor whether the number of active connections against a MySQL server is within a “reasonable” range.
For all my monitoring needs, I use Nagios. Of course, Nagios offers a MySQL monitoring plugin, however, it does not suit my needs. It only allows you to perform queries on tables, which doesn’t allow me to retrieve the number of current connections to the database server (or does it?!).
Continue reading Monitor number of active connections to MySQL using Nagios