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

Viewing graphs before the poller has run for the first time can produce unexpected errors #3504

Closed
TheWitness opened this issue Apr 25, 2020 · 0 comments
Labels
bug Undesired behaviour confirmed Bug is confirm by dev team resolved A fixed issue
Milestone

Comments

@TheWitness
Copy link
Member

TheWitness commented Apr 25, 2020

Describe the bug

If your settings table include an empty poller_interval, creating poller items will generate division by zero error.

To Reproduce

Steps to reproduce the behavior:

  1. In mysql set the poller_interval to zero.

  2. Create graphs

  3. Goto the Cacti.log

  4. See error

Expected behavior

Cacti should not log errors such as this.

Additional context

Cacti forum post here: https://forums.cacti.net/viewtopic.php?f=2&t=60905&p=282697#p282697

@TheWitness TheWitness 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 Apr 25, 2020
@TheWitness TheWitness added this to the 1.2.12 milestone Apr 25, 2020
TheWitness added a commit that referenced this issue Apr 25, 2020
In rare cases where Cacti has no poller_interval set, errors are thrown
@TheWitness TheWitness added the resolved A fixed issue label Apr 25, 2020
@netniV netniV added the confirmed Bug is confirm by dev team label Apr 26, 2020
@netniV netniV changed the title In rare cases where Cacti has no poller_interval set, errors are thrown Viewing graphs before the poller has run for the first time can produce unexpected errors May 3, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2020
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