PDA

View Full Version : looking for: low disk space warning script + ability to announce to IRC


xy0thep
02-27-2013, 10:38 AM
Hi there coders,

As the thread title already says im in need of a low disk space checker.

I imagine something like a small script which is schedulable like every 15 minutes and then checks if there is enough disk space. If the value drops below a predefined value (like 10000MB) it will put a log line into ioftpd.log and so a bot is able to announce it on IRC.

It would be great if its has the option not to only choose one disk (im thinking of the system like on dzsbot when you do !df and it shows the "devices")

If anyone is willing to supply such a script i'd be very happy!

Cheers

mr-b
03-03-2013, 02:47 AM
check your pm

dragon001
10-26-2014, 07:25 AM
Yeah i could use something like this too, if anyone has something they feel like sharing ? :)