Xymon Mailing List Archive search

Need help with NOEXIST for a directory

list Tom Schmidt
Tue, 29 Oct 2024 17:04:55 -0600
Message-Id: <CAP7YgkwWyrfLJz9xuNbmo99Tf3g2UUvkm=user-d043b77fe225@xymon.invalid>

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@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com