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
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20190418/322d8526/attachment.html>
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 <tom at it-eckert.de> Sent: 18 April 2019 12:01 To: Neil Simmonds <neilsimmonds1808 at gmail.com> Cc: xymon at 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 <neilsimmonds1808 at gmail.com <mailto:neilsimmonds1808 at gmail.com> > 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
An HTML attachment was scrubbed... URL: <http://lists.xymon.com/pipermail/xymon/attachments/20190418/16a0f51c/attachment.html>
participants (2)
-
neilsimmonds1808@gmail.com
-
tom@it-eckert.de