summaryrefslogtreecommitdiffstats
path: root/web/attachments/42131-check_ntp.diff
blob: 43fdd6a8998f7f06f47a6de6dd6797400dfa6963 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: plugins-scripts/check_ntp.pl
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
retrieving revision 1.12
diff -u -r1.12 check_ntp.pl
--- plugins-scripts/check_ntp.pl	4 Feb 2003 05:54:39 -0000	1.12
+++ plugins-scripts/check_ntp.pl	11 Feb 2003 21:10:26 -0000
@@ -249,7 +249,7 @@
 			}
 
 			# match sys.peer or pps.peer
-			if (/^(\*|o)([-0-9.\s]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([lumb]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
+			if (/^(\*|o)([-0-9.\s]+)\s+([-0-9WVGPS.]+)\s+([-0-9.]+)\s+([lumb-]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)\s+([-0-9.]+)/) {
 				$syspeer = $2;				
 				$jitter = $11;
 				print "match $_ \n" if $verbose;