To accept decimal point in warning and critical
limits (to accept limits less than 1 second), the
following patch can be applied to check_ntp.pl :
46a47,51
> #
> # Script modified 2001 May 15 by Jan Vejvalka
<jan.vejvalka@lfmotol.cuni.cz>
> #
> # Modified script to accept decimal point in
critical and warning limits
> #
91c96
< my $warning = $1 if ($opt_w =~ /([0-9]+)/);
---
> my $warning = $1 if ($opt_w =~ /([0-9]+\.?[0-9]*)/);
94c99
< my $critical = $1 if ($opt_c =~ /([0-9]+)/);
---
> my $critical = $1 if ($opt_c =~ /([0-9]+\.?[0-9]*)/);