Hi Thomas,<div>I will try using the "-q" option for a while, it does seem to resolve the problems we were experiencing.</div><div><br></div><div>Elie</div><div><br><div class="gmail_quote">On Thu, Feb 18, 2010 at 2:29 AM, Thomas Guyot-Sionnest <span dir="ltr"><<a href="mailto:dermoth@aei.ca">dermoth@aei.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="im"><br>
On 17/02/10 07:55 AM, Elie Delorme wrote:<br>
> All servers I poll have the same ntp configuration, it looks like the<br>
> plugin can't handle some offsets,<br>
> most of the time everything is fine, then I randomly get an "Offset<br>
> unknown" for a server.<br>
<br>
</div>The Offset unknown error is usually shown when the remote peer is not<br>
synchronized, which may happen from time to time even on a healthy NTP<br>
server. In most cases the check should recover before hitting<br>
max_check_attempt; if not then you may have to look at your nagios<br>
settings (how many attempts and at which interval?) or check if there's<br>
a problem with the remote NTP server(s) itself (you may be using servers<br>
that are going down often).<br>
<br>
Since you're using check_ntp_time I guess you're checking the time delta<br>
with a remote peer - in that case you can use something like<br>
<a href="http://us.pool.ntp.org" target="_blank">us.pool.ntp.org</a> instead of a single NTP server, this way check_ntp_time<br>
will select up to 4 servers out of the multiple returned IPs and select<br>
the best one for calculating the time delta.<br>
<br>
<br>
Also, for both check_ntp_time and _peer, you can use the -q (--quiet)<br>
switch to make that UNKNOWN instead of critical, which depending on your<br>
settings may cause less nuisance or no nuisance at all.<br>
<br>
- --<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFLfOxl6dZ+Kt5BchYRAkEzAJ9hnBCjKuXKZx6VxYQHqn68ig30bgCgqrxQ<br>
Ev4BPNoXvIfmXNzlVlvQMko=<br>
=f07S<br>
-----END PGP SIGNATURE-----<br>
<br>
------------------------------------------------------------------------------<br>
Download Intel® Parallel Studio Eval<br>
Try the new software tools for yourself. Speed compiling, find bugs<br>
proactively, and fine-tune applications for parallel performance.<br>
See why Intel Parallel Studio got high marks during beta.<br>
<a href="http://p.sf.net/sfu/intel-sw-dev" target="_blank">http://p.sf.net/sfu/intel-sw-dev</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
Nagiosplug-help mailing list<br>
<a href="mailto:Nagiosplug-help@lists.sourceforge.net">Nagiosplug-help@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagiosplug-help" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagiosplug-help</a><br>
::: Please include plugins version (-v) and OS when reporting any issue.<br>
::: Messages without supporting info will risk being sent to /dev/null<br>
</div></div></blockquote></div><br></div>