[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] rgmanager ignoring monitor action for a custom resource script



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]