Skip to content

Commit

Permalink
Fixing #5111 - DSStats/Boost Warnings
Browse files Browse the repository at this point in the history
Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing
  • Loading branch information
TheWitness committed Dec 22, 2022
1 parent ca5fac5 commit 7f11bfb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions lib/dsstats.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 7f11bfb

Please sign in to comment.