MySQL Alive and Accepting Connections Plugin...

Carl Friend Carl.Friend at mathworks.com
Fri Jun 16 14:01:55 CEST 2006


    Greetings,

   Jan van der Merwe asks:

> I'm looking for a really simple plugin that will just check whether
> a MySQL server is alive and accepting connections.

    I've got one that actually goes and executes a "select count(*)"
from arbitrary databases and tables is anyone is interested.  It's
written in Perl and needs the Mysql and DBI modules.  It's crude,
but it works.

+----------------------------------------------+-----------------------+
| Carl Richard Friend (UNIX Sysadmin)          | Natick, Massachusetts |
| Minicomputer Collector / Enthusiast          |            01760-2098 |
| mailto:carl_friend at mathworks.com             +-----------------------+
| http://users.rcn.com/crfriend/museum         |  ICBM: 42:18N 71:21W  |
+----------------------------------------------+-----------------------+


_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list