[Nagiosplug-devel] bug in check_ntp

Marc C. Poulin mcp at jawfish.com
Sun Mar 2 12:03:05 CET 2003


I'm using the check_ntp plugin (1.3.0) on all of my servers.  Occasionally
I would see a warning state w/"Jitter too high", even though running ntpq
against the server showed that not to be the case.  Upon further
investigation, I noticed a line like this from ntpq:

*129.6.15.29    .ACTS.   1 u  78m 1024  360   20.218   0.515   6.315

The * means it's the system peer (I have no pps peers).  However, the
regex match on line 263 fails because the 6th field (in this case '78m')
matches only digits.  I suggest adding an 'm' to this match.
Thanks,
Marc Poulin







More information about the Devel mailing list