HA Heartbeat Mailto question
Everything is working well except that I'm trying to get a mailto primitive to actually work, but cannot.
I currently have this in my config:
primitive mail ocf
params email="
op monitor interval="10" timeout="10" depth="0" \
When I run crm_mon though I have this:
mail (ocf:
also, under failed actions it says this:
mailstart0 (node=ha02, call=208, rc=5, status=complete): not installed
mailstop0 (node=ha02, call=209, rc=5, status=complete): not installed
I was assuming it was going to use a sendmail command, which I've tested and works properly from the command line…
I'm extremely new to HA, I'm kinda lost and googling around isn't turning up anything really…. anyone have experience do this or similar?
2 Replies
# grep MAILCMD /usr/lib/ocf/lib/heartbeat/ocf-binaries
: ${MAILCMD:=mail}
for reference for anyone wanting to know, its the bsd-mailx package in debian/ubuntu