<div dir="ltr"><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">In my test fleet (a mishmash of linux variants right now), I'm having trouble getting networking to work. I've verified with tcpdump that udp traffic is going from the clients to master. However, no rrd's are being generated on the master for the clients. How can I debug this?</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">server conf (simplified) -- a.b.c.d is master's ip:</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">LoadPlugin network</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">LoadPlugin rrdtool</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><Plugin network></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"> Listen "a.b.c.d" "9999"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"></Plugin></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">client conf (simplified):</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">LoadPlugin cpu</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">LoadPlugin df</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">LoadPlugin network</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><Plugin network></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"> Server "a.b.c.d" "9999"</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"></Plugin></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">iptable commands I ran on master to open 9999 (x.y.z.w is client ip):</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">iptables -A INPUT -p udp -s x.y.z.w -d a.b.c.d --dport 9999 -j ACCEPT</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">iptables -A OUTPUT -p udp -d x.y.z.w -s a.b.c.d --sport 9999 -j ACCEPT</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">(client is open and does not need iptables tweaking right now)</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial; min-height: 15.0px"><br></p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">How can one debug this? Is there any kind of debug logging I can apply to determine if the master is receiving the traffic? With tcpdump, I can verify that the machine has received the traffic. I don't know if it's making it through iptables, and if so, why is collectd not taking any action upon receiving it?</p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial"><br class="webkit-block-placeholder"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">Thanks,</p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Arial">
Brian</p></div>