projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Lua plugin: turn the collectd functions into a lib
[collectd.git]
/
src
/
write_riemann.c
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
10f8958
..
0ed0260
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-31,7
+31,6
@@
#include "collectd.h"
#include "common.h"
#include "collectd.h"
#include "common.h"
-#include "configfile.h"
#include "plugin.h"
#include "utils_cache.h"
#include "utils_complain.h"
#include "plugin.h"
#include "utils_cache.h"
#include "utils_complain.h"
@@
-112,6
+111,8
@@
static int wrr_connect(struct riemann_host *host) /* {{{ */
}
}
}
}
+ set_sock_opts(riemann_client_get_fd(host->client));
+
c_release(LOG_INFO, &host->init_complaint,
"write_riemann plugin: Successfully connected to %s:%d", node,
port);
c_release(LOG_INFO, &host->init_complaint,
"write_riemann plugin: Successfully connected to %s:%d", node,
port);