A resource type implementation optionally can include a program to monitor the performance of a resource, report on its status, or take action on resource failure. The Monitor_start, Monitor_stop, and Monitor_check methods support the implementation of a resource monitor in a resource type implementation.
This optional method is called to start a monitor for the resource after the resource is started.
This optional method is called to stop a resource's monitor before the resource is stopped.
This optional method is called to assess the reliability of a node before a resource group is relocated to the node. The Monitor_check method must be implemented so that it does not conflict with the concurrent running of another method.