summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ntp.pl
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-03-05 07:27:07 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-03-05 07:27:07 +0000
commit1fdb0658c8c5637c0b6eb2c6847eb2fcb2e5650a (patch)
treedd1b369840f76016b6089bfd22d867d2422edb56 /plugins-scripts/check_ntp.pl
parentcbd684fa0ba4447dcdc3b6d5f9699aca7b5c9047 (diff)
downloadmonitoring-plugins-1fdb0658c8c5637c0b6eb2c6847eb2fcb2e5650a.tar.gz
add "m" to regex for minutes
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@370 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ntp.pl')
-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 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;