Check_NTP issues

Tiago Cruz tiagocruz at forumgdh.net
Thu May 4 21:21:36 CEST 2006


John Jolet wrote:
> On Thursday 04 May 2006 14:03, Tiago Cruz wrote:
>> sidious:~# ./check_ntp -H 10.0.0.19
>> Use of uninitialized value in division (/) at
>> /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424.
>> NTP WARNING: Desynchronized peer server found|offset=-5.885026,
>> jitter=0,peer_stratum=16
> that line divides $jitter by 1000.  for some reason, $jitter isn't getting 
> set.  it's initialized at the top of the code to undef, and is supposed to be 
> set to $11 from the output of the ntpq command.  if you run the ntpq command 
> yourself, do you get a value for jitter?

Hello John,

I'm not sure about the correct syntax of this command, but, please, look 
at this:

sidious:~# ntpq -p 10.0.0.19
10.0.0.19: timed out, nothing received
***Request timed out

sidious:~# ntpq -p localhost
       remote           refid      st t when poll reach   delay   offset 
  jitter
 
==============================================================================
   10.0.0.91       .INIT.          16 u  658 1024    0    0.000    0.000 
4000.00

It this that you want?
Many thanks by your attention!


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list