Heartbeat-agents is a project mainly written in ..., it's free.
A collection of heartbeat/pacemaker resource agents I use
A collection of heartbeat resource agents I use