<div dir="ltr">The dnsreg script runs server-side, so should go into server/ext/.<div><br></div><div>The answer to most "can I..." questions is "yes, it's open source".  ;-)  Seriously though, you can certainly do an HTTP check daily if you like, from an ext script, and setting the lifetime on your status messages to 24 hours so as to prevent purples after 5 minutes.  Something like this, listed in tasks.cfg (or tasks.d/somefile.cfg) to run every day or whatever you need:</div>

<div><br></div><div>#!/bin/sh</div><div>LIFETIME=24h</div><div>SITES="<a href="http://www.moo.com/this/that">http://www.moo.com/this/that</a> <a href="https://www.example.net/">https://www.example.net/</a> ..."</div>

<div>FAILSITES=""; OKSITES=""</div><div>for SITE IN $SITES; do<br></div><div>    wget $SITE && OKSITES="$OKSITES $SITE" || FAILSITES="$FAILSITES $SITE"</div><div>done</div>
<div>
if [ "$FAILSITES" ]; then</div><div>    $XYMON status+24h "$HOSTNAME.webchecks red `date` - failed one or more web checks</div><div>These sites FAILED: $FAILSITES</div><div>These sites OK: $OKSITES"</div>

<div>else</div><div><div>    $XYMON status+$LIFETIME "$HOSTNAME.webchecks green `date` - all web checks OK</div></div><div>Sites tested: $OKSITES"</div><div>fi</div><div><br></div><div>This lumps all tests into one status - adjust the "webchecks" hostname accordingly if you want.</div>

<div><br></div><div>If you need to do per-site timing to go into RRD, it's a bit more complicated but doable using the NCV technique.</div><div><br></div><div>If you're asking if you can do this kind of thing with the built-in net checks, then I would think it's possible somehow, but you'd need to do something a bit more fancy.  I'm thinking that you'd need to setup an alternative instance of xymonnet using "--test-untagged" and "--validity" flags and the XYMONNETWORK variable, and tagging hosts.cfg entries with NET:location.  See the man page for xymonnet for more on this.</div>

<div><br></div><div>J</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 June 2013 04:32, David Hay-Currie <span dir="ltr"><<a href="mailto:dhaycurrie@leisurefitness.com" target="_blank">dhaycurrie@leisurefitness.com</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-US" link="#0563C1" vlink="#954F72"><div><p class="MsoNormal">We have a web server that has 7 web sites running, and about 100 domains. Most of the domains are in the same web site.<u></u><u></u></p>

<p class="MsoNormal">Currently I have listed the most of the important sites, and I am trying to also get dnsreg (more on that later).<u></u><u></u></p><p class="MsoNormal">What I would like to do, is run http check on these sites once a day, and not every day. Is it possible? Without changing the default http setting? (the top critical sites I want to check on default schedule)<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">While I am on the domain topic, I recently moved the server from hobbit to xymon, but the package deleted most of the hobbit folders automatically and I don’t remember exactly which folders I had to put the dnsreg check. I though it was a server/ext but it is possible it is %XYMONHOME/client/ext?<u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:ver;color:#004080">David Hay-Currie</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p>

<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:ver;color:#004080">IT Manager</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p><p class="MsoNormal">

<b><span style="font-size:10.0pt;font-family:ver;color:#004080">Leisure Fitness Equipment LLC</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p><p class="MsoNormal">

<b><span style="font-size:10.0pt;font-family:ver;color:#004080">231 Executive Dr. Suite 15</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p><p class="MsoNormal">

<b><span style="font-size:10.0pt;font-family:ver;color:#004080">Newark, DE 19702</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p><p class="MsoNormal">

<b><span style="font-size:10.0pt;font-family:ver;color:#004080">Phone: (302) 224-5018</span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u><u></u></span></p><p class="MsoNormal">

<a href="http://www.leisurefitness.com/?referrer=dhaycurrie" title=""Click on the Logo to visit the web page" " target="_blank"><span style="font-family:"Times New Roman","serif";color:windowtext;text-decoration:none"><img border="0" width="149" height="48" src="cid:image001.png@01CE7277.BB8EDDA0" alt="http://www.leisurefitness.com/images/LF_4C_Logosig.png?referrer=dhaycurrie"></span></a><u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p></div></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>