[Xymon] Run Single Test

John Thurston john.thurston at alaska.gov
Thu Mar 26 18:32:56 CET 2015


On 3/26/2015 9:17 AM, John Tullis wrote:
> I’m currently running the DNSREG script. I’m querying over 250 domains
> and toward the end, the whois server blocks me so all of the domains
> after that point report red. I’m trying to figure out a way to fix that.
> It’s set to run every 24 hours.
>
> 1) Is there a way to set it to check 50 domains every four hours or so
> instead of running all of them at midnight.

It wouldn't be hard to make your 'tag' be of the form:
   "dnsreg:[hour]"

You could then bbhostgrep for the tag, and only query those hosts whose 
tagged hour aligns with the current hour. You could then schedule your 
job to run every hour and control the query rate by editing the bb-hosts 
file.

-- 
    Do things because you should, not just because you can.

John Thurston    907-465-8591
John.Thurston at alaska.gov
Enterprise Technology Services
Department of Administration
State of Alaska



More information about the Xymon mailing list