1 diff -dur cacti-plugin-thold-0.4.9.orig/thold/thold_functions.php cacti-plugin-thold-0.4.9/thold/thold_functions.php
2 --- cacti-plugin-thold-0.4.9.orig/thold/thold_functions.php 2012-12-11 17:47:07.000000000 +0100
3 +++ cacti-plugin-thold-0.4.9/thold/thold_functions.php 2012-12-11 17:48:34.789180077 +0100
5 thold_debug('Threshold Baseline check breached');
8 - $ra = ($item['bl_fail_count'] > $bl_fail_trigger && ($item['bl_fail_count'] % ($item['repeat_alert'] == '' ? $realert : $item['repeat_alert'])) == 0);
9 + $ra = ($item['bl_fail_count'] > $bl_fail_trigger && ($item['bl_fail_count'] % ($item['repeat_alert'] == 0 ? $realert : $item['repeat_alert'])) == 0);
11 $notify = ($item['bl_fail_count'] == $bl_fail_trigger || $ra);