Check size of large directory
Sebastian Ries
Sebastian.Ries at dtnet.de
Thu Dec 2 16:31:09 CET 2010
Hi
I need to check the size of a directory...
The problem is that this directory is very large (needs to stay under
1TB - that's why I need the check) and I cannot move it to an own
partition (content is hard-linked)
So I tried to write the size of this directory into a file (content does
not change very often) an check the content of this file via nagios.
Something like daily do
# du -m -s $dir > $file
Does anyone know about a plugin that can do this?
Regards
Sebastian Ries
--
------------------------------------------------------------
DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart
Tel: +49-711-849910-36 Fax: +49-711-849910-936
WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list