[Linux-HA] Confusion about MailTo RA and monitoring
dk at in-telegence.net
Mon Jul 16 03:05:07 MDT 2007
> ocf_log warn "Don't stat/monitor me! MailTo is a pseudo resource agent,
> so the status reported may be incorrect"
> That indicates in my cib I should not define a monitor action
> for the MailTo agent. So my first question is:
> Why is it legal to not define a monitor action while it is
> required for any resource agent to support monitoring?
First of all: If you do not want to have a monitor action in your custom
RA, no one forces you to really implement one. The script should just
not return an error when called with the monitor parameter.
The MailTo Agent does not effectively run a service. It just sends an
email when its started and stopped so you can inform an admin via email
that something is happening if you constraint this RA with a service. So
as there is nothing to monitor, you should not monitor this RA, as it
does not make any sense, it would just produce load.
More information about the Linux-HA