<div>Dennis</div><div><br></div>The "NEEDS" is not required, so perhaps best to remove it until you start to get something.<div><br></div><div>The addition of the service name in the client's hosts.cfg is also not needed (unless you are using xymongrep in your script to determine which hosts to test); but it can't hurt.</div>

<div><br></div><div>You need to be sure that the script is running.  First, set the interval to 10 seconds (so you're not waiting around for something to happen), then add something near the top of the script like "touch /tmp/testfile", and see of the file gets created or timestamp updated.</div>

<div><br></div><div>Also check the xymonlaunch.log file to be sure that the change to tasks.cfg has been detected by xymonlaunch.</div><div><br></div><div>It might help if you can show us the script you're using.</div>

<div><br></div><div>Cheers</div><div>Jeremy<br><br><div class="gmail_quote">On Thu, Apr 5, 2012 at 11:41 AM, Dennis W <span dir="ltr"><<a href="mailto:dennisw@agd.gov.au">dennisw@agd.gov.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div lang="EN-AU" link="blue" vlink="purple">
<p><font face="Arial Unicode MS" color="Black">UNCLASSIFIED</font><font face="Tahoma" color="Black">//</font></p>
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have  a custom script running on my XYMON server. The following link shows the basic setup<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><a href="http://www.xymon.com/xymon/help/xymon-tips.html#scripts" target="_blank">http://www.xymon.com/xymon/help/xymon-tips.html#scripts</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">As seen the server side script is essentially the same with the exception that I run a python script that returns a COLOR and RESULT. With a few slight modifications I can run this script from /ext and it echo’s the correct
 results. So far so good.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Additionally, as I am running XYMON 4.3. I added a new section to the tasks.cfg file along with a NEEDS xymond that is not included in the [myscript] example from the attached link.<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I updated the hosts.cfg file and added the new service against the IP address and name of a client server. NOT my monitoring server.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">When I restart XYMON all seems to be running successfully. The Log file does not report any errors and as I said before with a few slight mods I can echo the correct results to the screen.<u></u><u></u></span></p>


<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">The issue I am having is that even though all appears to be doing its job the new column does not appear on my monitoring page. Any ideas?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Would appreciate the guidance.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
Dennis<u></u><u></u></span></p>
</div>
<p><font face="Arial Unicode MS" color="Black">UNCLASSIFIED</font><font face="Tahoma" color="Black">//</font></p>
<br>
<hr>
<font face="Arial" color="Black">If you have received this transmission in error please notify us immediately by return e-mail and delete all copies. If this e-mail or any attachments have been sent to you in error, that error does not constitute waiver
 of any confidentiality, privilege or copyright in respect of information in the e-mail or attachments.<br>
</font><br>
<hr>
<font face="Arial" color="Gray" size="1"></font>
</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><br></div>