Pacemaker has multiple health agents under agents/ocf. Currently they have inconsistent handling of errors when obtaining the health information (CPU usage, etc.) and when setting the health attribute. In most cases they just ignore errors, potentially leading to syntax errors when trying to use the information, and giving users no clear indication that anything is wrong.
They should use the OCF degraded result (190) along with a helpful exit reason to indicate such errors.