<div dir="ltr">On 27 February 2013 20:24, Sergey <span dir="ltr"><<a href="mailto:a_s_y@sama.ru" target="_blank">a_s_y@sama.ru</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><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">


1. I need to make some network's tests on client and transfer results<br>
to server. Should I setup client installation or server installation<br>
in this case ?<br></blockquote><div><br></div><div>It depends on the network tests you want to run. šIf they are standard xymonnet checks, such as ssh or dns, then you only need to configure them on the server in hosts.cfg. šCan you tell us what network tests you want to run?</div>


<div>š</div><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">2. I found a bug in packages. xymon and xymon-client packages contains<br>


/usr/libexec/xymon-client/xymonclient.sh with code:<br>
Is this script need always ?<br>
if test "$LOCALMODE" = "yes"; then<br>
š š š š echo "@@" >> $MSGTMPFILE<br>
š š š š /usr/libexec/xymon-client/xymond_client --local <$MSGTMPFILE<br>
else<br></blockquote><div><br></div><div style>I've never run in localmode, so not sure. šBut it would seem that xymond_client binary only exists in the Xymon server package, and not in the Xymon client package. šMy Xymon clients (that aren't servers) don't have xymond_client anywhere. šFrom reading the localclient.cfg file, it would seem that the "--local" option is only for use on Xymon clients that are also Xymon servers.</div>

<div style>š<br></div><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">xymond_client exist in xymon package only and by another path:<br>

</blockquote><div style><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">/usr/libexec/xymon/xymond_client<br>

</blockquote><div><br></div><div style>On my system, the line that calls this in xymonclient.sh is:</div><div style><br></div><div style><div>š š š š $XYMONHOME/bin/xymond_client --local --config=$XYMONHOME/etc/localclient.cfg <$MSGTMPFILE</div>

<div><br></div><div style>I think your package's xymonclient.sh is incorrect, and probably should be using this:</div><div style><br></div><div style>š š š š /usr/libexec/xymon/xymond_client --local <$MSGTMPFILE<br>

</div><div style><br></div></div></div><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">Is this script need always ?</blockquote>

<div><br></div><div style>No, only in "local" mode.</div><div>š</div><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">

 Could this be the cause of problems in the<br>
client ?<br></blockquote><div><br></div><div style>Only if you're running it in local mode, by specifying "--local" in the "[xymonclient]" section of tasks.cfg.</div><div>š</div><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">

3. About package.<br>
xymon package contains xymonclient-*.sh for non linux. All this removed<br>
from xymon-client. Are they forgotten in xymon package or they needed ?<br></blockquote><div><br></div><div style>Nope, they're not needed. šBut they're always there. šIt makes it easy to copy the files to another server and run them. šThe original BB was generally copied around in this way, before packaging became popular, so perhaps this is a legacy of Xymon's origins.</div>

<div style><br></div><div style>J</div><div style><br></div></div></div></div>