Hello Horms,
Please consider adding this to CVS. It is diffed against CVS obtained from
today. The functionality added is to send an email when a server goes in and
out of service. You must change the two email address variables to make it
work. Currently they are:
+$ALERTEMAILOUTSERVICE = "outofservicemeailaddresshere@localhost";
+$ALERTEMAILRESTORESERVICE = "restoreservicemeailaddresshere@localhost";
http://world.anarchy.com/~peter/lvs/ldirectord.cvs.patch
Depending on the server the 'restore' service is less useful because a
ldirectord reload, such as kill -HUP ldirectord, will send out a restore for
each server. Also, I am not certain what a solution would be for a user that
does not want email. Comment out the two ld_alert instance calls by default?
Or maybe change the default email to root@localhost?
Kind regards,
Peter Mueller
Operations Engineer
(408)235-1700 x125
Find travel deals from dozens of sites - with one search
Try SideStep - The traveler's search engine
www.sidestep.com
|