Resource monitors, like the callback methods, need general access to resource properties. Certain system-defined resource properties are specifically for use by monitors, although the resource type implementation determines whether they are used. The monitor-related resource properties are:
Cheap_probe_interval
Thorough_probe_interval
Retry_count
Retry_interval
Status
Status_msg
The Status and Status_msg properties are to be set by the resource monitor to reflect the monitor's view of the resource state. The API provides a function, scha_resource_setstatus, that sets these properties. See the scha_resource_setstatus(3HA) and scha_resource_setstatus(1HA) man pages for details.
Although scha_resource_setstatus is of particular use to a resource monitor, any program can call it.