Looking at the source code, the NOEXIST option is only available for file testing, not directory testing.  You could make a request to add that feature.

The other option is to make your own simple external script that monitors for the non-existence of the directory.

Tom

On Tue, Oct 29, 2024 at 7:53 AM Grant Taylor via Xymon <xymon@xymon.com> wrote:
Hi,

I need some help getting NOEXIST to work for a directory.

I want to make sure that the /run/log/journal directory doesn't exist.

I see the NOEXIST option, but it seems to be for a FILE and I'm not sure
what FILE semantics also apply to DIR.  Thus far I've not been able to
get it to work correctly.



--
Grant. . . .
unix || die
_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com