首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Nagios NTP,丢弃对等点

Nagios NTP,丢弃对等点
EN

Server Fault用户
提问于 2011-05-14 09:45:32
回答 1查看 3.4K关注 0票数 3

我们使用nagios check_ntp_time来监视服务器上的时间。不幸的是,这项服务正在展开。报告了很多假阳性。随机服务器每次发生在随机的白天时间,持续时间为10-30分钟.当问题发生时,我们得到:

代码语言:javascript
运行
复制
watch01:~ # /usr/lib/nagios/plugins/check_ntp_time -H lb01 -w 1 -c 2 -v
sending request to peer 0
response from peer 0: offset 0.07509887218
sending request to peer 0
response from peer 0: offset 0.07508444786
sending request to peer 0
response from peer 0: offset 0.07499825954
sending request to peer 0
response from peer 0: offset 0.07510817051
discarding peer 0: stratum=0
overall average offset: 0
NTP CRITICAL: Offset unknown|

当一切正常时,我们得到(我使用不同的服务器不需要等待):

代码语言:javascript
运行
复制
watch01:~ # /usr/lib/nagios/plugins/check_ntp_time -H web02 -w 1 -c 2 -v
sending request to peer 0
response from peer 0: offset 0.0002282857895
sending request to peer 0
response from peer 0: offset 0.0002194643021
sending request to peer 0
response from peer 0: offset 0.0002347230911
sending request to peer 0
response from peer 0: offset 0.0002293586731
overall average offset: 0.0002282857895
NTP OK: Offset 0.0002282857895 secs|offset=0.000228s;1.000000;2.000000;

我们正在使用:

  • check_ntp_time v1.4.15 (nagios-plugins 1.4.15)

远程ntp守护进程是:

  • ntpd - NTP守护进程程序- Ver。4.2.4p4

我已经找到了一些描述问题的论坛:123.。每次他们编辑来升级nagios-plugins,因为在1.4.13之前的版本中,有一个插入了闰秒的bug。但是我们已经有了更新版本的nagios插件。

EN

回答 1

Server Fault用户

发布于 2011-07-31 03:46:09

也许在1.4.15:http://sourceforge.net/tracker/?func=detail&atid=397597&aid=3314686&group_id=29880中仍然存在

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/269701

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档