Skip to content

Boost may become disabled due to an invalid path #4549

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

Closed
browniebraun opened this issue Feb 10, 2022 · 2 comments
Closed

Boost may become disabled due to an invalid path #4549

browniebraun opened this issue Feb 10, 2022 · 2 comments
Labels
boost Boost related issue bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@browniebraun
Copy link
Member

Describe the bug

Affected version 1.2.19

While Moving and updating an existing Cacti lab instance to a new directory, I have missed to update the existing path entry for the Boost update log. This morning I found 30M records in the poller_output_boost table, but no hint in the Cacti log for any Boost update statistics nor an Boost error message. The old directory was no longer existing and that is the root cause of this seldom issue.

Please note: This is not the same as having an existing valid directory path where the destination log file is not existing as this file will then be created automatically.

To Reproduce

Steps to reproduce the behavior:

  • Change you boost log path to something not existing like /www/foo/bar/boost.log
  • Reduce the number of maximum boost records to something lower (e.g. 1000) than your number of monitored data sources to trigger an update process with the next poller run.

Expected behavior

  • At least an error message in the Cacti log would be expected, saying that the Boost log is not existing and that it cannot be created.
  • Writing poller_ouput_boost data down to the RRDs although the logging issue exists.
@browniebraun browniebraun added bug Undesired behaviour unverified Some days we don't have a clue and removed unverified Some days we don't have a clue labels Feb 10, 2022
@netniV
Copy link
Member

netniV commented Feb 10, 2022

The main cacti.log is tested before each main piece of code is run to ensure writability. We don't currently do the same thing for boost as far as I am aware. Is this the background process that is dropping out or a spawned one? Also, are you submitted a fix for it or is this for one of us?

@TheWitness TheWitness added this to the 1.2.21 milestone Feb 14, 2022
@TheWitness TheWitness added the boost Boost related issue label Feb 15, 2022
TheWitness added a commit that referenced this issue Mar 16, 2022
Invalid path for Boost logging stops Boost update process without notification
@TheWitness TheWitness modified the milestones: v1.2.21, v1.2.20 Mar 16, 2022
@TheWitness TheWitness added the resolved A fixed issue label Mar 16, 2022
@TheWitness
Copy link
Member

Pulling this one ahead.

@netniV netniV changed the title Invalid path for Boost logging stops Boost update process without notification Boost may become disabled due to an invalid path Apr 3, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
boost Boost related issue bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants