Skip to content

When boost does not find an initial time, numeric errors can be raised #3277

Closed

Description

@bmfmancini

cacti 1.2.9

Seeing errors coming from Boost which I found is causing Boost to miss RRD updates

2020/02/21 11:00:09 - BOOST WARNING: RRD Update Warning '' for Local Data ID '4993'
2020/02/21 11:00:09 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_boost.php[137]:output_rrd_data(), /poller_boost.php[312]:boost_process_local_data_ids(), /poller_boost.php[608]:boost_process_output(), /poller_boost.php[641]:boost_rrdtool_function_update(), /lib/boost.php[1194]:boost_rrdtool_function_create(), /lib/boost.php[1070]:CactiErrorHandler())
2020/02/21 11:00:09 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/boost.php on line: 1070
2020/02/21 11:00:09 - BOOST WARNING: RRD Update Warning '' for Local Data ID '4992'
2020/02/21 11:00:09 - CMDPHP PHP ERROR WARNING Backtrace: (/poller_boost.php[137]:output_rrd_data(), /poller_boost.php[312]:boost_process_local_data_ids(), /poller_boost.php[452]:boost_process_output(), /poller_boost.php[641]:boost_rrdtool_function_update(), /lib/boost.php[1194]:boost_rrdtool_function_create(), /lib/boost.php[1070]:CactiErrorHandler())
2020/02/21 11:00:09 - ERROR PHP WARNING: A non-numeric value encountered in file: /var/www/html/cacti/lib/boost.php on line: 1070

Activity

  1. bmfmancini commented on Feb 21, 2020

    @bmfmancini
    MemberAuthor

    here is line 1070

    /* back off the initial time to allow updates */
    $initial_time -= 300;

  2. netniV commented on Feb 21, 2020

    @netniV
    Member

    That is the correct line. The reason is that initial time is actually initialised to '' rather than 0.

  3. changed the title [-]cacti 1.2.9 Boost errors[/-] [+]When boost does not find an initial time, numeric errors can be raised[/+] on Feb 21, 2020
  4. added a commit that references this issue on Feb 21, 2020
    69e1a23
  5. added this to the 1.2.10 milestone on Feb 21, 2020
  6. added a commit that references this issue on Feb 22, 2020
    35b0ca8
  7. self-assigned this
    on Feb 23, 2020
  8. locked and limited conversation to collaborators on Jun 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugUndesired behaviourresolvedA fixed issue

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions