On Thursday 04 May 2006 14:03, Tiago Cruz wrote: > Hello all, > > I would like to know how the gentleman's are using the perl script > called check_ntp, because I tried to use and have a lot of errors, like > this: > > 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?
------------------------------------------------------- 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 [email protected] 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
