[Xymon] xymon-rclient.sh

Ralph Mitchell ralphmitchell at gmail.com
Thu Sep 27 17:12:25 CEST 2012


Sounds like there's an empty variable in a test expression. Something like:

        if [ $x = $y ]; then
             ......
        fi

where either $x or $y is not set.  If those variables were put in
double-quotes, at least you'd get an empty string.

Ralph Mitchell
 On Sep 27, 2012 10:59 AM, "Kevin King" <kc6ovd at gmail.com> wrote:

> 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.
>
> Wednesday, September 26, 2012 03:25:55 PM CDT: starting
> //usr/local/xymon/server/ext/xymon-rclient.sh
> //usr/local/xymon/server/ext/xymon-rclient.sh: trap: bad trap
> Wednesday, September 26, 2012 03:25:55 PM CDT: finished
> //usr/local/xymon/server/ext/xymon-rclient.sh (completed 0 out of 0)
>
> I have ssh keys all setup and I can ssh to the client no problem. So I set
> the debug option them get this:
>
> //usr/local/xymon/server/ext/xymon-rclient.sh: test: argument expected
>
>
>
> the xymon server is solaris 10. and I am running xymon 4.3.10
>
> -Kevin
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120927/b071db18/attachment.html>


More information about the Xymon mailing list