[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] monitor a series of files for absolute size (alert & trending)



you are absolutely correct, Henrik. corrected the RE and the alerts were
triggered. can't wait to have track rrd working as well..

On 8/4/06, Henrik Stoerner <henrik (at) hswn.dk> wrote:

On Fri, Aug 04, 2006 at 11:58:12AM -0400, Jerry Yu wrote:

> >Your regex is wrong. "*" by itself doesn't do what you want;
> >it must be ".*". So it should be
> >
> >FILE %^/backup/.*full.*cmp.* size<1G mtime<86400 track=fullDbDump
>> hmm, I suspected that. however, the file is now listed under
'files'.  I

> guess that's not enough?

It goes on the "files" display as soon as the client reports anything
about it. However, to apply any kind of action to the file data it
must be recognized by hobbit-clients.cfg. That includes size checks and
tracking, which is why your size check doesn't trigger and the RRD file
doesn't exist.


Regards, Henrik


To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe (at) hswn.dk