summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2005-04-20 07:45:50 +0000
committerJonas Smedegaard <dr@jones.dk>2005-04-20 07:45:50 +0000
commitb3896fbd5ea1ae74074a974e35640e9e24440a6a (patch)
tree11c3d1574bf831a72fc6f5dd15fdf78ac2b0dbcd
parentd91b2a03bb2f571055c86aeb8827789a8abbae48 (diff)
Add new rules for smartmontools.
-rw-r--r--logcheck/violations.ignore.d/local1
-rw-r--r--logcheck/violations.ignore.d/smartmontools2
2 files changed, 3 insertions, 0 deletions
diff --git a/logcheck/violations.ignore.d/local b/logcheck/violations.ignore.d/local
index 6ed81b7..1dd4373 100644
--- a/logcheck/violations.ignore.d/local
+++ b/logcheck/violations.ignore.d/local
@@ -71,6 +71,7 @@
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smbd\[[0-9]+\]: read(_socket)?_data: (read|recv) failure for [[:digit:]]+\. Error = (No route to host|Connection (reset by peer|timed out)) ?$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smbd\[[0-9]+\]: write_socket_data: write failure\. Error = Connection reset by peer ?$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+, SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from [0-9]{1,2} to [0-9]{1,2}$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+, SMART Prefailure Attribute: 8 Seek_Time_Performance changed from [0-9]{3} to [0-9]{3}$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ sshd\[[0-9]+\]: Failed keyboard-interactive for [^[:space:]]+ from [\.0-9]+ port [0-9]+ ssh2$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ ssh\(pam_unix\)\[[0-9]+\]: authentication failure; logname= uid=0 euid=0 tty=NODEVssh ruser= rhost=[^[:space:]]+ user=[^[:space:]]+$
^\w{3} [ :0-9]{11} [._[:alnum:]-]+ su\[[0-9]+\]: \+ \?\?\? root:[[:alnum:]-]+ ?$
diff --git a/logcheck/violations.ignore.d/smartmontools b/logcheck/violations.ignore.d/smartmontools
new file mode 100644
index 0000000..62e693c
--- /dev/null
+++ b/logcheck/violations.ignore.d/smartmontools
@@ -0,0 +1,2 @@
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+, SMART Prefailure Attribute: 1 Raw_Read_Error_Rate changed from [0-9]{1,2} to [0-9]{1,2}$
+^\w{3} [ :0-9]{11} [._[:alnum:]-]+ smartd\[[0-9]+\]: Device: /dev/[^[:space:]]+, SMART Prefailure Attribute: 8 Seek_Time_Performance changed from [0-9]{3} to [0-9]{3}$