Plugin for counting files?

Jaap Hogenberg jaap.hogenberg at marketxs.com
Wed Aug 4 11:22:42 CEST 2004


On Tue, 2004-08-03 at 18:41, David Knutson wrote:
> Can anyone point me to a plugin for checking the number of files in a
> directory?  I'm new to nagios and would rather not dive into creating
> a plugin at this time.  Thanks!
>  
I would encourage you to dive in !
Writing plugins is really quite easy, and will give you
the power to monitor almost anything you could think of.

But I'm in a good mood, so I wrote a plugin for you,
it is attached (shell script, tested to work on a linux 
machine)

Regards,
Jaap.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check_filecount
Type: text/x-sh
Size: 784 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040804/43002da1/attachment.sh>


More information about the Users mailing list