Answer the question
In order to leave comments, you need to log in
How to set up a notification about the lack of free space by mail on linux?
Good afternoon. Tell me:
I created a VM, ubuntu, LVM with a hope for expansion, while I was driving in the test, I ran out of space, the web muzzle disappeared, LVM refused to expand, there was 0 space.
In the current realities, it was easier to create a VM from 0 and continue testing. Tell me - is there any tool besides zabbix and SNMP (implementing it is more expensive for now), which can simply monitor the free space, and upon reaching, let's say 80% on the section, write a letter or signal in another way? to react in time?
Answer the question
In order to leave comments, you need to log in
by zabbix and SNMP
If you know the places on the FS of your VM where something accumulates, then you can simply make a script that, according to the schedule (a job in cron), will clean this place. Like once an hour...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question