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:
-
In mysql set the poller_interval to zero.
-
Create graphs
-
Goto the Cacti.log
-
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