summaryrefslogtreecommitdiffstats
path: root/web/attachments/42131-check_ntp.diff
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/42131-check_ntp.diff')
-rw-r--r--web/attachments/42131-check_ntp.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/attachments/42131-check_ntp.diff b/web/attachments/42131-check_ntp.diff
new file mode 100644
index 0000000..43fdd6a
--- /dev/null
+++ b/web/attachments/42131-check_ntp.diff
@@ -0,0 +1,16 @@
1Index: plugins-scripts/check_ntp.pl
2===================================================================
3RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_ntp.pl,v
4retrieving revision 1.12
5diff -u -r1.12 check_ntp.pl
6--- plugins-scripts/check_ntp.pl 4 Feb 2003 05:54:39 -0000 1.12
7+++ plugins-scripts/check_ntp.pl 11 Feb 2003 21:10:26 -0000
8@@ -249,7 +249,7 @@
9 }
10
11 # match sys.peer or pps.peer
12- 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.]+)/) {
13+ 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.]+)/) {
14 $syspeer = $2;
15 $jitter = $11;
16 print "match $_ \n" if $verbose;