Xymon Mailing List Archive search

files check in Hobbit

list Henrik Størner
Wed, 13 Sep 2006 12:53:46 +0200
Message-Id: <user-9981616d0b35@xymon.invalid>

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