Xymon seems like a LOT of overhead for a simple ping test.<div><br></div><div>What about something like bash?</div><div><br></div><div>while true; do</div><div>  until ping -c1 -W2 192.168.1.1 &>/dev/null; do</div><div>

    sleep 3</div><div>  done</div><div><br></div><div>echo "ping success"</div><div class="gmail_extra"><br clear="all">Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>

Troy, OH 45373<br>
<br><br><div class="gmail_quote">On Mon, Nov 26, 2012 at 9:44 PM, James <span dir="ltr"><<a href="mailto:kfc.android@gmail.com" target="_blank">kfc.android@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Thanks for the prompt reply guys, really appreciate that.<div>The reason why I want to modify Xymon is because I'm working on a small class project</div><div>which only need a simple networking-related function (in my case: ping) with minimal size of code.</div>


<div><br></div><div>I understand Xymon is powerful and runs fast in most of cases, but the best case is to make </div><div>some minor changes based on Xymon simply because I can't just take Xymon and turn it in as my project.</div>


<div><br></div><div>My optimal goal is: to use minimal amount of code to perform a ping test, but keep the framework and</div><div>style of Xymon. (Now I'm reading Xymonping.c file under /xymonnet folder)</div><div><br>


</div><div>Anyone has idea about how I can achieve this goal? Any opinion will be greatly appreciated!<br></div><div>Thanks again!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>James</div>
</font></span><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>