force specific hosts test to always green
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180607/4616aa82/attachment.html>
On 8 June 2018 at 13:27, Kris Springer <kspringer at innovateteam.com> wrote:
How do I define a specific hosts test to always report green? Is it defined in hosts.cfg? The particular test is an external client script that I could edit to force it always green, but I'd like to control it from the server instead.
I can see two ways to do this (apart from "hack the code"):
use "delayred=STATUSCOLUMN:DELAY" with a really big delay
create a "status" channel consumer that catches the status message from the host and then sets the colour with a xymon "modify" message
The latter option might not work, because I suspect that "modify" can only make a colour appear worse, not better. I true, the status message could be extracted and re-injected in entirety, with the colour changed to green.
J
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180608/f20919b5/attachment.html>
Hello Kris,
in analysis.cfg you can set "color=green".
regards,
christian
On Thu, Jun 07, 2018 at 08:27:10PM -0700, Kris Springer wrote:
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20180608/7768e997/attachment.html>
participants (3)
-
christian.hettler@asknet.de
-
jeremy@laidman.org
-
kspringer@innovateteam.com