Koozali.org: home of the SME Server

Raidmonitor in SME7, how does it work?

Offline bjko

  • *
  • 12
  • +0/-0
Raidmonitor in SME7, how does it work?
« 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 ?

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Raidmonitor in SME7, how does it work?
« Reply #1 on: May 04, 2006, 04:28:03 PM »
Quote from: "bjko"
Hi
It seems that raidmonitor is build in to SME7, but how does it work ?


It runs "mdadm --monitor".

Quote

can it send Email to admin in case of failure ?


Yes.

Offline mike_mattos

  • *
  • 313
  • +0/-0
Raidmonitor in SME7, how does it work?
« Reply #2 on: May 30, 2006, 10:30:06 PM »
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!
...

Offline JonB

  • *
  • 351
  • +0/-0
Raidmonitor in SME7, how does it work?
« Reply #3 on: May 31, 2006, 12:03:02 AM »
You do get an email when the raid array is degraded.

Code: [Select]
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
...