MySQL 26.10.0
Source Code Documentation
health_monitor_system_vars.cc File Reference
#include "health_monitor_system_vars.h"
#include <algorithm>
#include <array>
#include <string>
#include "health_monitor.h"
#include "health_monitor_configuration.h"
#include "health_monitor_disk.h"
#include "health_monitor_disk_forecaster.h"
#include "health_monitor_log.h"
#include "health_monitor_periodic_reporter.h"
#include "health_monitor_query.h"
#include "health_monitor_triggered_reporter.h"
#include "health_monitor_util.h"

Namespaces

namespace  hm
 
namespace  hm::anonymous_namespace{health_monitor_system_vars.cc}
 

Typedefs

using hm::anonymous_namespace{health_monitor_system_vars.cc}::Check_FN = int(MYSQL_THD, SYS_VAR *, void *, struct st_mysql_value *)
 

Functions

int hm::anonymous_namespace{health_monitor_system_vars.cc}::register_system_var (Sysvar_base &sysvar, void *args)
 Register one system variable. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::unregister_system_var (Sysvar_base &sysvar)
 Unregister one system variable. More...
 
void hm::anonymous_namespace{health_monitor_system_vars.cc}::update_bool_var (MYSQL_THD, SYS_VAR *, void *val_ptr, const void *checked)
 
void hm::anonymous_namespace{health_monitor_system_vars.cc}::update_integer_var (MYSQL_THD, SYS_VAR *, void *val_ptr, const void *checked)
 
void hm::anonymous_namespace{health_monitor_system_vars.cc}::update_ullong_var (MYSQL_THD, SYS_VAR *, void *val_ptr, const void *checked)
 
void hm::anonymous_namespace{health_monitor_system_vars.cc}::update_string_var (MYSQL_THD, SYS_VAR *, void *val_ptr, const void *checked)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_range_int (sv_int &sysvar, MYSQL_THD, SYS_VAR *, void *new_value, st_mysql_value *value)
 Generic range check for signed integer Sysvar. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_range_u64 (sv_ulong &meta, MYSQL_THD, SYS_VAR *, void *new_value, st_mysql_value *value)
 Unsigned 64-bit variant (val_int still used, guard negatives). More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_status_interval (MYSQL_THD thd, SYS_VAR *sv, void *new_value, st_mysql_value *value)
 Thin forwarders, each matches the fixed prototype for the service API. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_sample_interval (MYSQL_THD thd, SYS_VAR *sv, void *new_value, st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_retention (MYSQL_THD thd, SYS_VAR *sv, void *new_value, st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_monitored (MYSQL_THD, SYS_VAR *, void *new_value, st_mysql_value *value)
 Validate the configured path monitored by the Disk Collector. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_duration (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_level (MYSQL_THD thd, SYS_VAR *sv, void *new_value, st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_percent (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_critical_level (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_warning_level (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_level (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_time (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_max_cycles (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_increment (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_window (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 Check that the disk_recovery_window is valid. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_sample_interval (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 Check that the memory sample interval is valid. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_retention (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 Check that the memory_retention is valid. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_warning_level (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 Check for a valid memory warning level. More...
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_report_definition (MYSQL_THD, SYS_VAR *, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_system_sample_interval (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 
int hm::anonymous_namespace{health_monitor_system_vars.cc}::check_system_retention (MYSQL_THD thd, SYS_VAR *sv, void *new_value, struct st_mysql_value *value)
 

Variables

static constexpr auto hm::sysvar_prefix {"health_monitor"}
 
static constexpr char hm::default_filename [] {""}
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_status_interval
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_sample_interval
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_retention
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_monitored
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_duration
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_level
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_percent
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_low_space_critical_level
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_warning_level
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_level
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_time
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_max_cycles
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_increment
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_disk_recovery_window
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_sample_interval
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_retention
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_memory_warning_level
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_report_definition
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_system_sample_interval
 
Check_FN hm::anonymous_namespace{health_monitor_system_vars.cc}::check_system_retention