| 开发者 | qndrs |
|---|---|
| 更新时间 | 2026年7月18日 15:23 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/qndrs-availability-heartbeat-monitor.wp-cron.php.Configure Pushover credentials from the plugin settings page. Stored credentials are masked and are not included in JSON exports.
You can also add these constants to wp-config.php; constants take precedence over stored settings:
define('PUSHOVER_USER_KEY', 'your-user-key');
define('PUSHOVER_API_TOKEN', 'your-api-token');
Logs are stored in the WordPress database option qndrs_ahm_logs and capped to avoid unbounded growth. The REST log endpoint supports type, url, date_from, date_to, page, per_page, limit, and order query parameters.
No. REST endpoints require a user with the manage_options capability or the plugin read-only API token.
Create a heartbeat monitor from the settings page. The plugin shows a one-time token and curl example. A client sends outbound HTTPS POST requests to /wp-json/qndrs-availability-heartbeat-monitor/v1/heartbeat; the monitor becomes stale/down when no ping arrives in time.
Detailed heartbeat client examples are included in docs/heartbeat-monitors.md. Dutch documentation is included in docs/heartbeat-monitors.nl.md.