[Xymon] How many times does xymonnet retry?
Ribeiro, Glauber
glauber.ribeiro at experian.com
Fri Jan 8 20:59:45 CET 2016
Q: Is the number of retires significant in your business case?
A: Not really, I was just trying to understand how this works to see if it would provide precedent for one of our custom tests, which we are adding retries to.
I think I have a good idea how the retries work now. When a test fails, xymonnet writes information to a text file.
Xymonnet-again is a simple script, which is kicked off once a minute, to look for that text file - if it's present, it feeds it into xymonnet. The file (frequenttests) is simply the command line options for the xymonnet run, including the names of the hosts that had failed tests (but not which tests failed).
So theoretically, things could be retried up to 30 times.
-----Original Message-----
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of John Thurston
Sent: Friday, January 08, 2016 12:41
To: xymon at xymon.com
Subject: Re: [Xymon] How many times does xymonnet retry?
On 1/8/2016 9:04 AM, Ribeiro, Glauber wrote:
> Thanks, I got that, so there is no set number of repetitions? I.e. it will keep trying for 30 minutes?
I see no reference to the _number_ of retries, only to the _duration_ of
the effort.
The number of retries will depend on how frequently the attempt is made
and how long each attempt takes to fail. The first is probably
controlled in code (and may be configurable at run time). The second is
dependent on the protocol being tested, the behavior of the network, and
the form of the failure.
An ICMP test, for example, may reliably fail and timeout in 4 seconds.
An SSH test (also handled by xymonnet) may fail in 4 seconds when it
can't initiate a TCP connection. It may also be able to linger on for
several minutes if a TCP connection can be established but not maintained.
Is the number of retires significant in your business case?
--
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
More information about the Xymon
mailing list