[Xymon] Run Single Test
John Tullis
john at executech.com
Mon Mar 30 15:58:32 CEST 2015
If I want to fire off an update of a test for a single host, what in this command am I missing?
This is what I've tried so far:
bbcmd bbtest-net domain.org.dnsreg
bbcmd bbtest-net domain.org dnsreg
It doesn't update and I can't seem to figure out any better command to run to get it to run.
Thanks,
John Tullis
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Tullis
Sent: Thursday, March 26, 2015 11:47 AM
To: John Thurston; xymon at xymon.com
Subject: Re: [Xymon] Run Single Test
Cool! So my hosts file would look something like this?
0.0.0.0 domain1.com # NOCONN dnsreg:10
0.0.0.0 domain2.com # NOCONN dnsreg:11
0.0.0.0 domain3.com # NOCONN dnsreg:12
0.0.0.0 domain4.com # NOCONN dnsreg:16
0.0.0.0 domain5.com # NOCONN dnsreg:20
John Tullis
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Thursday, March 26, 2015 11:33 AM
To: xymon at xymon.com
Subject: Re: [Xymon] Run Single Test
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
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
_______________________________________________
Xymon mailing list
Xymon at xymon.com
http://lists.xymon.com/mailman/listinfo/xymon
More information about the Xymon
mailing list