how do i do that if space is less than x% it will notify me by mail? i have ubuntu and my HD are LVM
feedback
|
|
Monit can do this for you; there are plenty of other applications as well. For a single box, I like Monit because it's easy to setup and it's light on resources. Andrew | |||
|
feedback
|
|
Write a simple script that sends email if space usage gets over x% and add it to crontab. On FreeBSD Example of script that checks space usage and prints warning if it is more that x%:
| |||
|
feedback
|
|
It heavily depends on what your requirements are. If you have multiple systems you would like to watch, Zabbix will easily monitor things like free diskspace and notify you in case of any problems. If that's a single system, a simple script might be more simple to implement. | |||
|
feedback
|