Check disk space NS_Client

Andreas Ericsson ae at op5.se
Tue Feb 22 18:08:49 CET 2005


Henrique Oliveira wrote:
>  Hello,
> 
> I'm running Nagios 1.2 with Nagmin (DB support) with no problems.
> 
> We have a webserver running multiple sites and we need to know is a 
> given site
> (folder) has reached a certain amount of disk usage.
> 
> Is it possible to monitor directories in a hard-drive, opposed to only 
> checking
> the whole hard-drive?
> 

Yes. Write a script/program that recurses into said folder and adds up 
the filesizes as it goes along. Shouldn't be too difficult.

> Regards,
> Henrique Oliveira
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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