NRPE Plug-in to count files

Andreas Ericsson ae at op5.se
Thu Jun 26 19:22:38 CEST 2008


Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote:
> I am resending this because I neglected to say that I wanted to monitor
> file numbers on remote hosts.
> 

files=$(find -type f | wc -l)

There, I just wrote one for you ;-)

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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