[Logwatch] logwatch 2.6: named enhancements

Jay Berkenbilt ejb@ql.org
Sun, 14 Jul 2002 13:40:31 -0400


Attached is a patch to enhance the named logwatch script, as
supplied in RedHat Linux 7.3, to catch a few more cases that are
currently falling into the unmatched category with bind 9.2.1.

lame server messages are not caught.  They are generally out of the
control of the administrator and don't need to be seen at all.

--
Jay Berkenbilt <ejb@ql.org>
http://www.ql.org/q/



---------------------------------------------------------------------------

--- scripts/services/named.qdist	Mon Apr 15 17:21:54 2002
+++ scripts/services/named	Sun Jul 14 12:58:29 2002
@@ -127,6 +127,7 @@
 	 ($ThisLine =~ /^No root nameservers for class IN/) or
 	 ($ThisLine =~ /^recvfrom: No route to host/) or
 	 ($ThisLine =~ /Connection refused/) or
+	 ($ThisLine =~ /lame server resolving/) or
     ($ThisLine =~ /^zone transfer of .* to/) or
     ($ThisLine =~ /^using \d+ CPU/) or
     ($ThisLine =~ /^starting BIND/) or