Skip to main content

Alerts

MonoPbx watches itself and raises named alerts. Installs with Prometheus use the shipped rule files. Installs without it use the alert centre in the console. Both raise the same alerts under the same names.

The alert centre​

Open Admin, Alerts (needs system.settings:read). The PBX checks its own metrics every 30 seconds.

  • An alert is raised when its condition has held for the rule's waiting time, and resolved when the condition clears.
  • Acknowledge records that you saw it. It does not silence it; the alert keeps firing until the problem is gone.
  • Resolved alerts are kept 90 days.
  • Alerts describe the host and its processes. They never carry a number, a person or a company.

Where alerts are sent​

On the same page, Where alerts are sent (needs system.settings:write):

SettingMeaning
Send notificationsOff keeps the alert centre but sends nothing.
Minimum severityInfo, warning (default) or critical.
Also when an alert clearsSends a second message when the alert resolves (default on).
E-mail recipientsUp to 10 addresses. Mail goes through the install's mail settings, not a company's. The page tells you when none are set.
WebhookA public https address. Deliveries are signed like other webhooks, so any Standard Webhooks library can verify them. Internal addresses are refused.

The test button sends a harmless test alert to every channel and shows each result.

What is watched​

AlertSeverityMeaning
TrunkDowncriticalA trunk fails its health check for 5 minutes.
RegistrationsDroppedcriticalRegistered phones fell by more than 30 % in 5 minutes (from at least 10).
HighCallFailureRatiowarningMore than 30 % of recent calls failed.
SipBanSpikewarningMore than 20 SIP sources banned in 10 minutes.
SipAccountLocked, SipCompanyUnderAttackwarning, criticalFailed authentication, see SIP edge protection.
RtpengineNodeDown, MediaServiceDowncriticalThe media path is down; new calls fail.
PushWakeFailuresHigh, PushRelayUnreachablewarning, criticalMobile wake-up pushes fail.
PushEntitlementGracewarningThe push entitlement was revoked; a 30-day grace period runs.
SmppBindDowncriticalAn SMS provider session is not bound.
AiProviderErrorswarningMore than half the AI requests fail.
DiskSpaceLowwarningUnder 10 % free on a watched file system.
CertExpiringSoon, CertExpiryCritical, CertRenewalFailing, CertIssuanceFailedwarning, criticalCertificate problems, see Certificates.
StirCertExpiringSoon, StirCertExpiryCriticalwarning, criticalA STIR/SHAKEN signing certificate expires soon.
SiemExporterDownwarningThe log export cannot reach its collector.
ClickHouseSpillGrowingwarningAnalytics storage is not taking records.

A condition with no data counts as nothing wrong. Alerts that need volume (registrations, call failures) stay quiet on a quiet install.

With Prometheus​

Load deploy/compose/prometheus/rules/*.yml into your Prometheus. The optional observability bundle already does. A starting Alertmanager configuration is included: critical alerts page at once and repeat every 2 hours, warnings group for 10 minutes and repeat daily. Alertmanager itself is not bundled. See error codes for alerts.