summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-03-05 04:37:52 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-03-05 04:37:52 (GMT)
commit6f680ce0a29d65f72e96cda25232095c480bab12 (patch)
tree766499bbfb6f359e7ccb60f973311bc3bee85a5f
parent70de3cb4f4e3678e2d553629df54218e29c254da (diff)
downloadmonitoring-plugins-6f680ce0a29d65f72e96cda25232095c480bab12.tar.gz
regex fix per Marc Poulin
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/branches/release-1.3.0@367 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 cad92a6..269ed3b 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;