Table 7.15 Health Monitor System Variable Summary
General
health_monitor.status_intervalCommand-Line Format --health-monitor.status-interval=#System Variable health_monitor.status_intervalScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 10Minimum Value 0Maximum Value 1000The frequency, in multiples of the collector's sample rate, at which status messages are sent to the error log table. For example, if
status_interval=10andhealth_monitor.disk_sample_rate=60, the Health Monitor sends a status message to theerror_logtable every 600 seconds.
Disk Collector
-
Command-Line Format --health-monitor.disk-running[={OFF|ON}]System Variable health_monitor.disk_runningScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether to enable the Health Monitor's disk monitor.
health_monitor.disk_sample_rateCommand-Line Format --health-monitor.disk-sample-rate=#System Variable health_monitor.disk_sample_rateScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 60Minimum Value 1Maximum Value 864000Unit seconds The frequency of disk data collection, in seconds. By default, data is collected every 60 seconds. The minimum sample rate is 1 (every second), and the maximum is 86400 seconds (once a day).
-
Command-Line Format --health-monitor.disk-retention=#System Variable health_monitor.disk_retentionScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 86400Minimum Value 1Maximum Value 864000Unit seconds Disk sample retention in seconds. If
health_monitor.disk_sample_rate=60andhealth_monitor.disk_retention=86400, 1440 samples are retained, with the oldest sample deleted every 60 seconds. -
Command-Line Format --health-monitor.disk-monitored=dir_nameSystem Variable health_monitor.disk_monitoredScope Global Dynamic No SET_VARHint AppliesNo Type Directory name Default Value emptyPath on the filesystem to monitor. Empty or valid absolute path of maximum 511 bytes length. Empty selects the data directory filesystem.
health_monitor.disk_fallback_enableCommand-Line Format --health-monitor.disk-fallback-enable[={OFF|ON}]System Variable health_monitor.disk_fallback_enableScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value OFFIf there is a significant or sustained shortage of disk space, Health Monitor sets the system variables,
SUPER_READ_ONLY=ONandOFFLINE_MODE=ON. This is called disk fencing.health_monitor.disk_fallback_forceCommand-Line Format --health-monitor.disk-fallback-force[={OFF|ON}]System Variable health_monitor.disk_fallback_forceScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether to enable termination of blocking foreground sessions during attempts to enable disk fencing.
health_monitor.disk_low_space_durationCommand-Line Format --health-monitor.disk-low-space-duration=#System Variable health_monitor.disk_low_space_durationScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 300Minimum Value 1Maximum Value 86400Unit seconds The duration in seconds for which the available disk space can remain below either
health_monitor.disk_low_space_levelorhealth_monitor.disk_low_space_percent, whichever is lower, before Health Monitor setsSUPER_READ_ONLY=ONandOFFLINE_MODE=ON.health_monitor.disk_low_space_levelCommand-Line Format --health-monitor.disk-low-space-level=#System Variable health_monitor.disk_low_space_levelScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 5000Minimum Value 0Maximum Value 18446744073709551614Unit MiB The low space threshold for the storage reserve, in MiB. If the available disk space drops below this percentage of total available storage for longer than the value of
health_monitor.disk_low_space_duration, Health Monitor setsSUPER_READ_ONLY=ONandOFFLINE_MODE=ON.health_monitor.disk_low_space_percentCommand-Line Format --health-monitor.disk-low-space-percent=#System Variable health_monitor.disk_low_space_percentScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 4Minimum Value 0Maximum Value 100Unit percent The low space threshold for the storage reserve, expressed as a percentage. If the available disk space drops below this percentage of total available storage for longer than the value of
health_monitor.disk_low_space_duration, Health Monitor setsSUPER_READ_ONLY=ONandOFFLINE_MODE=ON.health_monitor.disk_low_space_critical_levelCommand-Line Format --health-monitor.disk-low-space-critical-level=#System Variable health_monitor.disk_low_space_critical_levelScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 2000Minimum Value 0Maximum Value 18446744073709551614Unit MiB The critical low disk space threshold in MiB. If the available disk space falls below this value for any duration, and
health_monitor.disk_fallback_enable=ON, Health Monitor setsSUPER_READ_ONLY=ONandOFFLINE_MODE=ON.health_monitor.disk_usage_warning_level_1Command-Line Format --health-monitor.disk-usage-warning-level-1=#System Variable health_monitor.disk_usage_warning_level_1Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 20Minimum Value 0Maximum Value 100Unit percent A percentage of available disk space above the defined
health_monitor.disk_low_space_level. If the available disk space falls below this level, the warningWARNING_DISK_USAGE_LEVEL_1is logged.health_monitor.disk_usage_warning_level_2Command-Line Format --health-monitor.disk-usage-warning-level-2=#System Variable health_monitor.disk_usage_warning_level_2Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 10Minimum Value 0Maximum Value 100Unit percent A percentage of available disk space above the defined
health_monitor.disk_low_space_level. If the available disk space falls below this level, the warningWARNING_DISK_USAGE_LEVEL_2is logged.health_monitor.disk_usage_warning_level_3Command-Line Format --health-monitor.disk-usage-warning-level-3=#System Variable health_monitor.disk_usage_warning_level_3Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 4Minimum Value 0Maximum Value 100Unit percent A percentage of available disk space above the defined
health_monitor.disk_low_space_level. If the available disk space falls below this level, the warningWARNING_DISK_USAGE_LEVEL_3is logged.health_monitor.disk_recovery_enableCommand-Line Format --health-monitor.disk-recovery-enable[={OFF|ON}]System Variable health_monitor.disk_recovery_enableScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether to enable automatic recovery from Health Monitor fencing.
health_monitor.disk_recovery_levelCommand-Line Format --health-monitor.disk-recovery-level=#System Variable health_monitor.disk_recovery_levelScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 5Minimum Value 0Maximum Value 100Unit percent The percentage of total disk space above the storage reserve.
If the available storage remains above the
health_monitor.disk_recovery_levellevel forhealth_monitor.disk_recovery_time_1seconds, the Health Monitor setsOFFLINE_MODE=OFF.If storage remains above the
health_monitor.disk_recovery_levelfor an additionalhealth_monitor.disk_recovery_time_2seconds, the Health Monitor setsSUPER_READ_ONLY=OFF.
health_monitor.disk_recovery_time_1Command-Line Format --health-monitor.disk-recovery-time-1=#System Variable health_monitor.disk_recovery_time_1Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 300Minimum Value 1Maximum Value 86400Unit seconds The amount of time (in seconds) that the available storage must remain above
health_monitor.disk_recovery_levelbefore the Health Monitor setsOFFLINE_MODE=OFF.health_monitor.disk_recovery_time_2Command-Line Format --health-monitor.disk-recovery-time-2=#System Variable health_monitor.disk_recovery_time_2Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 300Minimum Value 1Maximum Value 86400Unit seconds The additional time (in seconds) that the available storage must remain above
health_monitor.disk_recovery_levelafterhealth_monitor.disk_recovery_time_1before the Health Monitor setsSUPER_READ_ONLY=OFF.health_monitor.disk_recovery_max_cyclesCommand-Line Format --health-monitor.disk-recovery-max-cycles=#System Variable health_monitor.disk_recovery_max_cyclesScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 3Minimum Value 0Maximum Value 2147483647Unit cycles The maximum number of times that the server can be placed back into normal operating mode within the duration set by
health_monitor.disk_recovery_window.health_monitor.disk_recovery_incrementCommand-Line Format --health-monitor.disk-recovery-increment=#System Variable health_monitor.disk_recovery_incrementScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 300Minimum Value 1Maximum Value 86400Unit seconds Delay in seconds added to
health_monitor.disk_recovery_time_1andhealth_monitor.disk_recovery_time_2after each recovery cycle.health_monitor.disk_recovery_windowCommand-Line Format --health-monitor.disk-recovery-window=#System Variable health_monitor.disk_recovery_windowScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 18446744073709551614Minimum Value 0Maximum Value 86400Unit seconds The amount of time, in seconds, following the last successful recovery cycle after which the recovery count is reset.
0means the recovery count is never reset.
Disk Forecaster
health_monitor.disk_forecast_runningCommand-Line Format --health-monitor.disk-forecast-running[={OFF|ON}]System Variable health_monitor.disk_forecast_runningScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether to enable disk metric collection and forecasting.
health_monitor.disk_forecast_sample_intervalCommand-Line Format --health-monitor.disk-forecast-sample-interval=#System Variable health_monitor.disk_forecast_sample_intervalScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 60Minimum Value 10Maximum Value 86400Unit seconds The frequency, in seconds, at which disk metrics are recorded to the
disk_metrictable.health_monitor.disk_forecast_report_intervalReserved for future development.
health_monitor.disk_forecast_run_modeCommand-Line Format --health-monitor.disk-forecast-run-mode=valueSystem Variable health_monitor.disk_forecast_run_modeScope Global Dynamic Yes SET_VARHint AppliesNo Type String Default Value NORMALValid Values NORMALNONETESTSTANDBYThe run mode of the disk usage forecaster, which can be one of the following:
NONE: Do not collect disk metrics or generate forecasts.NORMAL: Collect disk metrics, generate forecasts.TEST:STANDBY: Pause disk metric collection and forecasting.
health_monitor.disk_forecast_test_filenameCommand-Line Format --health-monitor.disk-forecast-test-filename=file_nameSystem Variable health_monitor.disk_forecast_test_filenameScope Global Dynamic Yes SET_VARHint AppliesNo Type File name Default Value empty stringInput file selected for TEST mode.
Memory Collector and Reporter
-
Command-Line Format --health-monitor.memory-running[={OFF|ON}]System Variable health_monitor.memory_runningScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether to enable host and MySQL process memory collection.
health_monitor.memory_sample_rateCommand-Line Format --health-monitor.memory-sample-rate=#System Variable health_monitor.memory_sample_rateScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 60Minimum Value 1Maximum Value 86400Unit seconds Memory sample interval in seconds.
health_monitor.memory_retentionCommand-Line Format --health-monitor.memory-retention=#System Variable health_monitor.memory_retentionScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 86400Minimum Value 1Maximum Value 864000Unit seconds Memory sample retention in seconds. If
health_monitor.memory_sample_rate=60andhealth_monitor.memory_retention=86400, 1440 samples are retained, with the oldest sample deleted every 60 seconds.health_monitor.memory_usage_warning_level_1Command-Line Format --health-monitor.memory-usage-warning-level-1=#System Variable health_monitor.memory_usage_warning_level_1Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 1024Minimum Value 0Maximum Value 18446744073709551614Unit MiB An amount of available memory. If the available memory falls below this level, the warning
WARNING_MEMORY_USAGE_LEVEL_1is raised.health_monitor.memory_usage_warning_level_2Command-Line Format --health-monitor.memory-usage-warning-level-2=#System Variable health_monitor.memory_usage_warning_level_2Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 500Minimum Value 0Maximum Value 18446744073709551614Unit MiB An amount of available memory. If the available memory falls below this level, the warning
WARNING_MEMORY_USAGE_LEVEL_2is raised.health_monitor.memory_usage_warning_level_3Command-Line Format --health-monitor.disk-usage-warning-level-3=#System Variable health_monitor.memory_usage_warning_level_3Scope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 100Minimum Value 0Maximum Value 18446744073709551614Unit MiB An amount of available memory. If the available memory falls below this level, the warning
WARNING_MEMORY_USAGE_LEVEL_3is raised.health_monitor.memory_reportingReserved for future development.
health_monitor.memory_report_definitionReserved for future development.
Periodic Reporter
health_monitor.periodic_reportingReserved for future development.
health_monitor.periodic_report_definitionReserved for future development.
System Collector
-
Command-Line Format --health-monitor.system-running[={OFF|ON}]System Variable health_monitor.system_runningScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONEnable CPU, disk, memory and MySQL process statistics collection.
health_monitor.system_sample_rateCommand-Line Format --health-monitor.system-sample-rate=#System Variable health_monitor.system_sample_rateScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 60Minimum Value 1Maximum Value 864000Unit seconds System statistics sample interval in seconds.
health_monitor.system_retentionCommand-Line Format --health-monitor.system-retention=#System Variable health_monitor.system_retentionScope Global Dynamic Yes SET_VARHint AppliesNo Type Integer Default Value 86400Minimum Value 1Maximum Value 864000Unit seconds System statistics retention in seconds.
health_monitor.system_cpu_stats_historyCommand-Line Format --health-monitor.system-cpu-stats-history-running[={OFF|ON}]System Variable health_monitor.system_cpu_stats_historyScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONWhether system CPU usage statistics are collected and stored in the
system_cpu_stats_historytable. If these statistics are not stored, you can still access a snapshot on demand by querying thesystem_cpu_statstable.health_monitor.system_disk_stats_historyCommand-Line Format --health-monitor.system-disk-stats-history-running[={OFF|ON}]System Variable health_monitor.system_disk_stats_historyScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONEnable disk history rows when disk statistics are available.
health_monitor.system_memory_stats_historyCommand-Line Format --health-monitor.system-memory-stats-history-running[={OFF|ON}]System Variable health_monitor.system_memory_stats_historyScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONEnable system memory history rows.
health_monitor.system_process_stats_historyCommand-Line Format --health-monitor.system-process-stats-history-running[={OFF|ON}]System Variable health_monitor.system_process_stats_historyScope Global Dynamic Yes SET_VARHint AppliesNo Type Boolean Default Value ONEnable MySQL process history rows.