Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
From: Gerald Brandt <gbr at majentis.com> > Is there a way to get email notifications when the servers are > syncing, similar to the way mdadm does? Within DRBD? No. That's not DRBD's job. That job is best handled by something like Nagios. Nagios is a bit heavyweight for *just* monitoring DRBD, but if you have ~70 machines all running various services, Nagios can make your life a hell of a lot easier. If you just want to monitor DRBD sync status, put together a shell or Perl script that runs on both nodes every 10 min via cron and mails a list of people when /proc/drbd matches /SyncSource|SyncTarget/ . You can search for "check-drbd" to find a Nagios plugin that does that; modify it for your needs. > On a side note, I'd also like email notification when HA switches > servers. Which HA system are you talking about? Pacemaker, Corosync, heartbeat? The answer to this will almost certainly be found in the Fine Manual for the HA system you're using. -- Matt G / Dances With Crows The Crow202 Blog: http://crow202.org/wordpress/ There is no Darkness in Eternity/But only Light too dim for us to see