diff options
author | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:29 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:29 +0000 |
commit | 30b94862648cdbf4f537337d2e2f01c369a9dee9 (patch) | |
tree | f0219dd8bd744fc09899bd0266402e05a4bff854 /src/plugins_d.c | |
parent | Imported Upstream version 1.0.0 (diff) | |
download | netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.tar.xz netdata-30b94862648cdbf4f537337d2e2f01c369a9dee9.zip |
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'src/plugins_d.c')
-rw-r--r--[-rwxr-xr-x] | src/plugins_d.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/plugins_d.c b/src/plugins_d.c index eb8f141b8..b8524d99c 100755..100644 --- a/src/plugins_d.c +++ b/src/plugins_d.c @@ -16,6 +16,7 @@ #include "rrd.h" #include "popen.h" #include "plugins_d.h" +#include "../config.h" struct plugind *pluginsd_root = NULL; @@ -218,7 +219,7 @@ void *pluginsd_worker_thread(void *arg) break; } - if(unlikely(st->debug)) debug(D_PLUGINSD, "PLUGINSD: '%s' is requesting a END on chart %s", cd->fullfilename, st->id); + if(unlikely(st->debug)) debug(D_PLUGINSD, "PLUGINSD: '%s' is requesting an END on chart %s", cd->fullfilename, st->id); rrdset_done(st); st = NULL; @@ -406,7 +407,7 @@ void *pluginsd_worker_thread(void *arg) } if(unlikely(!count && cd->enabled)) { - error("PLUGINSD: '%s' (pid %d) does not generate usefull output. Waiting a bit before starting it again.", cd->fullfilename, cd->pid); + error("PLUGINSD: '%s' (pid %d) does not generate useful output. Waiting a bit before starting it again.", cd->fullfilename, cd->pid); sleep((unsigned int) (cd->update_every * 10)); } @@ -528,5 +529,3 @@ void *pluginsd_main(void *ptr) pthread_exit(NULL); return NULL; } - - |