Downloaded from: https://sourceforge.net/projects/diskmon-mail
Instructions on: https://github.com/Monstertov/diskmon-mail
I run a small mix of Windows and Linux servers and was looking for basic disk monitoring that wouldn't require a lot of setup or ongoing maintenance. My requirements were simple: check disk space, send email alerts, and work across platforms without much configuration.
Quick Setup
DiskMon-Mail took about 5 minutes to get running. Download the binary, copy the example config, edit a few SMTP settings, and it's working. No package managers, no dependencies to install, no complex configuration files.
The config file is straightforward YAML: mail_enabled: true smtp_server: smtp.gmail.com smtp_port: 587 threshold_percent: 10.0
I can put SMTP credentials in environment variables instead of the config file, which is convenient for automation.
Performance
My old monitoring script was slow — it would take 30+ seconds to check SMART data on servers with multiple drives. DiskMon-Mail finishes the same check in under 10 seconds. This means I can run it more frequently without worrying about system load.
Works Everywhere
I tested it on: — Ubuntu servers — Windows Server machines — A Raspberry Pi
Same binary works on each platform, detects the appropriate disks automatically, and sends the same email format. No platform-specific scripts to maintain.
Email Alerts
When a disk hits the threshold, I get a clear email with the details. Nothing fancy, just the information I need: — Which disk is low on space — Current free space percentage — Basic system info
The retry logic means emails actually get delivered even when the network is flaky.
Automation
I added it to cron on Linux systems: */15 * * * * /usr/local/bin/diskmon-mail
On Windows, I use Task Scheduler. Same binary, same config approach.
The — json flag is useful for feeding data into other monitoring systems if needed.
No Ongoing Costs
It's a single static binary with no runtime dependencies. No licensing fees, no subscription costs, no database to maintain. Just runs and does its job.
Configuration Options
The tool has enough options to be useful without being overwhelming: — Set disk space thresholds — Exclude specific disks — Enable/disable SMART health checks — Configure email settings
I exclude backup mounts and system partitions that I don't care about monitoring.
Practical Use
After running it for several months across my infrastructure: — Caught disk space issues before they became problems — Works reliably without maintenance — No false alerts from the disks I've excluded — SMART monitoring has warned me about one failing drive
Minor Issues
RAID controllers sometimes don't expose SMART data properly, but the tool handles this by reporting "unknown" status rather than failing. Network-mounted drives occasionally timeout, but I just exclude those.
Simple Solution
DiskMon-Mail does exactly what I needed: basic disk monitoring that works across platforms with minimal setup. It's not revolutionary, just a reliable tool that handles the common case well.
For anyone who needs straightforward disk space and health monitoring without complicated setup or ongoing costs, it's a solid choice. Single binary, basic configuration, works everywhere.