add a mechanism where the ctdb daemon will run a usercontrolled script when the node...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Mar 2009 03:23:31 +0000 (14:23 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Tue, 31 Mar 2009 03:23:31 +0000 (14:23 +1100)
commitce534a83a05dbd40238e4eee0669d60ff396f935
tree71cda8dc8d795000a643ac1ee5c3694efe1f4f5d
parent274a4a1fe2e016f33296ebfc5ed6337ce3141d06
add a mechanism where the ctdb daemon will run a usercontrolled script when the node status changes to/from UNHEALTHY state.

This would allow a sysadmin to set up ctdb to send an email/snmptrap/... when the status of the node changes.
config/ctdb.init
config/ctdb.sysconfig
include/ctdb_private.h
server/ctdb_monitor.c
server/ctdbd.c