summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f9e1b3e)
raw | patch | inline | side by side (parent: f9e1b3e)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 28 Dec 2007 20:13:35 +0000 (21:13 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Fri, 28 Dec 2007 20:13:35 +0000 (21:13 +0100) |
src/utils_cache.c | patch | blob | history |
diff --git a/src/utils_cache.c b/src/utils_cache.c
index 61c0804a9ad2a416e82b3226cf9c29fe9d3f8882..5795e7db95f26153856cea77cf89e703e7b6d1b2 100644 (file)
--- a/src/utils_cache.c
+++ b/src/utils_cache.c
pthread_mutex_unlock (&cache_lock);
+ /* Do not send okay notifications for uninteresting values, i. e. values for
+ * which no threshold is configured. */
+ if (send_okay_notification > 0)
+ {
+ int status;
+
+ status = ut_check_interesting (name);
+ if (status <= 0)
+ send_okay_notification = 0;
+ }
+
if (send_okay_notification > 0)
{
notification_t n;