[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xymon] Directory permissions



 Thank you, Henrik, and once more: Thank you for this great tool Xymon,

kind regards
rolf
In<4CAF25F3.6090607 (at) hebis.uni-frankfurt.de>  Rolf Schrittenlocher<schritte (at) hebis.uni-frankfurt.de>  writes:

I've been searching in the archive and man pages but didn't find
anything. Is there a built-in feature in xymon to check the permissions
of a directory? I've found directory size and file permissions (using
md5 ...), but directory permissions? Just curious, I know it is easy to
make a custom script for that purpose,

Directory are also files. So this should check that /my/directory
on host "myhost" is rwxr-xr-x (mode 755):

In client-local.cfg
    [myhost]
    file:/my/directory

In hobbit-clients.cfg:
    HOST=myhost
       FILE /my/directory mode=755


Regards,
Henrik


To unsubscribe from the xymon list, send an e-mail to
xymon-unsubscribe (at) xymon.com





--
Mit freundlichen Gruessen
Rolf Schrittenlocher

HeBIS-IT, Senckenberganlage 31, 60054 Frankfurt
Tel: (49) 69 - 798 28908   Fax: (49) 69 798 28817
LBS: lbs-f (at) mlist.uni-frankfurt.de
Persoenlich: schritte (at) hebis.uni-frankfurt.de