notification

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
wwolkers
Posts: 24
Joined: Thu Sep 14, 2006 6:44 am

notification

Post by wwolkers »

I have send notification set to on in the settings page, cause I want notifications.

now I have one item, which reached it's threshold, and somebody is working on it, but I can't fix it, so I thought I'd turn off notification for that single item.

went to the threshold, and set notification to force: off

doesn't work, I'm still getting emails about this threshold :(

I traced this problem to check-thold.php, the following code:

if ($global_notify_enabled || $item["notify_default"] != "off")
thold_mail($global_alert_address, '', $subject, $msg, $file_array);

changing all the if's to:

if (($global_notify_enabled && ($item["notify_default"] != "off")) || ($item["notify_default"] == "on"))

fixed the problem for me.
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Um... that isn't what that option is used for. That option is for disabling of Global Notification for that threshold.

Instead, try unchecking the box at the top of the threshold that says Enabled.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest