Frequently in the cacti webinterface I get the error message:
Warning: Division by zero in /usr/local/cacti-0.8.6i/lib/api_poller.php on line 109
For example, when saving device settings, when rebuilding the poller
cache etc..
This started occurring out of the blue when adding a new device
not different from aleady existing devices.
I use 0.8.6i and 1minutepolling patch although I only poll every 5min
I just did not know If I needed to revert the patch so I left it in...
lines 108-109 from api_poller.php
Code: Select all
$modulus = $rrd_step / $poller_interval;
$rrd_next_step = $poller_interval * ($rrd_step_counter % $modulus);