[ClusterLabs] ClusterMon mail notification - does not work

Donat Zenichev donat.zenichev at gmail.com
Mon Oct 9 10:44:35 EDT 2017


Hi all.

I've just tried to add an e-mail notification for my cluster built with
pacemaker, but ClusterMon seems doesn't work as expected.

I have ssmtp configured on ubuntu 16.04

I configured cluster monitor by crmsh:
primitive cluster_mon ocf:pacemaker:ClusterMon \
params pidfile="/var/run/crm/crm_mon.pid" htmlfile="/var/tmp/crm_mon.html"
extra_options="--mail-from=noreply at domain.ua --mail-to=donat at domain.ua
 --mail-host=mail.domain.ua:465" \
op start interval=0 timeout=90s \
op stop interval=0 timeout=100s \
op monitor interval=10s timeout=20s \
meta target-role=Started

real domain is changed in this example.

So that, when I execute certain resource to stop:
crm: resource stop IPSHARED

then resource is stopped, but nothing occurred on e-mail destination.
Where I did wrong actions?

-- 
-- 
BR, Donat Zenichev
Wnet VoIP team
Tel:  +380(44) 5-900-808
http://wnet.ua
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20171009/115ae36b/attachment-0002.html>


More information about the Users mailing list