Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Andreas Ericsson
On 12/03/2010 07:29 AM, Sebastian Ries wrote: Hi The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told that it is a very large directory with many files) In

Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Daniel Wittenberg
Subject: Re: [Nagios-users] Check size of large directory On 12/03/2010 07:29 AM, Sebastian Ries wrote: Hi The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told

Re: [Nagios-users] Check size of large directory

2010-12-03 Thread Gavin Carr
On Fri, Dec 03, 2010 at 07:29:54AM +0100, Sebastian Ries wrote: The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told that it is a very large directory with many

[Nagios-users] Check size of large directory

2010-12-02 Thread Sebastian Ries
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

Re: [Nagios-users] Check size of large directory

2010-12-02 Thread Max Hetrick
On 12/02/2010 10:31 AM, Sebastian Ries wrote: Does anyone know about a plugin that can do this? Check out the check_file plugins from the nagios-of-plugins. http://www.openfusion.com.au/labs/nagios/ I'm pretty sure it will work on a directory the same as a file. Should be something like:

Re: [Nagios-users] Check size of large directory

2010-12-02 Thread Kaplan, Andrew H.
Hi there -- The check_folder_size.sh script will probably suit your needs well. -Original Message- From: Sebastian Ries [mailto:sebastian.r...@dtnet.de] Sent: Thursday, December 02, 2010 10:31 AM To: nagios-users-ML Subject: [Nagios-users] Check size of large directory Hi I need

Re: [Nagios-users] Check size of large directory

2010-12-02 Thread Sebastian Ries
Hi The check_folder_size.sh script will probably suit your needs well. Yes, I found scripts for this. The Problem is that a du within this folder takes about 2 minutes. That's why I told that it is a very large directory with many files) The other side is that the content within this