Nagios check_ntp_peer无效

时间:2011-12-20 01:54:54

标签: linux debian nagios ntp

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

    NTP CRITICAL: Server not synchronized, Offset unknown

它叫我的出席

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


    tinker panic 0

    driftfile /var/lib/ntp/ntp.drift

    statistics loopstats peerstats clockstats
    filegen loopstats file loopstats type day enable
    filegen peerstats file peerstats type day enable
    filegen clockstats file clockstats type day enable


    server 0.debian.pool.ntp.org iburst dynamic
    server 1.debian.pool.ntp.org iburst dynamic
    server 2.debian.pool.ntp.org iburst dynamic
    server 3.debian.pool.ntp.org iburst dynamic

    restrict -4 default kod notrap nomodify nopeer noquery
    restrict -6 default kod notrap nomodify nopeer noquery

    restrict 127.0.0.1
    restrict ::1

那么,对问题可能是什么一无所知?

提前致谢,

的Wilmer

1 个答案:

答案 0 :(得分:0)

我在ubuntu和ntp上遇到过类似的问题。时间正在急剧下滑,Nagios报道NTP关键:抵消未知。 检查vmware时间同步的状态

#vmware-toolbox-cmd timesync status
Disable

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

#vmware-toolbox-cmd timesync enable
Enabled

帮助我。也可能对你有帮助。我认为它不符合vmware最佳实践,但它有效。