X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fthreshold.c;h=7df4d616a977cb5ca53028c6808b08c1c580ba80;hb=a15042009febe214f7d5778e381bf990422f3b72;hp=d4cfd6ea922ef2dbc984e6ca137f28774aa6ed68;hpb=d6021a800b12c89b5a78877af2c5b9abc1a8e609;p=collectd.git 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;