[Pacemaker] configuring the monitor interval

Alan Jones falancluster at gmail.com
Wed Mar 24 21:44:06 UTC 2010


Friends,
The ocf:pacemaker:Dummy example resource agent script specifies a default
monitoring interval (10)
which I assume is 10 seconds.  This seems like the appropriate place to
specify this interval, ie.
the resource implementation knows how heavy weight the monitor is and what
is a good compromise, etc.
However, using the command line crm configuration I'm unable to get the
monitor to be called with
overiding this default, eg:

primitive foo ocf:pacemaker:Dummy op monitor interval=20s

Without the option, monitor isn't called; without specifiying the interval
the option fails.
I'd prefer not to configure a monitor interval for each instence of the
every resource.

- Is there a way to opt-in for enabling the monitor within the resource
definition (script)?
- Is there a way to configure the monitor option in the crm command syntax
without specifying the interval?

Thanks for any help!
Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20100324/64a34639/attachment-0001.html>


More information about the Pacemaker mailing list