Re: Hertbeat fail-over Email Alert

Digimer <[email protected]>
Newsgroups gmane.linux.highavailability.user
Message-ID <[email protected]>
Hi Atul,

   If this is a new setup, please use corosync + pacemaker. Heartbeat 
hasn't been developed in a long time and there are no plans to restart 
development, either.

   As for sending email, I don't think there is a default way to do it. 
I know there is the foghorn project that should help. Personally, I 
wrote a little daemon that watches the cluster resources (plus IPMI 
sensor values, UPS data, network bond states, etc) each 30 seconds and, 
if something important changes, sends an email. A script like this 
should be fairly easy to write for your environment, too.

digimer

On 23/09/14 07:25 AM, Atul Yadav wrote:
> Dear Team ,
>
> In our environment for storage HA, we are using heartbeat method.
>
> Our Storage HA is working fine with Heartbeat management.
>
> Now we need your guidance to setup the EMAIL alert at the time of fail-over
>   happen and fail over completed.
>
> We already setup smtp in both the servers.
> And we are able to send mail from terminal window.
> Storage1
> Storage2
>
> Please guide us.
>
> Thank You
> Atul Yadav
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>


-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without 
access to education?
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.