[Pacemaker] [SOLVED] crm_mon with sending mails

Tom Tux tomtux80 at gmail.com
Mon Feb 22 13:22:51 UTC 2010


Hi Florian

Thanks for your hint.

The problem was, that the crm_mon tried to send mails over port "tcp
587". I specified also the port "25" within the mail-host-option like
this:
--mail-option=[smtp_server:25]

This works fine.
Thanks a lot
Tom


2010/2/22 Florian Haas <florian.haas at linbit.com>:
> Check if you built with libesmtp-devel installed. Check if you have
> libesmtp installed.
>
> Then, run crm_mon -N -VVVV -H [smtp-server] -T [my_mailaddress] and
> trigger a resource transition. If it's not sending out an email, it will
> print an error message detailing the reason.
>
> Hope this helps.
>
> Cheers,
> Florian
>
>
> On 2010-02-22 10:36, Tom Tux wrote:
>> Hi all,
>>
>> I started "crm_mon" in the background to send me mails when a
>> cluster-event occurs:
>> crm_mon -d -H [smtp-server] -T [my_mailaddress]
>>
>> But when I manually stop or start a resource or take one node offline
>> and online again, I did not receive an email.
>>
>> My question hereby:
>> On which cluster-events will the crm_mon send emails? Can I define, on
>> which events the crm_mon has to mail me?
>>
>> Thanks a lot.
>> Tom
>>
>> _______________________________________________
>> Pacemaker mailing list
>> Pacemaker at oss.clusterlabs.org
>> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
>




More information about the Pacemaker mailing list