From 0d537d56273b8be19dd87b3ec933de575fa2e558 Mon Sep 17 00:00:00 2001 From: "J. Javier Maestro" Date: Mon, 3 Jun 2013 19:04:29 +0200 Subject: [PATCH] write_graphite plugin: Adding UDP support to docs, README, etc. --- README | 2 +- src/collectd.conf.in | 1 + src/collectd.conf.pod | 11 ++++++++--- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/README b/README index 04e87abf..4a125bd7 100644 --- a/README +++ b/README @@ -387,7 +387,7 @@ Features done. - write_graphite - Sends data to Carbon, the storage layer of Graphite. + Sends data to Carbon, the storage layer of Graphite using TCP or UDP. - write_http Sends the values collected by collectd to a web-server using HTTP POST diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 4a88e664..3788455f 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -1091,6 +1091,7 @@ # # Host "localhost" # Port "2003" +# Protocol "udp" # Prefix "collectd" # Postfix "collectd" # StoreRates true diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 541af4ce..bce17bd7 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -5837,9 +5837,9 @@ iptables to feed data for the guest IPs into the iptables plugin. The C plugin writes data to I, an open-source metrics storage and graphing project. The plugin connects to I, the data layer -of I, and sends data via the "line based" protocol (per default using -portE2003). The data will be sent in blocks of at most 1428 bytes to -minimize the number of network packets. +of I, via I or I and sends data via the "line based" +protocol (per default using portE2003). The data will be sent in blocks +of at most 1428 bytes to minimize the number of network packets. Synopsis: @@ -5847,6 +5847,7 @@ Synopsis: Host "localhost" Port "2003" + Protocol "udp" Prefix "collectd" @@ -5864,6 +5865,10 @@ Hostname or address to connect to. Defaults to C. Service name or port number to connect to. Defaults to C<2003>. +=item B I + +Protocol to use when connecting to I. Defaults to C. + =item B I When set, I is added in front of the host name. Dots and whitespace are -- 2.30.2