Description of problem: Pacemaker's crm_resource command-line tool has the --force-check option to directly run an OCF resource agent's monitor action, and --validate to directly run an agent's validate-all action. The recently adopted OCF Resource Agent API 1.1 standard allows those agent actions to behave differently depending on the value of the OCF_CHECK_LEVEL environment variable. A user could explicitly set that variable before calling crm_resource, but it would be more convenient to have a tool option for it.
I'm thinking this could either be a new option (e.g. --check-level <N>), or the --validate and --force-check options could be modified to take the check level as an optional argument (e.g. --validate to leave OCF_CHECK_LEVEL unset and --validate 10 to set OCF_CHECK_LEVEL to 10).