Friends,<br>The ocf:pacemaker:Dummy example resource agent script specifies a default monitoring interval (10)<br>which I assume is 10 seconds. This seems like the appropriate place to specify this interval, ie.<br>the resource implementation knows how heavy weight the monitor is and what is a good compromise, etc.<br>
However, using the command line crm configuration I'm unable to get the monitor to be called with<br>overiding this default, eg:<br><br>primitive foo ocf:pacemaker:Dummy op monitor interval=20s<br><br>Without the option, monitor isn't called; without specifiying the interval the option fails.<br>
I'd prefer not to configure a monitor interval for each instence of the every resource.<br><br>- Is there a way to opt-in for enabling the monitor within the resource definition (script)?<br>- Is there a way to configure the monitor option in the crm command syntax without specifying the interval?<br>
<br>Thanks for any help!<br>Alan<br><br>