You probably have a log file somewhere.  In Tim's example, it defined like this:<div><br></div><div><div>         LOGFILE $HOBBITCLIENTHOME/logs/na2.log</div><div><br></div><div>If the log doesn't show anything interesting, you should be able to *make* it show something interesting.  For example, a "set -x" at the top of the script will show you exactly what it does.</div>
<div><br></div><div>You can also execute the script manually as if it were Xymon executing it, using the bbcmd command.</div><div><br></div><div>Ralph Mitchell</div><div><br></div><br><div class="gmail_quote">On Wed, Dec 22, 2010 at 5:54 PM, Ryan Novosielski <span dir="ltr"><<a href="mailto:novosirj@umdnj.edu">novosirj@umdnj.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div><div><div></div><div class="h5">On 12/22/2010 05:43 PM, Tim McCloskey wrote:<br>
> The clientlaunch.cfg is in the client's etc dir, not the server etc dir.  Logs / tmp files will be under the client dir too.<br>
><br>
> Example, on a hobbit server there are both $hobbithome/{server,client} dirs.<br>
><br>
> client/ext/na2.sh<br>
><br>
> [client/etc] tail clientlaunch.cfg<br>
><br>
> [NA2CPU]<br>
>         ENVFILE $HOBBITCLIENTHOME/etc/hobbitclient.cfg<br>
>         CMD $HOBBITCLIENTHOME/ext/na2.sh<br>
>         LOGFILE $HOBBITCLIENTHOME/logs/na2.log<br>
>         INTERVAL 2m<br>
<br>
</div></div>Yes, that much I knew. OK, so I've taken another look at this. It looks<br>
as if the external client scripts ARE running, but the data doesn't go<br>
anywhere and there are no ghost clients. I've also checked what I<br>
believe are all of the places that the port and server address are<br>
defined to make sure this isn't all going someplace else.<br>
<br>
One of my external scripts, for example, is a vmio script. You can see<br>
it is running the commands needed to accomplish that:<br>
<br>
   xymon  4976  4973  0 17:50:09 ?        0:00 vmstat 300 2<br>
   xymon  4978  4975  0 17:50:09 ?        0:00 iostat -dxsrP 300 2<br>
<br>
...however, about 6 months ago, these tests turned purple (to me, what<br>
seems like by magic). The other external scripts (one that gets<br>
temperature and one that does metastat for the SW raid) run too quickly<br>
for me to tell what their story is, but they do not write anything to<br>
the client log directory.<br>
<br>
Anyone have any idea how to troubleshoot this?<br>
<div class="im"><br>
- --<br>
- ---- _  _ _  _ ___  _  _  _<br>
|Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Sr. Systems Programmer<br>
|$&| |__| |  | |__/ | \| _| |<a href="mailto:novosirj@umdnj.edu">novosirj@umdnj.edu</a> - 973/972.0922 (2-0922)<br>
\__/ Univ. of Med. and Dent.|IST/CST-Academic Svcs. - ADMC 450, Newark<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org/" target="_blank">http://enigmail.mozdev.org/</a><br>
<br>
</div>iEYEARECAAYFAk0SgcAACgkQmb+gadEcsb4AMgCfcebR4VMSStbvrzA3JZpF6wzB<br>
6DcAnA5yA1redutitZN8AYnOtldWY5lZ<br>
=wP+T<br>
-----END PGP SIGNATURE-----<br>
<br>
<br>To unsubscribe from the xymon list, send an e-mail to<br>
<a href="mailto:xymon-unsubscribe@xymon.com">xymon-unsubscribe@xymon.com</a><br>
<br></blockquote></div><br></div>