I don't think that's possible with Xymon right now, but it can be done if you're up to a little scripting.  I had an aging, single 733MHz cpu DL380 running web page checkouts on 400+ hosts, generating around 2700 reports, running at various intervals from 30 seconds to 24 hours.<br>
<br>The trick is to use cron for scheduling...<br><br>Something like this, for instance:<br><br>============= cut here ============<br>#!/bin/sh<br><br>TESTHOST=<a href="http://www.google.com/" target="_blank">www.google.com</a><br>
TESTURL=http://$TESTHOST/<br><br>TIMEOUT=30<br><br># Grab *just* the headers, simulating Xymon's builtin http check<br>
MESSAGE=`curl -m $TIMEOUT \<br>     -w 'Seconds:     %{time_total}\n' \<br>
     -s -S -L -I $TESTURL | $GREP -v Set-Cookie`<div class="Ih2E3d"><br>if [ "$?" -eq "0" ]; then<br>  COLOR=green<br></div>else<br>  COLOR=red<br>fi<br><br># convert dots to commas in the hostname<br>
MACHINE=`echo $TESTHOST | $SED -e 's/\./\,/g'<br>
<br>$BB $BBDISP "status $MACHINE.home $COLOR `date`<br><br>$MESSAGE"<br>============= cut here ============<br><br>You'd run that from xymon's crontab using a command line like:<br><br>     $HOME/server/bin/bbcmd $HOME/ping-google.sh > /tmp/ping-google.out 2>&1<br>
<br>at whatever interval is appropriate for the target.<br><br>Ralph Mitchell<br><br><br><div class="gmail_quote">On Thu, Feb 5, 2009 at 11:25 AM, David Paper <span dir="ltr"><<a href="mailto:hobbit@ginch.org">hobbit@ginch.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Greetings hobbit gurus [0],<br>
<br>
While I am still trying to search my way to an answer via the archives of this list and google, I'm hoping someone could point me in the right direction.<br>
<br>
I've got a bb-hosts file with 8 server process instances getting tested.  Each instance gets tested with 3 HTTP requests (2 GET, 1 POST).  All 8 server processes live on the same physical OS instance.  This results in 24 HTTP requests getting sent from hobbit within 1/100th of a second.  This causes the load on the host to spike, and generates contention w/in each server to satisfy the requests.  This same setup is repeated for hundreds of hosts and hundreds of processes.<br>

<br>
Is there a way to tell hobbit to take all of the entries in bb-hosts and test them in a random order w/in the 1 minute testing interval?  This would end up staggering the arrival of each HTTP test somewhat and lessen contention within each HTTP server and on each host.<br>

<br>
Thanks,<br>
<br>
-dave<br>
<br>
[0] Of which I am not, but ... maybe one day.<br>
<br>
--<br>
Dave Paper<br>
<br>
MCSE is to computers as McDonalds Certified Chef is to fine cuisine.<br>
<br>
<br>
<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
<a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br>
<br>
<br>
</blockquote></div><br>