[DRBD-user] drbd alert messages

Dominik Klein dk at in-telegence.net
Mon Aug 20 08:12:02 CEST 2007

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


> Does anybody knows how can i obtain an alert message by email or 
> something  when the main server is down for example when the  " A" 
> server change to the secondary and the "B" server change to be primary 
> or when i'll get primary/unknown.
> 
> or can i configurate logwatch with drbd to works?

Take a look at http://swatch.sf.net

You can basically "tail -f | grep regex" in a logfile with that and 
execute whatever you want when a match is found.

Regards
Dominik



More information about the drbd-user mailing list