Division by zero! [solved]

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
mattzgeek
Posts: 2
Joined: Tue Jul 23, 2013 6:21 am

Division by zero! [solved]

Post by mattzgeek »

Hey,

When my thold installation (latest version) sends out a "Restored to normal" email - It has a result of "0"

Also, there is a line in the cacti.log of the following:

Code: Select all

PHP Warning:  Division by zero in /var/www/html/cacti/plugins/thold/thold_functions.php on line 569
PHP Warning:  Division by zero in /var/www/html/cacti/plugins/thold/thold_functions.php on line 569
Line 569 =

Code: Select all

                                       $currentval = $currentval / $polling_interval;
Any ideas what this is and how to fix it?

Thanks,

Matt
Last edited by mattzgeek on Fri Jul 26, 2013 4:43 am, edited 1 time in total.
mattzgeek
Posts: 2
Joined: Tue Jul 23, 2013 6:21 am

Re: Division by zero!

Post by mattzgeek »

Just so you know,

I've resolved this - After having restarted the Cacti installation multiple times. I realised that I'd had a duplicate poller cron which was causing the problem. :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest