From 0adcbaf01619be5a6dfaa3cf47a67b36dc2a15b4 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 11 Mar 2003 21:45:21 +0000 Subject: Allow ntpd to loose syncronisation on workstations. --- logcheck/ignore.d.server/local | 2 +- logcheck/ignore.d.server/netatalk.changes | 2 +- logcheck/ignore.d.workstation/local | 5 ++++- logcheck/ignore.d.workstation/ntp-simple | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) create mode 100644 logcheck/ignore.d.workstation/ntp-simple diff --git a/logcheck/ignore.d.server/local b/logcheck/ignore.d.server/local index cbc23bd..2779d94 100644 --- a/logcheck/ignore.d.server/local +++ b/logcheck/ignore.d.server/local @@ -161,6 +161,7 @@ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?[\.[:alnum:]]+ read, [\.[:alnum:] afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?login [[:alnum:]]+ \(uid [0-9]+, gid [0-9]+\)( AFP2\.2)?$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?logout [[:alnum:]]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?session from [\.:0-9]+ on [\.:0-9]+$ +afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?(server_child\[[0-9]+\] [0-9]+ )?(done|exited 1)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?ASIP session:[0-9]+\([0-9]+\) from [\.:0-9]+\([0-9]+\)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?CNID DB initialized using Sleepycat Software: Berkeley DB( [\.0-9]+: \([^\(]+\))?$ @@ -177,7 +178,6 @@ afpd\[[0-9]+\]: dsi_stream_read\(0\): (No such file or directory|No such process afpd\[[0-9]+\]: dsi_stream_read\(0\): Success$ afpd\[[0-9]+\]: error stat'ing /[^[:space:]]+/net[\.0-9]+node[0-9]+: No such file or directory$ afpd\[[0-9]+\]: login noauth$ -afpd\[[0-9]+\]: using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ atalkd\[[0-9]+\]: as_timer sendto: Network is unreachable $ atalkd\[[0-9]+\]: zip (ignoring gnireply|gnireply from [\.0-9]+ \([[:alnum:]]+ [[:alnum:]]+\)) $ papd\[[0-9]+\]: ([^[:space:]]+: I:PAPDaemon: )?child [0-9]+ done$ diff --git a/logcheck/ignore.d.server/netatalk.changes b/logcheck/ignore.d.server/netatalk.changes index 6e1d240..f7df007 100644 --- a/logcheck/ignore.d.server/netatalk.changes +++ b/logcheck/ignore.d.server/netatalk.changes @@ -5,6 +5,7 @@ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?[\.[:alnum:]]+ read, [\.[:alnum:] afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?login [[:alnum:]]+ \(uid [0-9]+, gid [0-9]+\)( AFP2\.2)?$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?logout [[:alnum:]]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?session from [\.:0-9]+ on [\.:0-9]+$ +afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?(server_child\[[0-9]+\] [0-9]+ )?(done|exited 1)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?ASIP session:[0-9]+\([0-9]+\) from [\.:0-9]+\([0-9]+\)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?CNID DB initialized using Sleepycat Software: Berkeley DB( [\.0-9]+: \([^\(]+\))?$ @@ -21,7 +22,6 @@ afpd\[[0-9]+\]: dsi_stream_read\(0\): (No such file or directory|No such process afpd\[[0-9]+\]: dsi_stream_read\(0\): Success$ afpd\[[0-9]+\]: error stat'ing /[^[:space:]]+/net[\.0-9]+node[0-9]+: No such file or directory$ afpd\[[0-9]+\]: login noauth$ -afpd\[[0-9]+\]: using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ atalkd\[[0-9]+\]: as_timer sendto: Network is unreachable $ atalkd\[[0-9]+\]: zip (ignoring gnireply|gnireply from [\.0-9]+ \([[:alnum:]]+ [[:alnum:]]+\)) $ papd\[[0-9]+\]: ([^[:space:]]+: I:PAPDaemon: )?child [0-9]+ done$ diff --git a/logcheck/ignore.d.workstation/local b/logcheck/ignore.d.workstation/local index 219152e..0625be4 100644 --- a/logcheck/ignore.d.workstation/local +++ b/logcheck/ignore.d.workstation/local @@ -161,6 +161,7 @@ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?[\.[:alnum:]]+ read, [\.[:alnum:] afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?login [[:alnum:]]+ \(uid [0-9]+, gid [0-9]+\)( AFP2\.2)?$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?logout [[:alnum:]]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?session from [\.:0-9]+ on [\.:0-9]+$ +afpd\[[0-9]+\]: ([^[:space:]]+: I:AFPDaemon: )?using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?(server_child\[[0-9]+\] [0-9]+ )?(done|exited 1)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?ASIP session:[0-9]+\([0-9]+\) from [\.:0-9]+\([0-9]+\)$ afpd\[[0-9]+\]: ([^[:space:]]+: I:Default: )?CNID DB initialized using Sleepycat Software: Berkeley DB( [\.0-9]+: \([^\(]+\))?$ @@ -177,7 +178,6 @@ afpd\[[0-9]+\]: dsi_stream_read\(0\): (No such file or directory|No such process afpd\[[0-9]+\]: dsi_stream_read\(0\): Success$ afpd\[[0-9]+\]: error stat'ing /[^[:space:]]+/net[\.0-9]+node[0-9]+: No such file or directory$ afpd\[[0-9]+\]: login noauth$ -afpd\[[0-9]+\]: using codepage directory: /etc/netatalk/nls/maccode\.[\.a-z0-9-]+$ atalkd\[[0-9]+\]: as_timer sendto: Network is unreachable $ atalkd\[[0-9]+\]: zip (ignoring gnireply|gnireply from [\.0-9]+ \([[:alnum:]]+ [[:alnum:]]+\)) $ papd\[[0-9]+\]: ([^[:space:]]+: I:PAPDaemon: )?child [0-9]+ done$ @@ -448,6 +448,9 @@ rpc.mountd: authenticated mount request from 192\.168\..* for /home/opt/ltsp/i38 kernel: usb-ohci.c: USB suspend: usb-10:[0-9\.]+$ kernel: eth[0-9]: suspending, WakeOnLan disabled$ kernel: eth[0-9]: resuming$ +### ignore.d.workstation/ntp-simple +ntpd\[[0-9]+\]: synchronisation lost$ +ntpd\[[0-9]+\]: time reset [\.0-9]+ s$ ### ignore.d.workstation/ntpdate ntpdate\[[0-9]+\]: can't find host$ ntpdate\[[0-9]+\]: no servers can be used, exiting$ diff --git a/logcheck/ignore.d.workstation/ntp-simple b/logcheck/ignore.d.workstation/ntp-simple new file mode 100644 index 0000000..61a1838 --- /dev/null +++ b/logcheck/ignore.d.workstation/ntp-simple @@ -0,0 +1,2 @@ +ntpd\[[0-9]+\]: synchronisation lost$ +ntpd\[[0-9]+\]: time reset [\.0-9]+ s$ -- cgit v1.2.3