[DRBD-user] Email Notfications

Robinson, Eric eric.robinson at psmnv.com
Mon Mar 7 02:53:19 CET 2011

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


Gerald,

> Hi,
> 
> Is there a way to get email notifications when the servers 
> are syncing, similar to the way mdadm does?
> 
> On a side note, I'd also like email notification when HA 
> switches servers.
> 

I just use a bash script that runs as a cron job every minute. It does a
`cat /proc/drbd`, parses the output, and texts my cell phone if it sees
certain things that I am interested in knowing about (bascially any time
the status is not Connected, Primary/Secondary, UpTodate/UpToDate).

--Eric















Disclaimer - March 6, 2011 
This email and any files transmitted with it are confidential and intended solely for Gerald Brandt,drbd-user at lists.linbit.com. If you are not the named addressee you should not disseminate, distribute, copy or alter this email. Any views or opinions presented in this email are solely those of the author and might not represent those of Physicians' Managed Care or Physician Select Management. Warning: Although Physicians' Managed Care or Physician Select Management has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/



More information about the drbd-user mailing list