2 Jul
2015
2 Jul
'15
1 p.m.
On Wed, Jul 1, 2015 at 9:54 PM, Jeremy Laidman <jlaidman at rebel-it.com.au> wrote:
In the mean time, you could use "FILE" (in analysis.cfg) to check for the existence of a file, and use a backtick command (in client-local.cfg) to specify the filename only if it's a symlink. Example:
analysis.cfg:
FILE /etc/.sudoers.local red
client-local.cfg:
file:
find /etc/.sudoers.local -type lIf the file is a symlink, it will exist. If it's not a symlink, the Xymon client won't see it, and you'll get a RED as if it didn't exist.
Thanks! Test is successful.