Simple DDoS Monitor
A lightweight WordPress plugin to monitor websites for database errors or server outages with real-time status updates.
Not scanned yet
WordPress plugin
10 installs
Install in
Simple DDoS Monitor is your go-to solution for keeping an eye on your websites. This lightweight plugin checks for database errors or server downtimes, providing visual status indicators and email alerts when issues arise. Designed for simplicity and efficiency, it’s perfect for WordPress administrators who need reliable monitoring without complexity.
- Automatic Monitoring: Checks your sites every minute via WP-Cron.
- Visual Dashboard: Colour-coded rows with a global health badge and response-time chips.
- Check Now: Instantly trigger a manual check from the dashboard without waiting for cron.
- Response Times: See how fast each monitored URL responds, colour-coded fast / medium / slow.
- Last-Checked Timestamps: Each row shows how long ago the last check ran (“just now”, “2 min ago”…).
- Recovery Alerts: Get notified by email when a site comes back online, not only when it goes down.
- Animated Feedback: Status changes trigger a visual flash so you catch them at a glance.
- Clean Uninstall: All options and transients are removed when the plugin is deleted.
- Lightweight Design: Minimal server impact for maximum efficiency.
Usage
- Go to Settings > DDoS Monitor in your WordPress admin dashboard.
- Enter the URLs of the websites you want to monitor, separated by commas.
- Save your settings and let the plugin do the rest.
- Use the Check Now button for an on-demand check at any time.
Features
- Automatic site checks every minute via WP-Cron (runs in the background — no admin page required).
- Manual Check Now button triggers an immediate synchronous check and returns fresh results.
- Visual dashboard with per-site status rows and a global health badge.
- Per-row response-time chip (green < 500 ms / amber < 2 s / red ≥ 2 s).
- Per-row “last checked” relative timestamp, refreshed live in the browser.
- Flash animation when a row’s status changes so you never miss an update.
- Email alerts when a site’s status changes from OK to an error state (after 2 consecutive failed checks, to avoid false alarms).
- Email alerts when a site recovers and returns to OK.
- Uses
wp_remote_getfor reliable HTTP requests. - Automatic protocol handling (no need to specify
http://orhttps://). - Proper activation and deactivation hooks — cron is scheduled on activation and cleaned up on deactivation.
Notes
- The plugin relies on
wp_remote_getfor site checks. Ensure your server allows outgoing HTTP requests. - URLs do not require
http://orhttps://prefixes; the plugin adds them automatically. - Monitoring runs via WP-Cron and does not require you to have the admin page open.
Written by Joobi from the project's own listing. See the source page
30 Nov 2026
Version 1.1.1 released. Not scanned yet.
1.1.1
- Fix: an address with a username or password, or a link-local address (169.254.x.x), is not saved and is not requested.
- Fix: “Database Error” is now detected. WordPress serves that page with HTTP 500, which was reported as a plain “Server Responded with 500”. The translated message of the monitored site is recognised too.
- Fix: alerts no longer depend on 5-minute transients. States are kept in a non-autoloaded option, so a late WP-Cron run (low-traffic site) no longer loses the “was OK” state and silently skips the alert and the recovery.
- Fix: a site that is already down on its first check now triggers an alert.
- Fix: the check lock now outlives the longest run (it expired after 90 s while 7 slow URLs could take 105 s, allowing overlapping runs) and is always released.
- Fix: the alert email is HTML-escaped.
- Fix: ticking “Enable Email Alerts” with an empty or invalid address is refused instead of wiping the saved address.
- Fix: the dashboard no longer mixes up URLs that look like numbers or booleans.
- New: an alert is sent after 2 consecutive failed checks (filter
ddos_monitor_failure_threshold) and the recovery email only follows an alert, with the outage duration. - New: the dashboard warns when no check ran for 5 minutes (WP-Cron stopped) and when the connection to the site is lost, instead of showing a stale green badge.
- New: URLs can be entered one per line; they are validated and de-duplicated on save (20 URLs at most, filter
ddos_monitor_max_urls). Requests time out after 10 s and read at most 1 MB. - Improved: the dashboard stops polling while the tab is hidden; deactivation and uninstall remove every scheduled event.
1.1.0
- New: Tested and compatible with WordPress 7.0.
- New: Check Now button — trigger an immediate manual check from the dashboard.
- New: Response-time chip per URL (colour-coded: fast / medium / slow).
- New: “Last checked” relative timestamp per URL, refreshed live every 30 seconds.
- New: Flash animation on rows when their status changes.
- New: Pulsing dot animation during loading and manual checks.
- New: Recovery email alerts — admins are now notified when a site comes back online.
- New:
uninstall.php— all options and transients removed on plugin deletion. - New:
register_activation_hook/register_deactivation_hookfor proper cron lifecycle management. - Fixed: Global badge text no longer shows
undefined— localized labels (label_all_ok,label_issues,label_pending) now passed viawp_localize_script. - Fixed: Duplicate
wp_ajax_ddos_monitor_toggle_emailhook registration removed from main plugin file. - Improved: Status transients now store structured data (status, response_time, checked_at) with backward-compatible fallback for 1.0.x string format.
- Improved: Dashboard UI polished — status bar split into left group and Check Now button, card shadow, smoother transitions.
1.0.2
- Fixed:
Tested up toupdated to WordPress 6.9. - Fixed: Added version parameter to
wp_enqueue_styleandwp_enqueue_scriptto prevent browser caching issues. - Fixed:
$checkedattribute in email checkbox now correctly escaped viaesc_attr(). - Fixed:
$_POST['email']now unslashed withwp_unslash()before sanitization. - Fixed: Removed all
error_log()calls from production code. - Fixed: Removed
wp_ajax_noprivregistration forddos_monitor_toggle_email. - Fixed: Removed
wp_ajax_noprivregistration forddos_monitor_get_statuses. - Fixed: Status transient TTL increased from 60 s to 5 minutes to survive brief cron delays.
- Fixed: Duplicate status refresh (double
setInterval) eliminated in JavaScript. - Improved: Admin dashboard redesigned with colour-coded site rows and a global health badge.
- Improved: Scripts and styles only enqueued on the plugin’s own admin page.
- Improved:
wp_send_json_success/wp_send_json_errorused consistently for AJAX responses.
1.0.1
- Fixed issues for WordPress.org plugin review compliance.
1.0
- Initial release of Simple DDoS Monitor.
5 May 2025Listed on Joobi from WordPress.org.
Follow this listing's changes (Atom feed)