1

我正在运行通过 Nagios 监控的虚拟化 (vmware) debian (2.6.26-2-686)。最后,我收到以下严重错误(由 _check_ntp_peer_ 脚本报告):

    NTP CRITICAL:服务器未同步,偏移量未知

它引起了我的注意

ion that none of the lines outputted by the _ntpq –no_ command has a star (*)

     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 200.144.121.33  193.204.114.232  2 u    1   64    1  187.298  -34742.  32.024
 146.164.53.65   200.20.186.75    2 u    2   64    1  185.574  -34716.   0.001
 200.160.0.8     200.160.7.186    2 u    1   64    1  186.229  -34734.   0.001
 187.49.33.13    .INIT.          16 u    -   64    0    0.000    0.000   0.001

有什么线索吗?这是ntp.conf

    修补恐慌 0

    漂移文件 /var/lib/ntp/ntp.drift

    统计 loopstats peerstats clockstats
    filegen loopstats 文件 loopstats 类型 day enable
    filegen peerstats 文件 peerstats 类型 day enable
    filegen clockstats 文件 clockstats 类型 day enable


    服务器 0.debian.pool.ntp.org iburst 动态
    服务器 1.debian.pool.ntp.org iburst 动态
    服务器 2.debian.pool.ntp.org iburst 动态
    服务器 3.debian.pool.ntp.org iburst 动态

    限制 -4 默认 kod notrap nomodify nopeer noquery
    限制 -6 默认 kod notrap nomodify nopeer noquery

    限制 127.0.0.1
    限制 ::1

那么,您知道问题可能是什么吗?

提前致谢,

威尔默

4

1 回答 1

0

我在 ubuntu 和 ntp 上遇到了类似的问题。时间急剧流逝,nagios 报告 NTP CRITICAL:偏移未知。检查 vmware timesync 的状态

#vmware-toolbox-cmd timesync status
Disable

如果您发现它被禁用,请启用它。

#vmware-toolbox-cmd timesync enable
Enabled

在我的情况下有所帮助。也可能对你有帮助。我认为这不符合 vmware 最佳实践,但它确实有效。

于 2013-07-10T09:43:03.573 回答