Docs cipi.yml Web panel API MCP Guides Compare GitHub Telegram channel
  1. Home
  2. Guides
  3. Server monitoring and alerts on Telegram, Slack and e-mail
Operations

Server monitoring and alerts on Telegram, Slack and e-mail

Watch CPU, memory, disk, services, certificates and app health on your own server, and get alerted on Telegram, Slack, e-mail or a webhook when something actually breaks.

By Updated 2 min read

Cipi checks the server every five minutes with a cron job and a few state files: no agent, no metrics database, no external service. You choose where the alerts go.

Server monitor
$ cipi monitor

1. Add a channel#

bash
sudo cipi notification add telegram oncall --token=<bot-token> --chat-id=<id>
sudo cipi notification add slack ops --url=https://hooks.slack.com/services/…
sudo cipi notification add webhook pager --url=https://example.com/hooks/cipi --secret=…
sudo cipi notification test all

For Telegram: create a bot with @BotFather, send it /start, and read the chat id from getUpdates. Group chats have negative ids.

2. Pick what notifies#

bash
sudo cipi notification triggers
sudo cipi notification triggers disable monitor_load

Deploy failures, backups, health checks, monitor alerts, security events and SSO changes are separate triggers.

3. Tune the monitor#

bash
sudo cipi monitor list
sudo cipi monitor set disk --warn=85 --crit=95
sudo cipi monitor test
CheckAlerts on
CPU, load, memory, swapSustained high usage
DiskThresholds per filesystem; cipi disk shows which app is filling it
Servicesnginx, databases, Valkey, Supervisor, PHP-FPM down
CertificatesExpiring soon
App diskAn app over its soft limit

4. Watch each app from outside#

bash
sudo cipi health set shop --url=https://shop.example.com/up --expect=200
sudo cipi health check shop

The same check runs after every deploy and can roll back automatically. For a richer per-app status (database, cache, queue, storage, deploy), use the agent's health endpoint with an external uptime service.

More channels and webhook signatures: notifications and alerts.

Troubleshooting#

ProblemFix
No alerts at allNo channel configured: add one with cipi notification add, then cipi notification test all
Telegram silentBot never received /start, or wrong chat id (groups are negative)
Too many disk alertsClean logs and releases; lower --keep-releases

Questions

What does Cipi watch?

Load, memory, disk, services (Nginx, PHP-FPM, databases, Valkey, Supervisor), failed deploys, backups, certificates, security updates and health checks.

Will I get spammed?

Alerts fire on state changes (problem, then recovery), not every five minutes. Disable triggers you don't want.

What if a step fails?

Read the troubleshooting table above first. Then check the matching docs page, open a GitHub issue, or ask in the community. Most commands print the fix when they refuse something.

Do I need the web panel for this?

No. Every step works from the CLI. The optional web panel shows the same things in a browser.

Can I run these commands from my laptop?

Many of them, through cipi-cli and the API, with a scoped token. Otherwise ssh cipi@your-server and use sudo cipi ….

Will this affect other apps on the server?

No, unless the step says it's server-wide (installing a PHP version, firewall, Cloudflare tunnel). Each app has its own user, PHP pool, database and Valkey.

Why do commands start with `sudo cipi`?

You log in as the cipi admin user, which may run cipi with sudo without a password. Root login is disabled for safety.

Try it on your own server

Free and open source. One command on a fresh Ubuntu 24.04 or 26.04 VPS.

wget -O - https://cipi.sh/setup.sh | bash
Read the quickstart