I've written a small script for those who want to keep using mdadm and get desktop notifications:
(A more elegant solution would be to send a D-BUS message. Maybe for the next version...)
Original article (in Spanish) is located at:
> % "Todo: Daemon that send you a
> % when something goes wrong"
> % FYI: mdadm already does this
> and raidmon
Yes! I use mdadm myself, and it does the job very well. I have not tried raidmon, but I like the idea of beeping while there is an error. Raidmonitor is not meant to replace those programs if you already use/like them.
I wrote a pccts grammar to parse /proc/mdstat because it seems the natural way of reading structured text. Once I got that working, I started the GUI app to show the status.
While mdadm seems to do a pretty accurate parsing of /proc/mdstat, raidmon just uses grep. But I liked the idea of raidmon beeping until exhausted. And a GUI to "look" at the devices status. So it is all into raidmonitor. I do not claim to have wrote a better app. I just enjoyed writing it.
Perhaps I don't explained too well in the homepage, I will update the Todo section with more ideas.
o Complete the GUI to be more useful
o Really write the daemon
o Custom notification (beep, mail, ...)
And in the long term
o Include raidmonitor into a bigger project "Server Tools"
o Use a Notification System instead of a hardcoded one, this is, configure each notification from a central GUI.
o Be able to "ping" every daemon (from servertools) to assure it is running. Surely using DBUS, which by the way will provide activation.
And perhaps you can tell me what feature you miss from mdadm/raidmon if any.
This all sounds like vaporware, this is because I started with a small step, doing something real.
> "Todo: Daemon that send you a mail
> when something goes wrong"
> FYI: mdadm already does this
"Todo: Daemon that send you a mail when something goes wrong"
FYI: mdadm already does this
An open, cross-platform journaling program.
A scientific plotting package.