summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Sean Finney <seanius@users.sourceforge.net>2005-04-19 00:16:58 (GMT)
committerM. Sean Finney <seanius@users.sourceforge.net>2005-04-19 00:16:58 (GMT)
commit353a9738190693cbc1cf98448dafe661bca3011b (patch)
treee1f29bfffd5ac657f7d3ae8ce7791e8f0319efde
parent784e5b9594e2755c7eb601af3369009b9f0e612f (diff)
downloadmonitoring-plugins-353a9738190693cbc1cf98448dafe661bca3011b.tar.gz
regexp fix for check_ntp
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1166 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xplugins-scripts/check_ntp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 20780b5..13b50f5 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -290,7 +290,7 @@ if ($have_ntpq) {
290 } 290 }
291 291
292 # match sys.peer or pps.peer 292 # match sys.peer or pps.peer
293 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.]+)/) { 293 if (/^(\*|o)([-0-9.\s]+)\s+([-0-9A-Za-z.]+)\s+([-0-9.]+)\s+([lumb-]+)\s+([-0-9hm.]+)\s+([-0-9.mh]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
294 $syspeer = $2; 294 $syspeer = $2;
295 $stratum = $4; 295 $stratum = $4;
296 $jitter = $11; 296 $jitter = $11;