Re: Fwd: support for mdadm on linux

Mike Tremaine <[email protected]>
Newsgroups gmane.comp.log.logwatch.devel
Message-ID <[email protected]>
Kirk Bauer wrote:
> ---------- Forwarded message ----------
> From: Pat Riehecky <[email protected]>
> Date: Mon, 31 Mar 2008 13:22:27 -0500
> Subject: support for mdadm on linux
> To: [email protected]
> 
> This patch adds support for keeping an eye on software RAID arrays via
> mdadm.  I have been using it for a few days now and it seems to work
> perfectly on both systems with and without mdadm.
> 
> I would like to offer it to you for inclusion in the next version of
> logwatch.
> 
> Pat


Anyone read through this script yet? First thing I noticed are the shell 
calls to mdadm to get the info. Anyone think that reading 
/etc/mdadm.conf and /proc/mdstat would be a safer way to handle this?

-Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.