From b235b6a85baf902d4c8e11095310f20462c103a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9s=20J=2E=20D=C3=ADaz?= Date: Mon, 18 May 2009 14:09:11 +0200 Subject: [PATCH] src/plugin.c: Initiate the threshold checking again. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Hi, I have the same problem in my instalation, exactly the same scenario, I found a possible explanation in the plugin.c module. While in the 4.5 branch exists a callback to function ut_check_threshold (defined in utils_threshold.c), in the 4.6.2 (and also in 4.6.1, I think), the callback is missing, so threshold checking never runs. In fact, a grep -r ut_check_threshold over src dir, only show the definition of the function in ut_check_threshold module. I'm not sure if it's really a bug, but when I patched my code, it works fine for me :) I'm using the 4.6.2 version from tar.gz. Best regards, Andrés The regression was introduced in 65954d9b. Signed-off-by: Florian Forster --- src/plugin.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugin.c b/src/plugin.c index 74565c35..a3a71611 100644 --- a/src/plugin.c +++ b/src/plugin.c @@ -961,6 +961,9 @@ int plugin_dispatch_values (value_list_t *vl) /* Update the value cache */ uc_update (ds, vl); + /* Initiate threshold checking */ + ut_check_threshold (ds, vl); + if (post_cache_chain != NULL) { status = fc_process_chain (ds, vl, post_cache_chain); -- 2.30.2