[Nagiosplug-devel] check_ntp

Thomas Guyot-Sionnest Thomas at zango.com
Thu Apr 5 20:03:47 CEST 2007

> -----Original Message-----
> From: nagiosplug-devel-bounces at lists.sourceforge.net 
> [mailto:nagiosplug-devel-bounces at lists.sourceforge.net] On 
> Behalf Of sean finney
> Sent: April 5, 2007 13:12
> To: Nagios Plugin Development Mailing List
> Subject: Re: [Nagiosplug-devel] check_ntp
> On Thu, 2007-04-05 at 09:19 -0700, Thomas Guyot-Sionnest wrote:
> > I haven't really tested it but with the current code I 
> expect any packet
> > drop will cause the plugin to timeout. That's not really what I call
> > retries. So unless you have a suggestion on how to timeout 
> on undeceived
> > packets (ex. Storing the time on the linked list (or 
> whatever else) of #5
> > and somehow stop listening after some timeout, obviously < 
> than the main
> > timeout) that could work, otherwise I'll hold my position on this.
> i'm not sure about jitter, but for the offset calculation as 
> long as at
> least one packet is recieved things are okay.  it sends 4 requests and
> *tries* to read 4 replies, but if plugin_timeout/2 passes 
> first it will
> stop and work with what it's recieved.  so if the "best match" only
> responds with 2 packets, then the average will be calculated 
> from that.

Great. If we decide to do the same kind of multi-host check for the jitter
we'll do it that way as well (or maybe integrate it to the check_offset
function?). I also noticed that the plugin is not always clear as to shy a
warning condition has occures so this could be worked out at the same

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20070405/ade934c8/attachment.bin>

More information about the Devel mailing list