MXS-1775 Add functions for checking disk space of servers

This commit is contained in:
Johan Wikman
2018-06-05 10:54:15 +03:00
parent 4325ab620b
commit 5172c43e29
4 changed files with 173 additions and 2 deletions

View File

@ -230,6 +230,7 @@ typedef struct monitored_server
uint64_t mon_prev_status; /**< Status before starting the current monitor loop */
uint64_t pending_status; /**< Status during current monitor loop */
bool new_event; /**< Whether an action was taken on the last event */
int64_t disk_space_checked; /**< When was the disk space checked the last time */
struct monitored_server *next; /**< The next server in the list */
} MXS_MONITORED_SERVER;