[DRBD-user] drbd alert messages
dk at in-telegence.net
Mon Aug 20 08:12:02 CEST 2007
> 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.
More information about the drbd-user