diff --git a/CHANGELOG b/CHANGELOG index 729ceaa3e7..368cb79732 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -112,6 +112,7 @@ Cacti CHANGELOG -issue#5103: When Remote Data Collector changes status a full page refresh or logout should occur -issue#5105: Fix PHP 8 error in ss_host_disk.php - function abs with empty value -issue#5107: Block Cacti install is session.auto_start is enabled +-issue#5111: Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing -feature#1100: Structured path not created when using remote poller and Update On-Demand -feature#1392: AJAX handled errors do not notify Admins that page errors exist -feature#2239: Allow Import and Export to be more controlled diff --git a/lib/dsstats.php b/lib/dsstats.php index 6b1c53daac..e99c532d96 100644 --- a/lib/dsstats.php +++ b/lib/dsstats.php @@ -941,6 +941,13 @@ function dsstats_poller_output(&$rrd_update_array) { function dsstats_boost_bottom() { global $config; + global $total_user, $total_system, $total_real, $total_dsses; + + $total_user = 0; + $total_system = 0; + $total_real = 0; + $total_dsses = 0; + if (read_config_option('dsstats_enable') == 'on') { include_once($config['base_path'] . '/lib/rrd.php');