[DRBD-user] Email Notfications
andreas.kurz at linbit.com
Sun Mar 6 22:59:06 CET 2011
On 03/06/2011 09:55 PM, Matt Graham wrote:
> 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?
you can use the before-resync-target, after-resync-target handlers to
send a notification on start/end of a sync
> 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
> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 286 bytes
Desc: OpenPGP digital signature
More information about the drbd-user