new monitor routines

new monitor routines
This commit is contained in:
MassimilianoPinto
2014-05-28 15:44:51 +02:00
parent d0a30748ab
commit fe0fcd75e4
5 changed files with 36 additions and 4 deletions

View File

@ -58,6 +58,8 @@ typedef struct {
char *defaultPasswd; /**< Default password for monitoring */
unsigned long interval; /**< Monitor sampling interval */
unsigned long id; /**< Monitor ID */
int replicationHeartbeat; /**< Monitor flag for MySQL replication heartbeat */
int master_id; /**< Master server-id for MySQL Master/Slave replication */
MONITOR_SERVERS *databases; /**< Linked list of servers to monitor */
} MYSQL_MONITOR;