Skip to content

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 ​

  1. 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.
  2. The panel stores one sample per minute for 7 days.
  3. Alert rules are evaluated every minute, from heartbeats, jobs, SSL, usage statistics, migrations, and other checks.
  4. 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.

ButtonPurpose
AcknowledgeMarks the alert as handled; critical reminders stop. Allowed for the support role.
Evaluate nowRuns one round of alert rules right away

The dashboard also shows an alert summary. See Dashboard and alerts.

Server health ​

AlertSeverityCondition
server_offlinecriticalThe agent has not sent a heartbeat for more than 180 seconds (MOORCP_ALERT_STALE_SECONDS); the server is marked offline
service_downcriticalA monitored service is not active although it is enabled
Disk or inodes per mountwarning ≥ 80%, critical ≥ 90%
RAM usedwarning ≥ 90%, critical ≥ 95%
5-minute load per CPUwarning ≥ 2, critical ≥ 4
iowaitwarning ≥ 30%
config_driftwarningConfiguration managed by MoorCP was changed outside the panel
agent_cert_expiring, cp_cert_expiringwarning < 21 days, critical < 7 daysAutomatic 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 ​

AlertSeverityCondition
Domain SSLwarning < 14 days, critical < 3 daysCertificate about to expire
ssl_renew_failedAutomatic Let's Encrypt renewal failed
Failed jobs (24 hours)warningA job failed for good
Statistics collection failedwarningThe panel failed to collect usage statistics
Migration account failedwarningA migration import or sync failed
account_disk_quota, account_inode_quotawarning ≥ 85%, critical ≥ 95%Account disk or inode usage close to the limit
malware_foundThe account has open malware findings

Email ​

AlertSeverityCondition
mail_send_blockedwarningSending from a mailbox is blocked (spike, outgoing spam, or by an admin)
mail_queue_largewarning ≥ 200, critical ≥ 1000Deferred email queue on the server
ip_blacklistedwarning or criticalThe 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:

DNSBLZone
Spamhaus ZEN (SBL, CSS, XBL, PBL)zen.spamhaus.org
Barracudab.barracudacentral.org
SpamCopbl.spamcop.net
PSBLpsbl.surriel.com
Mailspikebl.mailspike.net
UCEPROTECT Level 1dnsbl-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 ​

AlertSeverityCondition
backup_onhost_onlywarningAccount backups are only stored on the same server
backup_destination_failedwarningA backup destination could not be used
backup_check_failedcriticalBackup integrity verification failed
restore_test_failedwarningAn automatic restore test failed
panel_backup_disabledwarningPanel backup is not turned on
panel_backup_failedcriticalThe last panel backup failed
panel_backup_stalewarningNo successful panel backup in 48 hours
panel_backup_kit_missingwarningThe panel recovery kit has not been downloaded

Updates and reboots ​

AlertSeverityCondition
panel_update_availablewarningA new MoorCP release in the panel's channel
agent_outdatedwarningA server's agent is older than the panel
os_security_updateswarningOS package security updates are available
reboot_requiredwarningThe 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 ​

AlertCondition
license_expiringTrial or subscription ends in ≤ 14 days (warning), ≤ 3 days (critical)
license_graceThe license is in its grace period
license_expiredThe license is expired or unlicensed
license_over_limitUsage above the license plan's limits
license_clock_skewThe 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.

AlertSeverityCondition
vendor_license_expiringwarning≤ 30 days left
vendor_license_expiringcritical≤ 7 days left, without auto-renew
vendor_license_expiredcriticalAlready 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 ​

  1. Open Settings › Notifications.
  2. Click New channel.
  3. Pick the type and fill in its configuration (see the table below).
  4. Pick Send from severity, for example only critical for an on-call Telegram.
  5. Save, then click Send test.
TypeFields
Email (SMTP)SMTP host, port, TLS (starttls, tls, or none for a local relay), username, password, sender, recipients (comma separated)
TelegramBot 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 lang setting (en or id), 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:

EventWhen
alert.openedNew alert
alert.escalatedGoes from warning to critical
alert.resolvedResolved

The payload contains alertId, kind, severity, message, objectType, objectId, firstAt, and resolvedAt. Example subscription to alerts only:

bash
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:

bash
curl -fsS https://panel.example.com:8443/v1/health

This 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 ​

EndpointPurpose
GET /v1/alerts?state=open|resolved|allList alerts
POST /v1/alerts/evaluateEvaluate rules now
POST /v1/alerts/{id}/ackAcknowledge an alert
GET/POST /v1/notify-channels, PUT/DELETE /v1/notify-channels/{id}Manage channels
POST /v1/notify-channels/{id}/testSend a test message
GET /v1/servers/{id}/healthServer health
GET /v1/servers/{id}/blacklist, POST .../blacklist/checkDNSBL results and check
GET /v1/vendor-licensesVendor license registry
GET /v1/updatesUpdate summary, including panel upgrade and agent rollout status
POST /v1/updates/checkCheck for releases now
POST /v1/updates/panel-upgrade, POST /v1/updates/agents-upgradeUpgrade the panel and agents from the panel

See also ​

MoorCP Shared, a shared hosting panel for server fleets.