On Mon, 2009-08-10 at 19:11 +0200, brem belguebli wrote:
> Hi,
>  
> I have written a custom resource script that starts,  stops and
> "meta-data" 's with the correct return  value (no error).
>  
> Everything seems to work fine except the fact that rgmanager
> never runs the custom monitor action defined in my resource metadata.
>  
> I have lowered the interval value for monitor action to 10 (  are the
> interval and timeout units in seconds by default ?) but nothing
> happens.
>  
> I have added a trace to the monitor case of my resource script that
> ocf_log debug "monitor started at `date +%H:%M:%S`" but it never gets
> there:

Change "monitor" to "status|monitor" and add "status" to the metadata.

-- Lon

--
Linux-cluster mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-cluster

Reply via email to