Add the site
In the dashboard choose Add monitor, then WordPress site. Enter the site address and its client, tick the monitors you want, and press Check site to test the homepage and the REST API before saving. Everything ticked is added at once, or nothing is if your plan does not have room.
A site in a folder, such as acme.com/blog, keeps its path: the REST API check then requests acme.com/blog/wp-json/.
What each monitor checks
- Homepage: the home page answers, and does not show Error establishing a database connection, the page WordPress prints when MySQL is down. This check also watches the SSL certificate.
- REST API:
/wp-json/answers, which means PHP and WordPress run, not just a page served from a cache. - Key page (optional): a page that earns money or leads, such as checkout or the contact form, with text that must appear, for example Place order.
- Backup: a cron job monitor that expects one check-in a day, with two hours of grace.
- WP-Cron (optional): a cron job monitor that expects a check-in every 15 minutes from the server cron that runs wp-cron.
Most sites need three or four, so the Free plan's 10 monitors cover two or three sites. You can change any of them later, like any other monitor.
Backups run by cron
When the backup is a command on the server, such as a script, mysqldump or a WP-CLI command, ping the backup URL after it. A failure pings /fail, so the monitor trips at once instead of at the deadline:
0 3 * * * /usr/local/bin/backup.sh && curl -fsS -m 10 --retry 3 https://ping.rondaup.com/b4Kp9Wm2xT7q > /dev/null || curl -fsS -m 10 --retry 3 https://ping.rondaup.com/b4Kp9Wm2xT7q/fail > /dev/nullThe cron job guide shows the same with /start, so each run's duration is recorded.
UpdraftPlus
UpdraftPlus Premium can take a backup from WP-CLI with wp updraftplus backup, using the settings saved in the plugin. Run it from the server's crontab and ping after it:
0 3 * * * cd /var/www/acme && wp updraftplus backup && curl -fsS -m 10 --retry 3 https://ping.rondaup.com/b4Kp9Wm2xT7q > /dev/null || curl -fsS -m 10 --retry 3 https://ping.rondaup.com/b4Kp9Wm2xT7q/fail > /dev/nullTurn off the backup schedule inside UpdraftPlus first, so the site is not backed up twice. UpdraftPlus does not document whether a failed backup makes the command exit with an error, so keep its email report on as well. The command is described in UpdraftPlus's WP-CLI documentation.
The free edition schedules backups inside WordPress and has no documented way to report a finished run to another service, so RondaUp cannot see those backups yet. Keep its email report on, and tell us at support@rondaup.com if you would use a plugin that checks in for it.
Other backup tools
- Backups made by your host, or by services that copy the site from their own servers: they run outside your WordPress and your server, so there is nothing to add a ping to. Use their own failure alerts, and leave the Backup monitor unticked for those sites.
- Any tool with a command line: run it from the server's crontab and ping after it, as in Backups run by cron.
WP-Cron
WordPress runs scheduled tasks (publishing scheduled posts, plugin jobs, some backups) only when someone visits the site. On a quiet site they run late or not at all. The fix is to switch that off and run wp-cron from the server every 15 minutes, checking in each time.
In wp-config.php, above the line that says "That's all, stop editing":
define('DISABLE_WP_CRON', true);Then in the server's crontab:
*/15 * * * * curl -fsS -m 60 "https://acme.com/wp-cron.php?doing_wp_cron" > /dev/null && curl -fsS -m 10 --retry 3 https://ping.rondaup.com/c8Rv3Ny6Lq1z > /dev/nullWith WP-CLI on the server, this runs every due task directly instead:
*/15 * * * * cd /var/www/acme && wp cron event run --due-now > /dev/null && curl -fsS -m 10 --retry 3 https://ping.rondaup.com/c8Rv3Ny6Lq1z > /dev/nullIf /wp-json/ is blocked
Some security plugins block the REST API for visitors who are not signed in. The REST API check then answers 401 or 403 and trips. If that block is on purpose, untick REST API when adding the site, or pause that monitor; the homepage check still catches a site that is down.
Questions about a setup not covered here? Write to support@rondaup.com.