From a15042009febe214f7d5778e381bf990422f3b72 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn?= Date: Tue, 18 Jun 2013 16:43:46 +0200 Subject: [PATCH] threshold plugin: Fix the "Interesting" configuration option. Signed-off-by: Florian Forster --- src/threshold.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/threshold.c b/src/threshold.c index d4cfd6ea..7df4d616 100644 --- a/src/threshold.c +++ b/src/threshold.c @@ -943,12 +943,12 @@ static int ut_missing (const value_list_t *vl, char identifier[6 * DATA_MAX_NAME_LEN]; notification_t n; - /* dispatch notifications for "interesting" values only */ if (threshold_tree == NULL) return (0); th = threshold_search (vl); - if (th == NULL) + /* dispatch notifications for "interesting" values only */ + if ((th == NULL) || ((th->flags & UT_FLAG_INTERESTING) == 0)) return (0); missing_time = cdtime () - vl->time; -- 2.30.2