<div>Hi,</div>
<div> </div>
<div>I have written a custom resource script that starts,  stops and "meta-data" 's with the correct return  value (no error).</div>
<div> </div>
<div>Everything seems to work fine except the fact that rgmanager never runs the custom monitor action defined in my resource metadata.</div>
<div> </div>
<div>I have lowered the interval value for monitor action to 10 (  are the interval and timeout units in seconds by default ?) but nothing happens.</div>
<div> </div>
<div>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:</div>
<div> </div>
<div>----------------------------------------------8<--------------------------------------</div>
<div>
<p>case $1 in </p>
<p>start)                 ....................</p>
<p>                       ;;</p>
<p>stop)                ..........................</p>
<p>                      ;;</p>
<p>monitor)            ocf_log debug "at `/bin/date +%H:%M:%S`, launching monitor"<br>                        check_conf<br>                        check_status<br>                        check_md_state<br>                        if [ $? -eq 33 ]; then<br>
                                repair<br>                        fi<br>                        ;;</p>
<p>meta-data)        cat `echo $0 | sed 's/^\(.*\)\.sh$/\1.metadata/'`<br>                        exit $OCF_SUCCESS<br>                        ;;</p>
<p>*) echo "usage: $0 {start|stop|monitor|meta-data}"<br>                ;;<br>esac<br>---------------------------------------->8------------------------------------------------</p></div>
<div> </div>
<div>Any idea ? Thanks</div>
<div> </div>
<div>attached my meta-data </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>