summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5090238)
raw | patch | inline | side by side (parent: 5090238)
author | Björn <bjoern@abox.el1t3.org> | |
Tue, 18 Jun 2013 14:43:46 +0000 (16:43 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Tue, 18 Jun 2013 14:44:48 +0000 (16:44 +0200) |
Signed-off-by: Florian Forster <octo@collectd.org>
src/threshold.c | patch | blob | history |
diff --git a/src/threshold.c b/src/threshold.c
index d4cfd6ea922ef2dbc984e6ca137f28774aa6ed68..7df4d616a977cb5ca53028c6808b08c1c580ba80 100644 (file)
--- a/src/threshold.c
+++ b/src/threshold.c
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;