summaryrefslogtreecommitdiffstats
path: root/web/attachments/42131-check_ntp.diff
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/42131-check_ntp.diff
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
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;