VPS Disk Monitoring: Space, Growth, Telegram Alerts
- Price in currencies:
- 8.82 $ · 626 RUB · 8.04 €
- Category:
- Others
- Item:
- disk-monitor-v1.0.zip (60.55 KB)
- Uploaded:
- 23.11.2026 11:47:48
- Sales:
- 0
- Refunds:
- 0
- Seller:
- Новинка Супер хит! · about the seller and their products
DESCRIPTION
VPS Disk Monitoring: Space, Growth, Telegram Alerts
A disk filled to 100% takes down websites, breaks backups and stops databases — usually at the worst moment and without warning. This kit watches free space on your VPS and messages you on Telegram in advance when the disk approaches its limits: a warning at 80%, a critical alert at 90%. It also shows what exactly ate the space and estimates how many days of free space remain at the current growth rate.
Difference from «Website uptime monitoring without Docker» (product #31): that kit watches whether the site answers from the outside (uptime, response codes). This one looks inside the server — disk space, top directories and fill rate. Difference from «VPS monitoring: Uptime Kuma» (product #15): Kuma is a Docker web panel with external checks. Here you get lightweight scripts with no Docker, running directly on the server, with a measurement history and a «days until full» forecast.
WHAT´S INSIDE THE ARCHIVE
• check-disk.sh — main check: df per path, top directories, growth from history, alert calls; exit codes 0 — ok, 1 — warning, 2 — critical
• disk-history.sh — measurement storage (CSV) and a growth report: MB/day and days until full
• alert-telegram.sh — Telegram alerts with anti-spam: repeats no more often than once per N minutes
• .env.example — all settings: bot token, chat_id, thresholds, paths, top-N
• cron-example.txt — ready-made schedule: a check every 15 minutes
• test_disk_monitor.sh — automated tests in a sandbox with fake df/du/curl
• README.md and PDF — full guide: installation, bot token, thresholds, cron, reading alerts
GUIDE STEPS
1. Copy the kit to the server at /opt/disk-monitor, chmod +x *.sh.
2. cp .env.example .env — enter the bot token from @BotFather and your chat_id.
3. ./check-disk.sh --dry-run — a check without sending alerts.
4. Add the lines from cron-example.txt to crontab -e — a check every 15 minutes.
5. First alert: over 80% — a warning, over 90% — critical.
6. Growth: the first «days until full» forecast appears after a day, once measurement history accumulates.
WHAT YOU NEED
A VPS on Ubuntu 22.04 / 24.04 or Debian 12, bash, curl, standard df and du (present on any system). For alerts — a Telegram bot (created in 2 minutes with @BotFather) and internet on the server. 15 minutes to install and configure.
HONEST LIMITS
Monitoring does not clean the disk by itself: it finds the problem and warns you, while cleanup and rotation are your job. Monitoring does not predict hardware failure: it watches space, not disk health (use smartctl for that). Alerts depend on Telegram: with no internet on the server or at Telegram, an alert won´t arrive — but the check log is still written. Growth is computed from two measurements: if the disk filled in a sudden jump within a couple of hours (for example, one huge backup), the «days until full» forecast will be inaccurate — the warning/critical thresholds catch such jumps immediately, without any forecast.
IMPORTANT
These are files and a guide for self-setup — not a done-for-you installation. If you need monitoring installed on your server turnkey, that´s a separate service.
SIMILAR PRODUCTS
• Website uptime monitoring without Docker: https://plati.market/itm/website-uptime-monitoring-without-docker-cron-curl-telegram-scripts-guide/6429385
• VPS monitoring: Uptime Kuma + alerts: https://plati.market/itm/vps-monitoring-uptime-kuma-telegram-alerts-docker-compose-stack-guide/6410250
• nginx log rotation and analysis: https://plati.market/itm/nginx-log-rotation-and-analysis-who-loads-your-site-script-guide/6432375
• Auto-backup of server configs to Git: https://plati.market/itm/auto-backup-server-configs-to-git-snapshots-secret-masking-restore/6435006
• Server backups with restic: https://plati.market/itm/server-backups-with-restic-scheduled-cloud-storage-telegram-alerts/6410486
• VPS Starter Kit: https://plati.market/itm/vps-starter-kit-setup-and-protection-of-ubuntu-debian-server-scripts-pdf-guide/6397857
REVIEWS
Reviews: (0)
No customer reviews yet.

