AW: Re: [hobbit] files check in Hobbit
Torsten Richter
bb4 at richter-it.net
Wed Sep 13 16:23:50 CEST 2006
Hi Henrik,
thanks for the answer.
That was the problem. I was suffering from the usual admin problem that there was more blood than coffee running through my veins. :-/
Can I also do something like
FILE /some/filename yellow SIZE<50M SIZE>10M
when the file should be between 10 and 50 MB?
Regards
Torsten
>On Wed, Sep 13, 2006 at 10:43:02AM +0200, Torsten Richter wrote:
>
>> I want to check if /var/adm/wtmpx is smaller than 50 MB.
>> I've added
>> FILE yellow /var/adm/wtmpx SIZE<50M TRACK=wtmp
>
>According to the man-page:
>
> FILE filename [color] [things to check] [TRACK]
>
>so it should be
>
> FILE /var/adm/wtmpx yellow SIZE<50M TRACK=wtmp
>
>(your example is a definition for a file called "yellow".
>
>
>Regards,
>Henrik
>
>
>To unsubscribe from the hobbit list, send an e-mail to
>hobbit-unsubscribe at hswn.dk
>
>
More information about the Xymon
mailing list