files check in Hobbit
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