How to monitor WordPress uptime and performance
How to monitor WordPress uptime and performance: what to check, how often, how to avoid false alarms, and a one line command you can run today.
The WP Waterfall team · Guides

To monitor WordPress uptime, ask your public site for a real page from outside your server about once a minute, and send an alert only after several failures in a row. To monitor performance, record how long each request takes and where the time goes: PHP, the database, or calls to other services. Uptime tells you the site is down. Performance tells you why it was slow before it went down.
Key takeaways
- Check from outside your own server, every minute or so, and alert after three failures in a row to avoid false alarms.
- A 200 answer does not prove the site works. Check a page that uses the database, and watch the response time.
- For performance, find the slowest pages, plugins, and queries first. Do not guess.
What should you monitor?
Start with four things. They catch most real problems.
- Availability. Does the home page answer with a 200 status within a few seconds?
- Response time. How long until the first byte arrives? A rising number warns you before an outage.
- Your certificate. An expired SSL certificate shows every visitor a warning page.
- Scheduled tasks. WordPress runs publishing, backups, and many plugins through WP-Cron. If it stops, things quietly stop happening.
Add more only when you need them: a login page check, a checkout check on a shop, or a keyword check that the page still holds a phrase from your content.
How do you run an uptime check?
A good check follows five rules.
- It runs from outside. A check on the same server fails together with the server and tells you nothing.
- It runs often. Once a minute finds an outage in minutes. Every 15 minutes can miss a short one.
- It waits for several failures. One failed request can be a network blip. Three in a row is an outage.
- It has a timeout. A page that answers after 30 seconds is down for a visitor.
- It tells a person. An email or a webhook that nobody reads is not monitoring.
You can try the idea with one command. It prints the status code and the seconds to the first byte:
curl -s -o /dev/null -w '%{http_code} %{time_starttransfer}\n' https://example.com/
A healthy site prints something like 200 0.09. To run it every minute and log a line each time, save this as check.sh:
#!/usr/bin/env bash
url="https://example.com/"
while true; do
printf '%s ' "$(date -u +%FT%TZ)"
curl -s -o /dev/null --max-time 10 -w '%{http_code} %{time_starttransfer}\n' "$url" || echo "no answer"
sleep 60
done
Run it from a machine that is not your web server. A line that says 000 or no answer is a failed check. This is a teaching tool. For real alerts, use a monitoring service or your host's alerts.
To see when a certificate ends:
echo | openssl s_client -servername example.com -connect example.com:443 2>/dev/null | openssl x509 -noout -enddate
What counts as down?
Decide this once and write it down. A reasonable rule: no answer within 10 seconds, a connection or certificate error, or a 5xx status counts as a failure. A login wall (401), a missing page (404), or a rate limit (429) means the server answered, so it is not down. Treat a 200 with an error message in the page as a separate check, because a status code alone cannot see it.
How do you monitor performance?
Uptime tells you about outages. Performance data tells you why a page takes four seconds. You want a breakdown of each request into three parts:
- PHP time: your theme and plugins running.
- Database time: queries to MariaDB or MySQL.
- External time: calls to other services, such as a payment provider or an email API.
Then sort by total time. The same few pages, plugins, and queries usually account for most of it. Fix the biggest one, measure again, and stop when the site is fast enough. A page cache hides all of this for anonymous visitors, so look at the requests that reach PHP.
If you have WP-CLI, two quick checks help:
wp cron event list --fields=hook,next_run_relative
wp db size --tables --human-readable
The first shows whether scheduled events are waiting to run. If many show now for hours, WP-Cron is stuck. The second lists your table sizes, and a huge wp_options or wp_postmeta table is a common cause of slow queries.
How does Monitor on WP Waterfall work?
Monitor is one tab with two parts.
Uptime is on for every live site. WP Waterfall asks your live site for its home page once a minute. After three failed checks in a row, about three minutes, the account owners get a notice in the bell and an email, and your webhook endpoints get site.down. After two good checks, they get site.up. Both carry an incident_id so you can match the pair. A check fails on no answer within 10 seconds, a connection or certificate error, or a 5xx response.
The tab also shows the uptime of the data center your site runs in, the same numbers as the status page. That is the uptime of the server, not of your site. One check from one place cannot say whether your site works for every visitor, so WP Waterfall puts no number on that. For a figure about your own site, use a monitor you pick from outside our network.
Performance records every PHP request while you collect, for 2, 4, 12, or 24 hours, and then shows the slowest pages, plugins, hooks, database queries, and outside calls, with a trace for the slowest requests. It starts off, and short windows are best while you look for a problem. See the docs for Monitor, and the announcement in Monitor puts performance and uptime in one tab.
An AI assistant connected through the WordPress MCP server can read the same data with the get_uptime and get_performance tools.
Read next
Related articles
Guides · November 13, 2026How to get your WordPress site cited by AI assistantsHow to get your WordPress site cited by AI assistants in 8 steps: answer first, facts in text, structured data, llms.txt, crawler rules, and prompt checks.
Guides · November 11, 2026How to scan a WordPress site for malwareHow to scan a WordPress site for malware: compare files with official copies, find PHP in uploads, check admin users, run ClamAV, and what to do next.
Guides · November 10, 2026Do you need a CDN for WordPress? How Cloudflare worksDo you need a CDN for WordPress? What a CDN does, how Cloudflare caching works, when it helps, and how to read the cache headers to check it.