Xymon Mailing List Archive search

xymond_channel

list Thomas Eckert
Thu, 18 Apr 2019 13:53:35 +0200
Message-Id: <user-ab3bbcd2e1fe@xymon.invalid>

I'd just `cat` one or two testcycles with
xymoncmd xymond_channel=client cat -

Search the output for my host(s) and craft a regex from that.

You can test with the added filter-option with that too.

On Apr 18, 2019 13:39, Neil Simmonds wrote:

I did try it but can’t find any examples so am not sure how to make it work. The attempts I made stopped the script working but no errors were genrated


From: Thomas Eckert
Sent: 18 April 2019 12:01
To: Neil Simmonds
Cc: xymon@xymon.com
Subject: Re: [Xymon] xymond_channel


There is a `--filter=REGEX` for xymond_channel.

Never used it myself but I'm curious if it works ...


On Apr 18, 2019 12:55, Neil Simmonds <user-feff97fabd3d@xymon.invalid> wrote:

I’m running 6 scripts from tasks.cfg as the following,


CMD xymond_channel --channel=client --log=$XYMONSERVERLOGS/script.log $XYMONHOME/ext/script.sh


The reason for doing this is that we have some custom monitors written on a mainframe but they just send data as part of the general Xymon data and Xymon doesn’t understand the data so ignores it.


These scripts process that data and do the alerting sending the data to a specific host.test on Xymon.


These scripts have been observed to use quite a bit of CPU and I assume that is due to them reading all client data. Is there a way to narrow it down so it will only read data coming from a specific host?


Regards,

Neil Simmonds