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=nore...@domain.ua --mail-to=do...@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
_______________________________________________
Users mailing list: Users@clusterlabs.org
http://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

Reply via email to