[hobbit] using hobbit to monitor the number of files

Henrik Stoerner henrik at hswn.dk
Sat Feb 3 17:09:15 CET 2007


On Fri, Feb 02, 2007 at 03:17:07PM -0800, Dan Simoes wrote:
> Say, in a mail or print spool.  I know hobbit can check the age or existence
> of a file, but how about the number of files in a dir?

Why didn't I think of that when I wrote the client code? You can check
on the disk space a given directory occupies, but not the count of
files.

As you say, it should be trivial to implement. Hobbit already has the
mechanism in place to "count" lines in a logfile, so adding
file-counting should be a no-brainer.


Regards,
Henrik




More information about the Xymon mailing list