<div dir='auto'>There is a `--filter=REGEX` for xymond_channel.<div dir="auto">Never used it myself but I'm curious if it works ...</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Apr 18, 2019 12:55, Neil Simmonds <neilsimmonds1808@gmail.com> wrote:<br type="attribution" /><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><p><span style="font-size:10pt;font-family:'arial' , sans-serif">I’m running 6 scripts from tasks.cfg as the following,</span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif"> </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">CMD xymond_channel --channel=client --log=$XYMONSERVERLOGS/script.log $XYMONHOME/ext/script.sh</span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif"> </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">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. </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif"> </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">These scripts process that data and do the alerting sending the data to a specific host.test on Xymon. </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif"> </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">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?</span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif"> </span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">Regards,</span></p><p><span style="font-size:10pt;font-family:'arial' , sans-serif">Neil Simmonds</span></p></div></div></blockquote></div><br></div>