summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dcd0b4f)
raw | patch | inline | side by side (parent: dcd0b4f)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Mon, 10 Oct 2016 14:44:40 +0000 (16:44 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 12 Oct 2016 14:49:56 +0000 (16:49 +0200) |
I found this in my logs:
collectd[4678]: powerdns plugin: submit: Not found in lookup table: questions#012 = 98797645;
The octal #012 is '\n'. Add a space before the newline so the default
command is split into keys correctly.
Signed-off-by: Florian Forster <octo@collectd.org>
collectd[4678]: powerdns plugin: submit: Not found in lookup table: questions#012 = 98797645;
The octal #012 is '\n'. Add a space before the newline so the default
command is split into keys correctly.
Signed-off-by: Florian Forster <octo@collectd.org>
src/powerdns.c | patch | blob | history |
diff --git a/src/powerdns.c b/src/powerdns.c
index c9e9359acca8adec99e8a5fbbcdd04dc5d708929..1d2516efbc980786e02752018e167a67ea4804da 100644 (file)
--- a/src/powerdns.c
+++ b/src/powerdns.c
#define RECURSOR_SOCKET LOCALSTATEDIR"/run/pdns_recursor.controlsocket"
#define RECURSOR_COMMAND "get noerror-answers nxdomain-answers " \
"servfail-answers sys-msec user-msec qa-latency cache-entries cache-hits " \
- "cache-misses questions\n"
+ "cache-misses questions \n"
struct list_item_s;
typedef struct list_item_s list_item_t;