6/3/2023 0 Comments Wp file monitor plus![]() ![]() ![]() Wordpress side solution, in a twist on what suggests, is to override the wpdb class by providing your own implementation of it (in a wpdb.php file placed in /wp-content) which differ from the core one just by the action being done when connection fails. can even be done from a local host or from a different one. There are probably several external ways to do it which are not wordpress specific, like doing an http get once a minute (or more) of the home page and check its content. For the purposes of this question, I'm not interested in why it occurs or how to fix it, but instead, I'd simply like to figure out how to automatically monitor it and get notified.When the error occurs, visiting the site returns the default white page with text shown below. I'm referring specifically to the the well-known WordPress error that often occurs due to various DB connectivity reasons. Pingdom and Uptimerobot do not consider that an error, and thus do not push any notifications.Īre there any simple tools or methods that will monitor my site for that specific problem (and perhaps other problems?) that may not be caught otherwise.ġ. I know there are tools like and that will monitor your site and let you know if they're down, but I find that my WordPress site is experiencing the dreaded "error establishing a database connection" more often than desired, and I'd like to get some sort of notification when that happens (but not in the form of a user complaint!). ![]()
0 Comments
Leave a Reply. |