<br><font size=2 face="sans-serif">oops, I thought the network plugin is
responsible for all collectd network transport.</font>
<br>
<br><font size=2 face="sans-serif">now I´v got my collectd client sending
data using the rrdcached plugin to my central</font>
<br><font size=2 face="sans-serif">server (verified using tcpdump), but
rrdcached is not writing any data to disk.</font>
<br>
<br><font size=2 face="sans-serif">telnetting to the port and STATS says:</font>
<br><font size=2 face="sans-serif">STATS</font>
<br><font size=2 face="sans-serif">9 Statistics follow</font>
<br><font size=2 face="sans-serif">QueueLength: 0</font>
<br><font size=2 face="sans-serif">UpdatesReceived: 0</font>
<br><font size=2 face="sans-serif">FlushesReceived: 0</font>
<br><font size=2 face="sans-serif">UpdatesWritten: 0</font>
<br><font size=2 face="sans-serif">DataSetsWritten: 0</font>
<br><font size=2 face="sans-serif">TreeNodesNumber: 0</font>
<br><font size=2 face="sans-serif">TreeDepth: 0</font>
<br><font size=2 face="sans-serif">JournalBytes: 0</font>
<br><font size=2 face="sans-serif">JournalRotate: 0</font>
<br>
<br><font size=2 face="sans-serif">so I´ve got a client sending data which
is (maybe) not received by rrdcached (no local iptables running)</font>
<br><font size=2 face="sans-serif">and therefore not written to disk.</font>
<br>
<br><font size=2 face="sans-serif">I´m stuck, what else can I do?</font>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">netstat: tcp 0
0 4.28.13.30:42217
0.0.0.0:*
LISTEN 10431/rrdcached</font>
<br><font size=2 face="sans-serif">ps: root 10431
1 0 10:27 ? 00:00:00 /opt/rrdtool_svn/bin/rrdcached
-l 4.28.13.30 -b /opt/collectd_data -F -j /opt/collectd_data/journal -w
20 -F -t 10</font>
<br>
<br><font size=2 face="sans-serif">client plugin configuration:</font>
<br><font size=2 face="sans-serif">LoadPlugin rrdcached</font>
<br><font size=2 face="sans-serif"><Plugin "rrdcached"></font>
<br><font size=2 face="sans-serif"> DaemonAddress "4.28.13.30:42217"</font>
<br><font size=2 face="sans-serif"> DataDir "/opt/collectd/var/lib/collectd/"</font>
<br><font size=2 face="sans-serif"> CreateFiles false</font>
<br><font size=2 face="sans-serif"></Plugin></font>
<br>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Sebastian Harl <sh@tokkee.org></b>
</font>
<br><font size=1 face="sans-serif">Gesendet von: collectd-bounces@verplant.org</font>
<p><font size=1 face="sans-serif">26.06.2009 17:59</font>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right></div>
<td valign=top><font size=1 face="sans-serif">collectd@verplant.org</font>
<tr>
<td>
<div align=right></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Thema </font></div>
<td valign=top><font size=1 face="sans-serif">Re: [collectd] rrdcached/collectd
ports</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><tt><font size=2>Hi Stefan,<br>
<br>
On Fri, Jun 26, 2009 at 05:09:51PM +0200, Stefan.Wiederoder@kaufland.de
wrote:<br>
> I´ve compiled a shiny rrdcached, but I´m too dumb to configure its<br>
> listening port to UDP - it´s only listening to TCP whereas my clients<br>
> use UDP 25826 to send their data?<br>
<br>
Since you're talking about port 25826 (the default port of collectd's<br>
network plugin), I'm assuming that you're trying to send data to<br>
RRDCacheD using the network plugin. That's not going to work, since<br>
those are completely unrelated. You have to use the rrdcached plugin for<br>
that purpose which in turn requires an up to date librrd that includes<br>
support for the RRD client API implementing the network protocol used by<br>
RRDCacheD.<br>
<br>
HTH,<br>
Sebastian<br>
<br>
-- <br>
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/<br>
<br>
Those who would give up Essential Liberty to purchase a little Temporary<br>
Safety, deserve neither Liberty nor Safety.
-- Benjamin Franklin<br>
<br>
[Anhang "signature.asc" gelöscht von Stefan Wiederoder/IS/KI/DE/KAUFLAND]
_______________________________________________<br>
collectd mailing list<br>
collectd@verplant.org<br>
http://mailman.verplant.org/listinfo/collectd<br>
</font></tt>
<br>