[Xymon] Test for file "noexist?"
Elizabeth Schwartz
betsy.schwartz at gmail.com
Wed Oct 12 17:32:39 CEST 2011
Still hoping to get this working, any thoughts? thanks Betsy
On Sun, Oct 2, 2011 at 6:07 PM, Elizabeth Schwartz
<betsy.schwartz at gmail.com> wrote:
> I am having trouble getting xymon to recognize the "noexist" flag. I
> am getting the file OK but the test is always GREEN.
> When the file exists, the test is OK, file exists
> When I remove the file, the test stays green but clicking on the filename gives
> [file:/home/xymon/TESTOK]
> ERROR: No such file or directory
>
> The file is in my client-local test and is picked up OK:
>
> [netmon2.example.com]
> file:/home/xymon/TESTOK:1024
>
> And I have this in analysis.cfg:
> # FILE /home/xymon/TESTOK yellow noexist
> # FILE /home/xymon/TESTOK noexist yellow
> FILE /home/xymon/TESTOK YELLOW NOEXIST
>
> Before I go through every possible permutation, please, what is the
> right invocation? I want this test to return yellow if the file EXISTS
>
> thanks Betsy
>
More information about the Xymon
mailing list