<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 1 August 2014 10:45, Root, Paul T <span dir="ltr"><<a href="mailto:Paul.Root@centurylink.com" target="_blank">Paul.Root@centurylink.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Yes. The xymon-rclient script scp’s the proper script from ~/client/bin to the client and runs it.</blockquote>

</div><br>Actually, that's not correct.  It uses "ssh" (or rsh, or whatever you want to give it) to run a shell, then pipes the contents of the xymonclient-freebsd.sh file into the pipe.  Essentially like this:</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">$ cat /usr/lib/xymon/client/bin/xymonclient-freebsd.sh | ssh -T -i path/to/keyfile hostname</div><div class="gmail_extra"><br></div><div class="gmail_extra">and the output is saved into a temporary file to be fed into $XYMON $XYMSRV "@", but prefixed with a "client" message header.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">If you run that "cat ..." command manually it should give you client data as its output.  Try it and see.</div><div class="gmail_extra"><br></div><div class="gmail_extra">

If it works, then xymon-rclient should also work and might have a bug.  If this doesn't work, then we can reproduce the problem outside of xymon-rclient and it will be easier to work on.</div><div class="gmail_extra">

<br></div><div class="gmail_extra">I wonder if it's to do with the shell on the FreeNAS.  If it's a non-standard shell, you might need to force a shell in the ssh parameters, with something like:</div><div class="gmail_extra">

<br></div><div class="gmail_extra">cmd(ssh -T -i /home/xymon/.ssh/xymon-rclient root@%{H} /bin/bash),ostype(freebsd)<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">J</div><div class="gmail_extra"><br>

</div></div>