Xymon Mailing List Archive search

Need help with NOEXIST for a directory

list Jeremy Laidman
Fri, 01 Nov 2024 16:23:53 +1100
Message-Id: <CACO=user-771262582d93@xymon.invalid>

LOL, "elegant hack" - you give me too much credit, describing it as elegant!
On my system: /usr/libexec/xymon-client:/bin:/usr/bin:/sbin:/usr/sbin:/etc

which is the same path if I run "xymoncmd --env=/path/to/xymon-client/etc/xymonclient.cfg"

I actually want the /run/log/journal directory^W file to NOT exist.  But
that's a small edit.  ;-)

Once the [file:dirname] entry is created for the dir, you will get an alert if it doesn't exist, unless you add NOEXIST (in analysis.cfg), which reverses the test result so you get an alert if it does exist.

J