Monitoring and alerts
This page explains what MoorCP Shared monitors, which alerts can appear, and how to send them to email, Telegram, or other systems through webhooks.
How it works
- The agent on each server sends a heartbeat to the panel every 30 seconds: CPU, iowait, load, RAM, swap, uptime, network, disk and inodes per filesystem, systemd service status, agent version, and OS updates.
- The panel stores one sample per minute for 7 days.
- Alert rules are evaluated every minute, from heartbeats, jobs, SSL, usage statistics, migrations, and other checks.
- Alerts are deduplicated (one alert per condition), closed automatically when the condition goes away, and sent to notification channels.
Alerts are sent when they open, escalate, and resolve. Critical alerts that are not acknowledged are repeated every 6 hours (MOORCP_ALERT_REPEAT_HOURS).
The Alerts page
The Alerts menu shows active and resolved alerts, with filters for severity, state, and server.
| Button | Purpose |
|---|---|
| Acknowledge | Marks the alert as handled; critical reminders stop. Allowed for the support role. |
| Evaluate now | Runs one round of alert rules right away |
The dashboard also shows an alert summary. See Dashboard and alerts.
Server health
| Alert | Severity | Condition |
|---|---|---|
server_offline | critical | The agent has not sent a heartbeat for more than 180 seconds (MOORCP_ALERT_STALE_SECONDS); the server is marked offline |
service_down | critical | A monitored service is not active although it is enabled |
| Disk or inodes per mount | warning ≥ 80%, critical ≥ 90% | |
| RAM used | warning ≥ 90%, critical ≥ 95% | |
| 5-minute load per CPU | warning ≥ 2, critical ≥ 4 | |
| iowait | warning ≥ 30% | |
config_drift | warning | Configuration managed by MoorCP was changed outside the panel |
agent_cert_expiring, cp_cert_expiring | warning < 21 days, critical < 7 days | Automatic mTLS certificate renewal failed |
Services that are deliberately disabled or masked (for example nginx after the web server was switched to OpenLiteSpeed) have the status disabled and do not raise alerts.
Each server's details, 24-hour trends, services, and logs are under Servers. See Servers.
Accounts, websites, and jobs
| Alert | Severity | Condition |
|---|---|---|
| Domain SSL | warning < 14 days, critical < 3 days | Certificate about to expire |
ssl_renew_failed | Automatic Let's Encrypt renewal failed | |
| Failed jobs (24 hours) | warning | A job failed for good |
| Statistics collection failed | warning | The panel failed to collect usage statistics |
| Migration account failed | warning | A migration import or sync failed |
account_disk_quota, account_inode_quota | warning ≥ 85%, critical ≥ 95% | Account disk or inode usage close to the limit |
malware_found | The account has open malware findings |
Email
| Alert | Severity | Condition |
|---|---|---|
mail_send_blocked | warning | Sending from a mailbox is blocked (spike, outgoing spam, or by an admin) |
mail_queue_large | warning ≥ 200, critical ≥ 1000 | Deferred email queue on the server |
ip_blacklisted | warning or critical | The server IP is listed on a DNSBL |
IP blacklist check (DNSBL)
The panel checks the main IP of every hosting server every 6 hours (the first time 2 minutes after the panel starts) against:
| DNSBL | Zone |
|---|---|
| Spamhaus ZEN (SBL, CSS, XBL, PBL) | zen.spamhaus.org |
| Barracuda | b.barracudacentral.org |
| SpamCop | bl.spamcop.net |
| PSBL | psbl.surriel.com |
| Mailspike | bl.mailspike.net |
| UCEPROTECT Level 1 | dnsbl-1.uceprotect.net |
- critical: the server sends email (Postfix active) and the listing is not just a policy listing.
- warning: the server does not send email, or the listing is only a policy listing (Spamhaus PBL, meaning the IP is recorded as dynamic or end-user).
- Private, CGNAT, and IPv6 addresses are not checked.
The results show on the IP blacklist (DNSBL) card in the server overview, with check and delist links. Manual check: POST /v1/servers/{id}/blacklist/check.
WARNING
Spamhaus refuses queries from public resolvers such as 1.1.1.1 and 8.8.8.8, and the result is recorded as an error, not a listing. To include Spamhaus, set MOORCP_RBL_RESOLVER=host:port in the panel env to your own recursive resolver, for example unbound on the panel server.
Backup
| Alert | Severity | Condition |
|---|---|---|
backup_onhost_only | warning | Account backups are only stored on the same server |
backup_destination_failed | warning | A backup destination could not be used |
backup_check_failed | critical | Backup integrity verification failed |
restore_test_failed | warning | An automatic restore test failed |
panel_backup_disabled | warning | Panel backup is not turned on |
panel_backup_failed | critical | The last panel backup failed |
panel_backup_stale | warning | No successful panel backup in 48 hours |
panel_backup_kit_missing | warning | The panel recovery kit has not been downloaded |
Updates and reboots
| Alert | Severity | Condition |
|---|---|---|
panel_update_available | warning | A new MoorCP release in the panel's channel |
agent_outdated | warning | A server's agent is older than the panel |
os_security_updates | warning | OS package security updates are available |
reboot_required | warning | The server needs a reboot after a kernel or core library update |
MoorCP releases are checked every 30 minutes. New releases and outdated agents also show as a banner on every admin page, with buttons to upgrade the panel and agents from the panel.
During a reboot started from the panel, the server_offline alert and that server's metric alerts are held back so there are no false notifications. See Updates and releases.
License
| Alert | Condition |
|---|---|
license_expiring | Trial or subscription ends in ≤ 14 days (warning), ≤ 3 days (critical) |
license_grace | The license is in its grace period |
license_expired | The license is expired or unlicensed |
license_over_limit | Usage above the license plan's limits |
license_clock_skew | The panel clock was moved back |
See License.
Vendor licenses
Settings › Vendor licenses records third-party licenses: CloudLinux, Imunify360, Softaculous, LiteSpeed Enterprise, KernelCare, JetBackup, or others. Enter the expiry date from the vendor's portal; the panel does not detect it automatically.
| Alert | Severity | Condition |
|---|---|---|
vendor_license_expiring | warning | ≤ 30 days left |
vendor_license_expiring | critical | ≤ 7 days left, without auto-renew |
vendor_license_expired | critical | Already past |
WARNING
Do not store full license keys in this registry. The panel refuses text that looks like a full key. Store the order ID, the last 4 characters, or the licensed IP.
Notification channels
Without a channel, alerts are still recorded on the Alerts page but are not sent anywhere.
Adding a channel
- Open Settings › Notifications.
- Click New channel.
- Pick the type and fill in its configuration (see the table below).
- Pick Send from severity, for example only critical for an on-call Telegram.
- Save, then click Send test.
| Type | Fields |
|---|---|
| Email (SMTP) | SMTP host, port, TLS (starttls, tls, or none for a local relay), username, password, sender, recipients (comma separated) |
| Telegram | Bot token (from @BotFather) and chat ID |
- SMTP passwords and bot tokens are stored encrypted.
- The language of email and Telegram messages follows the channel's
langsetting (enorid), Indonesian by default. - Only the admin role can change notification channels.
- The last send failure shows in the channel's status column.
Customer notifications
One email channel can be marked Also use this SMTP for client notifications. The panel then emails the account's contact address for quota, SSL, and malware alerts on that account. Customers can turn off certain categories in the client panel.
Webhooks for alerts
Alerts can also go to other systems (monitoring, chat, ticketing) through signed webhooks with these events:
| Event | When |
|---|---|
alert.opened | New alert |
alert.escalated | Goes from warning to critical |
alert.resolved | Resolved |
The payload contains alertId, kind, severity, message, objectType, objectId, firstAt, and resolvedAt. Example subscription to alerts only:
curl -sS -X POST https://panel.example.com:8443/v1/webhooks \
-H "X-API-Key: ADMIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "monitoring", "url": "https://monitor.example.com/hook", "events": ["alert.*"]}'Signature and retry details are in Outgoing webhooks.
External monitoring
To monitor the panel itself from outside (an uptime checker), use:
curl -fsS https://panel.example.com:8443/v1/healthThis endpoint needs no authentication and answers {"status": "ok", ...} while the control plane is running.
TIP
The server_offline alert is sent by the panel. If the panel server itself goes down, nothing sends an alert. Add an external uptime checker on /v1/health as a second layer.
API
| Endpoint | Purpose |
|---|---|
GET /v1/alerts?state=open|resolved|all | List alerts |
POST /v1/alerts/evaluate | Evaluate rules now |
POST /v1/alerts/{id}/ack | Acknowledge an alert |
GET/POST /v1/notify-channels, PUT/DELETE /v1/notify-channels/{id} | Manage channels |
POST /v1/notify-channels/{id}/test | Send a test message |
GET /v1/servers/{id}/health | Server health |
GET /v1/servers/{id}/blacklist, POST .../blacklist/check | DNSBL results and check |
GET /v1/vendor-licenses | Vendor license registry |
GET /v1/updates | Update summary, including panel upgrade and agent rollout status |
POST /v1/updates/check | Check for releases now |
POST /v1/updates/panel-upgrade, POST /v1/updates/agents-upgrade | Upgrade the panel and agents from the panel |
