Xymon Mailing List Archive search

Need help with NOEXIST for a directory

list Grant Taylor
Tue, 29 Oct 2024 18:55:10 -0500
Message-Id: <user-0e75cc121fd8@xymon.invalid>

On 10/29/24 6:04 PM, Tom Schmidt wrote:
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.
Thank you for clarifying and confirming what I thought might be the case.  :-)
The other option is to make your own simple external script that monitors for the non-existence of the directory.
I've used a dir:`COMMAND` in the client-local.cfg (from memory) file that looks for the directory and doesn't report it if it's not there and avoids failing if the directory isn't there.  I then have a DIR: ... SIZE<1 in analysis.cfg for the directory in question.


-- 
Grant. . . .
unix || die