[hobbit] files check in Hobbit

Henrik Stoerner henrik at hswn.dk
Wed Sep 13 12:53:46 CEST 2006


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




More information about the Xymon mailing list