projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8d0e8e
)
write_riemann: enable TCP keepalive on network socket
author
Marc Fournier
<marc.fournier@camptocamp.com>
Sat, 13 Feb 2016 11:29:21 +0000
(12:29 +0100)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 9 Aug 2016 09:06:57 +0000
(11:06 +0200)
src/write_riemann.c
patch
|
blob
|
history
diff --git
a/src/write_riemann.c
b/src/write_riemann.c
index
10f8958
..
f143723
100644
(file)
--- a/
src/write_riemann.c
+++ b/
src/write_riemann.c
@@
-112,6
+112,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);