Skip to main content
A phone that doesn’t ring reports nothing, so without alerts you learn of a failure only when a user complains. The following rules alert on the usual causes before a user notices. Each row is a PromQL expression that you can paste into a Prometheus rule. The thresholds suit a small install, so tune them to your traffic. Start with Pushes fail, A PBX stopped answering, and The certificate expires within 14 days.

Pushes and calls

PBXs and user sources

Devices and security

The gateway

In the connections expression, replace 250000 with your app_max_connections.

Write an alerting rule

Put each expression that you want in a Prometheus rule file.

Next steps

Metric reference

Look up what each metric and label value means.

Read the logs

Find which device or upstream set off an alert.