Overhaul monitor_common functions and move into monitor.c
This commit is contained in:
36
server/include/def_monitor_event.h
Normal file
36
server/include/def_monitor_event.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* To change this license header, choose License Headers in Project Properties.
|
||||
* To change this template file, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
|
||||
/*
|
||||
* File: def_event.h
|
||||
* Author: mbrampton
|
||||
*
|
||||
* Created on 18 November 2015, 15:21
|
||||
*/
|
||||
|
||||
ADDITEM( UNDEFINED_MONITOR_EVENT, undefined ),
|
||||
ADDITEM( MASTER_DOWN_EVENT, master_down ),
|
||||
ADDITEM( MASTER_UP_EVENT, master_up ),
|
||||
ADDITEM( SLAVE_DOWN_EVENT, slave_down ),
|
||||
ADDITEM( SLAVE_UP_EVENT, slave_up ),
|
||||
ADDITEM( SERVER_DOWN_EVENT, server_down ),
|
||||
ADDITEM( SERVER_UP_EVENT, server_up ),
|
||||
ADDITEM( SYNCED_DOWN_EVENT, synced_down ),
|
||||
ADDITEM( SYNCED_UP_EVENT, synced_up ),
|
||||
ADDITEM( DONOR_DOWN_EVENT, donor_down ),
|
||||
ADDITEM( DONOR_UP_EVENT, donor_up ),
|
||||
ADDITEM( NDB_DOWN_EVENT, ndb_down ),
|
||||
ADDITEM( NDB_UP_EVENT, ndb_up ),
|
||||
ADDITEM( LOST_MASTER_EVENT, lost_master ),
|
||||
ADDITEM( LOST_SLAVE_EVENT, lost_slave ),
|
||||
ADDITEM( LOST_SYNCED_EVENT, lost_synced ),
|
||||
ADDITEM( LOST_DONOR_EVENT, lost_donor ),
|
||||
ADDITEM( LOST_NDB_EVENT, lost_ndb ),
|
||||
ADDITEM( NEW_MASTER_EVENT, new_master ),
|
||||
ADDITEM( NEW_SLAVE_EVENT, new_slave ),
|
||||
ADDITEM( NEW_SYNCED_EVENT, new_synced ),
|
||||
ADDITEM( NEW_DONOR_EVENT, new_donor ),
|
||||
ADDITEM( NEW_NDB_EVENT, new_ndb ),
|
Reference in New Issue
Block a user