I'm curently messing around in god, and would like to write such a
condition to monitor MySQL connections.
I would have the module connect to the server and keep a session open.
When on a check (polling interval) the connection died, it should be
recreated. If it fails X amount of times, see it as failed.
This could be extended to check if a database is still available (you
never know things go wrong) and has correct layout maybe (for the tin
foil hats people) ?
Seems like a plan?
-Bert
On Feb 21, 10:30 pm, "John Joseph Bachir" <
johnjosephbac...@gmail.com>
wrote: