MXS-2219 Implement rudimentary Clustrix monitoring

The monitor now pings the health check ports of the Clustrix nodes.
A response translates to RUNNING and a non-response to DOWN.
This commit is contained in:
Johan Wikman
2018-12-18 15:50:45 +02:00
parent 839b9b781d
commit 4512295e40
4 changed files with 172 additions and 0 deletions

View File

@ -17,3 +17,6 @@
#include <maxscale/ccdefs.hh>
#include <maxbase/log.hh>
#define CLUSTER_MONITOR_INTERVAL_NAME "cluster_monitor_interval"
const long DEFAULT_CLUSTER_MONITOR_INTERVAL_VALUE = 60000;
#define DEFAULT_CLUSTER_MONITOR_INTERVAL_ZVALUE "60000"