diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-12-17 12:03:48 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-12-17 12:03:48 +0300 |
commit | 763be3b0d73a408fecaaaf64e59dbf11da124349 (patch) | |
tree | 15cb4d10e5b94d6d8417e77b7a17b562c1fa27c2 /include/zbxha.h | |
parent | f5e2219fc99a9af717b63809da3387ec7ecc197e (diff) |
........S. [ZBXNEXT-7109] accept runtime commands only in active mode, added failover delay value to ha_status output
Diffstat (limited to 'include/zbxha.h')
-rw-r--r-- | include/zbxha.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/zbxha.h b/include/zbxha.h index fa690a33998..e9830f197aa 100644 --- a/include/zbxha.h +++ b/include/zbxha.h @@ -28,8 +28,9 @@ #define ZBX_IPC_SERVICE_HA_GET_NODES 4 #define ZBX_IPC_SERVICE_HA_REMOVE_NODE 5 #define ZBX_IPC_SERVICE_HA_SET_FAILOVER_DELAY 6 -#define ZBX_IPC_SERVICE_HA_LOGLEVEL_INCREASE 7 -#define ZBX_IPC_SERVICE_HA_LOGLEVEL_DECREASE 8 +#define ZBX_IPC_SERVICE_HA_GET_FAILOVER_DELAY 7 +#define ZBX_IPC_SERVICE_HA_LOGLEVEL_INCREASE 8 +#define ZBX_IPC_SERVICE_HA_LOGLEVEL_DECREASE 9 #define ZBX_IPC_SERVICE_HA_RTC_FIRST 10000 @@ -49,6 +50,7 @@ int zbx_ha_get_nodes(char **nodes, char **error); int zbx_ha_remove_node(const char *node, char **result, char **error); int zbx_ha_set_failover_delay(int delay, char **error); +int zbx_ha_get_failover_delay(int *delay, char **error); int zbx_ha_change_loglevel(int direction, char **error); const char *zbx_ha_status_str(int ha_status); |