Skip to content

When using Boost for the first time, warnings may appear #6173

@arno-st

Description

@arno-st

On a release of cacti 1.2.29 (not the latest) I have a bunch of error with boost.
I still see the poller_output_boost_arch (152 of them).

and in the log I got those errors:
13/03/2025 08:16:05 - CMDPHP PHP ERROR Backtrace: (CactiShutdownHandler()) 13/03/2025 08:16:05 - ERROR PHP ERROR: Uncaught TypeError: numfmt_format(): Argument #2 ($num) must be of type int|float, string given in /usr/share/cacti/include/global_languages.php:881 Stack trace: #0 /usr/share/cacti/include/global_languages.php(881): numfmt_format() #1 /usr/share/cacti/utilities.php(2835): number_format_i18n() #2 /usr/share/cacti/utilities.php(84): boost_display_run_status() #3 {main} thrown in file: /usr/share/cacti/include/global_languages.php on line: 881

And this one too:
13/03/2025 00:56:36 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_boost.php[216]:boost_log_statistics(), /poller_boost.php[1274]:CactiErrorHandler()) 13/03/2025 00:56:36 - ERROR PHP WARNING: Undefined array key "rrdupdate" in file: /usr/share/cacti/poller_boost.php on line: 1274

Any clue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourconfirmedBug is confirm by dev teamresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions