>>> Peter Kruse <[EMAIL PROTECTED]> 16.07.2007 10:58 >>> >According to http://www.linux-ha.org/OCFResourceAgent >a Resource Agent is required to support the monitor >action. But in the MailTo agent I find: > >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?
1) MailTo RA does have the monitor call. So it can be called and the required API is fullfilled. 2) In the case of MailTo the output of 'monitor' is a warning to the log. You can monitor (requirement) but you need not. 3) 'monitor' doesn't make sense to MailTo as this is a 'oneshot' RA, because there is no ongoing process after calling start. Does this help? Best regards Andreas Mock _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
