Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: bjko on May 04, 2006, 09:26:17 AM
-
Hi
It seems that raidmonitor is build in to SME7, but how does it work ?
can it send Email to admin in case of failure ?
Is there a users manual for raidmonitor ?
Anyone ?
-
Hi
It seems that raidmonitor is build in to SME7, but how does it work ?
It runs "mdadm --monitor".
can it send Email to admin in case of failure ?
Yes.
-
I checked out mdadm --help, it is rather alarming in that it seems to say that it won't tell you if it isn't working due to a mail configuration issue
I've visited several sites but can't find a command to force mdadm --monitor to send a message. looks like the program /bin/e-smith/mdevent actually sends the notice WHERE?
mdevent from the command prompt just gives error messages, no email!
My casual investigation indicates that the admin email fowarding is NOT loaded on a default installation, you have to go and poke at it from the control panel, a very easy step to overlook!
-
You do get an email when the raid array is degraded.
This is an automatically generated mail message from mdadm running on host.domain.com.
A DegradedArray event has been detected on md device /dev/md1.
The email is sent to admin-raidreport@xxxx.xxx which is an alias for admin@
Jon