<p>Sounds like there's an empty variable in a test expression. Something like:</p>
<p>        if [ $x = $y ]; then<br>
             ......<br>
        fi</p>
<p>where either $x or $y is not set.  If those variables were put in double-quotes, at least you'd get an empty string.</p>
<p>Ralph Mitchell<br>
</p>
<div class="gmail_quote">On Sep 27, 2012 10:59 AM, "Kevin King" <<a href="mailto:kc6ovd@gmail.com">kc6ovd@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to get your script  (xymon-rclient.sh) running on my xymon and have hit some issue that must have something to do with my environment.<div><br></div><div><div>Wednesday, September 26, 2012 03:25:55 PM CDT: starting //usr/local/xymon/server/ext/xymon-rclient.sh</div>

<div>//usr/local/xymon/server/ext/xymon-rclient.sh: trap: bad trap</div><div>Wednesday, September 26, 2012 03:25:55 PM CDT: finished //usr/local/xymon/server/ext/xymon-rclient.sh (completed 0 out of 0)</div></div><div><br>

</div><div>I have ssh keys all setup and I can ssh to the client no problem. So I set the debug option them get this:</div><div><br></div><div>//usr/local/xymon/server/ext/xymon-rclient.sh: test: argument expected</div><div>

<br></div><div><br></div><div><br></div><div>the xymon server is solaris 10. and I am running xymon 4.3.10</div><div><br></div><div>-Kevin </div>
<br>_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
<br></blockquote></div>