In <user-471aec82f6f5@xymon.invalid> Rolf Schrittenlocher <user-ea9d95bffcf0@xymon.invalid> 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