Actually, I have to correct myself...it's flapping and now I need to figure out why since that is a different problem. To your point, Paul, that is essentially exactly what I have (obviously with different paths). I suspect now it has to do with 'fetch'.
For example, in client-local.cfg:
file:find /var/lib/systemd/coredump/ -maxdepth 1 -type f
and analysis.cfg FILE %/var/lib/systemd/coredump/core.* red NOEXIST
I may eventually change that to yellow but I just added a new app to the systems and it was supposed to behave :-).
=G=
On Mon, Oct 15, 2018 at 3:47 PM Root, Paul T <Paul.Root at centurylink.com> wrote:
I do this, but just go yellow, because that’s what we need.
client-local.cfg:file:
ls /core.*analysis.cfg: FILE %^/core.* YELLOW NOEXIST
*From:* Xymon <xymon-bounces at xymon.com> *On Behalf Of *Galen Johnson *Sent:* Monday, October 15, 2018 2:34 PM *To:* xymon >> xymon at xymon.com <xymon at xymon.com> *Subject:* [Xymon] odd "failure" for file exists
Ok...this is weird. I have Xymon triggering when a file (coredump) exists but it only turns red when a new file shows up...it should remain red until the files are cleaned up. After the next update cycle it goes green yet the page shows that it sees the files. Any thoughts on this behavior? I have another "file exists" test that is behaving as expected (at least I think it is).
thanks
=G= This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.