Xymon Mailing List Archive search

MTIME - File Monitoring

list Rolf Schrittenlocher
Fri, 06 Feb 2009 07:55:24 +0100
Message-Id: <user-062fea3b5e4c@xymon.invalid>

Hi,

maybe  you want to add MD5 to your file section?
FILE /etc/passwd MD5=<value from md5 /etc/passwd>
This covers every change

greetings
Rolf Schrittenlocher
So Ive solved my own problem...

For some reason, the order in whchi you specify tags in the 
hobbit-client.cfg matters....

My original line was as follows:

FILE /etc/passwd TYPE=file OWNER=0 GROUP=0 MODE=644 MTIME>360 red

The one that works is

FILE /etc/passwd TYPE=file MODE=644 MTIME>360 OWNER=0 GROUP=0 red

The only change was putting the OWNER and GROUP attributes at the 
end...once there it worked like a charm..

Can anybody explain this?
-- 
Mit freundlichen Gruessen
Rolf Schrittenlocher

Bitte beachten Sie die neue Emailadresse!

HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (XX) XX - XXX XXXXX   Fax: (XX) XX XXX XXXXX
LBS: user-1e39a1813094@xymon.invalid
Persoenlich: user-ea9d95bffcf0@xymon.invalid