How to configure mail alert for node diconnection

Franck Martinière

New Member
May 15, 2013
11
0
1
Hello everyone,

I am new to Proxmox.
I have configured one cluster with two nodes and a DRBD disk.

Everythings work well : if I switch off a node, all VM are started on the other node.

Now I am looking how to send alert email on node disconnection. I haven't seen any documentation on internet.
Postfix is well setup I can send mail by command line : echo "test email" | mail -s "mail title" f.martiniere@environnement-sa.com

When I switch off a node I don't see any event in /var/log/mail.log.

Is someone can help me ?

Thank's in advance.
Franck :confused: