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

Re: [xymon] Directory permissions



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