diff options
-rwxr-xr-x | plugins-scripts/check_ntp.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl index cad92a66..269ed3ba 100755 --- a/plugins-scripts/check_ntp.pl +++ b/plugins-scripts/check_ntp.pl | |||
@@ -260,7 +260,7 @@ if ($have_ntpq) { | |||
260 | } | 260 | } |
261 | 261 | ||
262 | # match sys.peer or pps.peer | 262 | # match sys.peer or pps.peer |
263 | if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z.]+)\s+([-0-9.]+)\s+([lumb]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) { | 263 | if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z.]+)\s+([-0-9.]+)\s+([lumb]+)\s+([-0-9m.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) { |
264 | $syspeer = $2; | 264 | $syspeer = $2; |
265 | $stratum = $4; | 265 | $stratum = $4; |
266 | $jitter = $11; | 266 | $jitter = $11; |