diff options
author | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:39 +0000 |
---|---|---|
committer | Lennart Weller <lhw@ring0.de> | 2016-04-21 12:27:39 +0000 |
commit | edff5c9db775e6e4318f3ad007df78ecae456190 (patch) | |
tree | 3677e5fcbccc776c77dd0451e5be4711068bff46 /src/plugins_d.c | |
parent | Add postrm and TODO, update service (diff) | |
parent | Imported Upstream version 1.1.0 (diff) | |
download | netdata-edff5c9db775e6e4318f3ad007df78ecae456190.tar.xz netdata-edff5c9db775e6e4318f3ad007df78ecae456190.zip |
Merge tag 'upstream/1.1.0'
Upstream version 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; } - - |