Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

During boost processing, some DS Stats functions can cause errors #5111

Closed
sosrobert opened this issue Dec 20, 2022 · 2 comments
Closed

During boost processing, some DS Stats functions can cause errors #5111

sosrobert opened this issue Dec 20, 2022 · 2 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@sosrobert
Copy link

I wish you a nice day! We hit a bug or something. Within Cacti, the maintenance time of the statistics of the data sources is set to 11:50pm, and at this time the maintenance issues an error. Until now, it was set to midnight, so we changed it, but it didn't solve the problem.
Thanks for your supporting.

2022-12-19 23:50:10 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/dsstats.php on line: 186
2022-12-19 23:50:10 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_dsstats.php[177]:dsstats_get_and_store_ds_avgpeak_values(), /lib/dsstats.php[186]:CactiErrorHandler())
2022-12-19 23:50:10 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/dsstats.php on line: 187
2022-12-19 23:50:10 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_dsstats.php[177]:dsstats_get_and_store_ds_avgpeak_values(), /lib/dsstats.php[187]:CactiErrorHandler())
2022-12-19 23:50:10 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/dsstats.php on line: 188
2022-12-19 23:50:10 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_dsstats.php[177]:dsstats_get_and_store_ds_avgpeak_values(), /lib/dsstats.php[188]:CactiErrorHandler())

Desktop

  • OS: Ubuntu 22.04.1 LTS

  • Browser: Mozilla Firefox

  • Version: Cacti 1.2.22

@sosrobert sosrobert added bug Undesired behaviour unverified Some days we don't have a clue labels Dec 20, 2022
@TheWitness TheWitness added confirmed Bug is confirm by dev team and removed unverified Some days we don't have a clue labels Dec 22, 2022
@TheWitness
Copy link
Member

Okay, I can see how the warnings were generated. Was this on a new install?

@TheWitness TheWitness changed the title DSSTATS_GET_AND_STORE_DS_AVGPEAK_VALUES() Errors processing function dsstats_get_and_store_ds_avgpeak_values() during boost processing Dec 22, 2022
@TheWitness TheWitness changed the title Errors processing function dsstats_get_and_store_ds_avgpeak_values() during boost processing Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing Dec 22, 2022
TheWitness added a commit that referenced this issue Dec 22, 2022
Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing
TheWitness added a commit that referenced this issue Dec 22, 2022
Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing
@TheWitness TheWitness added the resolved A fixed issue label Dec 22, 2022
@TheWitness TheWitness added this to the v1.2.23 milestone Dec 22, 2022
@TheWitness
Copy link
Member

Okay, this is all fixed now. Thanks for reporting.

@netniV netniV changed the title Warnings executing function dsstats_get_and_store_ds_avgpeak_values() during boost processing During boost processing, some DS Stats functions can cause errors Dec 31, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants