you are missing the resource name, try something like this:

configure primitive myresource lsb:cups \
   > op monitor interval=120

2014-12-16 23:19 GMT+01:00 Dave Botsch <[email protected]>:
> Hi.
>
> crmsh 2.1 on rhel6.6/64 .
>
> Looks like crmsh no longer allows one to set up a monitor on an "lsb"
> primitive?
>
> Eg:
>
> crm(cups)# configure primitive lsb:cups \
>    > op monitor interval=120
> ERROR: syntax in primitive: Unknown arguments: monitor interval=120 near
> <monitor> parsing 'primitive lsb:cups op monitor interval=120'
>
>
> which is bad, since, according to pacemaker docs:
>
>         By default, the cluster will not ensure your resources are still
>         healthy. To instruct the cluster to do this, you need to add a
>         monitor operation to the resource's definition
>
> Does development or something fix this?
>
> Thanks.
>
> ps this is clearly a change, since I have previously successfully set up
> monitor intervals on lsb resources... eg:
>
>         primitive Coral lsb:opencoral \
>                 op monitor interval=120 \
>                 meta target-role=Started
>
>
>
>
>
> --
> ********************************
> David William Botsch
> Programmer/Analyst
> @CNFComputing
> [email protected]
> ********************************
> _______________________________________________
> Linux-HA mailing list
> [email protected]
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



-- 
esta es mi vida e me la vivo hasta que dios quiera
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to