On Sun, Jun 5, 2011 at 8:53 PM, Amit Jathar <amit.jat...@alepo.com> wrote: > Hi, > > I have configured email alerts for corosync as follows :- > Crm configure show > ---<SNIP>----- > primitive resMON ocf:pacemaker:ClusterMon \ > operations $id="resMON-operations" \ > op monitor interval="180" timeout="20" \ > params extra_options="--mail-to x...@gmail.com" > ---<SNIP>--- > > I can see this resource is started :- > crm_mon -1 > ---<SNIP>---- > resMON (ocf::pacemaker:ClusterMon): Started xxxxxx > ---<SNIP>---- > > I can send mail from my machine :- > [root@localhost] mail -s testmail xxxxxx
We don't rely on a local mail server, instead we use libesmtp. You'll need to make sure that is configured - or use call mail from a script referenced by --external-agent > . > Cc: > Null message body; hope that's ok > > I cannot get mails any mails if my cluster status changes. I could not see > anything in the /var/log/maillog also. > > Is there any hint if I am missing out any configuration. > > Thanks, > Amit > > > ________________________________ > This email (message and any attachment) is confidential and may be > privileged. If you are not certain that you are the intended recipient, > please notify the sender immediately by replying to this message, and delete > all copies of this message and attachments. Any other use of this email by > you is prohibited. > ________________________________ > > > _______________________________________________ > Linux-HA mailing list > Linux-HA@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems