<div dir="auto">Michael<div dir="auto"><br></div><div dir="auto">It's referring to line 113 of the combined script that gets sent to the client. This is composed of the original xymonclient-<os>.sh script, plus any rlocal scripts, plus some wrapper scripting.</div><div dir="auto"><br></div><div dir="auto">If you manually run xymon-rclient with the -Y switch, it will dump the combined script to the terminal. This might give you what you need to find the offending line. Perhaps the best thing to do would be to capture the output into a file and then manually run the file on the target host, debugging it outside of the constraints of the rclient environment.</div><div dir="auto"><br></div><div dir="auto">The rclient script hasn't been updated in a while and hasn't been widely tested with newer versions of OSes. But I'm keen to update it, if we can find what the trouble is. To be honest, rclient was always a bit of a hack, and I continue to be surprised at how well it works for so many different installations.</div><div dir="auto"><br></div><div dir="auto">Cheers</div><div dir="auto">Jeremy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 3 July 2022, 22:48 Michael Resnick via Xymon, <<a href="mailto:xymon@xymon.com">xymon@xymon.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><br><br>---------- Forwarded message ----------<br>From: Michael Resnick <<a href="mailto:sys1002@yahoo.com" target="_blank" rel="noreferrer">sys1002@yahoo.com</a>><br>To: "<a href="mailto:xymon@xymon.com" target="_blank" rel="noreferrer">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank" rel="noreferrer">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Sun, 3 Jul 2022 12:18:01 +0000 (UTC)<br>Subject: rclient issues on Centos8 and rocky linux<br><div><div style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:16px"><div dir="ltr">I am a long time user of xymon, and this is the first issue I have been unable to resolve with rclient.</div><div dir="ltr"><br></div><div dir="ltr">I have a one way DMZ, and I am using rclient to to monitor some linux servers on it.</div><div dir="ltr"><br></div><div dir="ltr">I am getting this in the   xymon-rclient.log  for centos 8 ( stream ) and rocky linux latest: using -d 5 in tasks.cfg for debugging</div><div dir="ltr"><br></div><div dir="ltr"><div><div>Command: ssh -T <a href="mailto:root@10.0.198.101" target="_blank" rel="noreferrer">root@10.0.198.101</a></div><div>tick 1/60</div><div>/bin/sh: line 113: syntax error near unexpected token `)'</div><div>/bin/sh: line 113: `)'</div><div>tick 2/60</div><div>...</div><div dir="ltr"> <div><div>tick 60/60</div><div>command timed out after 60 seconds</div><div>UID          PID    PPID  C STIME TTY          TIME CMD</div><div>xymon    2206085 2205824  0 14:57 ?        00:00:00 sed 1,/---START---/d;$a[endmarker]\ndummy entry</div><div>Received 486 lines of client data</div><div><br></div></div>and then I can see the client data.</div><div dir="ltr"><br></div><div dir="ltr">I tested on ubuntu 18.04 and it works fine.</div><div dir="ltr"><br></div><div dir="ltr">I do not see anything relevant on line 113 of either the <div><div>xymon-rclient.sh</div><div dir="ltr">or the <span>xymonclient-linux.sh ( has only 102 lines ) </span></div></div><div dir="ltr"><span><br></span></div><div dir="ltr"><span>using latest xymon server from rpms on centos8.</span></div></div><div dir="ltr"><br></div><div dir="ltr">Any suggestions appreciated.</div><div dir="ltr"><br></div><div dir="ltr">Michael Resnick</div><div><br></div></div><br><div><div><br></div></div></div></div></div><br><br><br>---------- Forwarded message ----------<br>From: Michael Resnick via Xymon <<a href="mailto:xymon@xymon.com" target="_blank" rel="noreferrer">xymon@xymon.com</a>><br>To: "<a href="mailto:xymon@xymon.com" target="_blank" rel="noreferrer">xymon@xymon.com</a>" <<a href="mailto:xymon@xymon.com" target="_blank" rel="noreferrer">xymon@xymon.com</a>><br>Cc: <br>Bcc: <br>Date: Sun, 3 Jul 2022 12:18:01 +0000 (UTC)<br>Subject: [Xymon] rclient issues on Centos8 and rocky linux<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank" rel="noreferrer">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>