Hello Kirby,
> WARNING: Don't stat/monitor me! MailTo is a pseudo resource agent, so
> the status reported may be incorrect
> I guess if I had to guess, I'd probably delete the 'MailTo_6_mon'
> line... But I don't know if that'll affect the mail I get when
> heartbeat switches things around....
If you have a look at the ressource agent:
/usr/lib/ocf/resource.d/heartbeat/MailTo
You see that the status/monitor section is not needed to notify you. You
may delete that monitor operation. However if I look at the MailTo RA
that comes with version 2.1.3 I see that the warning message is
commented out:
MailToStatus () {
# ocf_log warn "Don't stat/monitor me! MailTo is a pseudo resource agent,
so the status reported may be incorrect"
if ha_pseudo_resource MailTo_${OCF_RESOURCE_INSTANCE} monitor
then
echo "running"
return $OCF_SUCCESS
else
echo "stopped"
return $OCF_NOT_RUNNING
fi
}
So you have more than once choice (first one is the best):
- Update to a recent version (2.1.3)
- Kill the Operation Section including the Monitor Statement from your
MailTo configuration
- Go to the ressource agent and comment that warning out (as it is per
defualt on more recent versions)
- Leave everything as it is and live with the "warnings".
Thomas
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems