[Logwatch-Devel] kernel script: list sun memory errors

Markus Lude lude at informatik.uni-tuebingen.de
Thu Dec 29 17:14:03 MST 2005


Hello,
memory problems under solaris were logged but not recognized by
logwatch. Solaris doesn't log this stuff under service kernel, but with
  SUNW,<processortype>:

To catch some basic log messages we could change
/conf/services/kernel.conf:

--- kernel.conf.org     2005-12-30 01:09:28.000001000 +0100
+++ kernel.conf 2005-12-30 01:09:42.000001000 +0100
@@ -18,7 +18,7 @@
 LogFile = messages
 
 # Only give lines pertaining to the kernel service...
-*OnlyService = kernel
+*OnlyService = (kernel|SUNW,.*)
 *RemoveHeaders
 
 ########################################################

Regards,
Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://ip70-176-100-107.ph.ph.cox.net/pipermail/logwatch-devel/attachments/20051229/2823d05a/attachment.bin


More information about the Logwatch-Devel mailing list