Xymon Mailing List Archive search

Using DU during disk space alert

2 messages in this thread

list Asif Iqbal · Thu, 27 Jan 2005 08:01:28 -0500 ·
Hi 

A mere suggestion.

For connection if ping fails the traceroute kicks in to give more
details about the alert. Can we have same thing with disk space alert?

In other words if df shows a partition reached the threshold percentage
run du to give more details about which dir/folder under that partition
is the biggest folder. Also may be an option to define the level of
search. So if I choose level 2 it will not only find the biggest
dir/folder/file under the partiton using "du -sk *" but it will then go
to next level to find the biggest dir/folder/file under this biggest
dir/folder.

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"...it said: Install Windows XP or better...so I installed Solaris..."
list Henrik Størner · Thu, 27 Jan 2005 14:13:18 +0100 ·
quoted from Asif Iqbal
On Thu, Jan 27, 2005 at 08:01:28AM -0500, Asif Iqbal wrote:
Hi 

A mere suggestion.

For connection if ping fails the traceroute kicks in to give more
details about the alert. Can we have same thing with disk space
alert?
Yes, but this will have to be done in the BB client. Network tests
like ping are centralized - they all happen from the BBNET server -
but disk-tests are local, implemented in the BB client.

So feel free to hack the BB client "bb-disk.sh" script, but it is not
part of Hobbit currently.


Henrik