<div dir="ltr"><div>Hello,</div><div><br></div><div>I was able to resolve the issue. <br></div><div><br></div><div>Thank you!!<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 25, 2019 at 8:04 PM xflou <<a href="mailto:xn9733@gmail.com">xn9733@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>I have two Ubuntu hosts. One acts as the collected Server and the other as a collectd client. <br></div><div><br></div><div>The configuration seems to be fine on both. The collectd client traffic seems to be received at the collectd Server, but the data is not written to the "/var/lib/collected/rdd" directory. The Tcpdump below confirms this.<br></div><div><br></div><div>On the collectd client side, the tcp dump also indicates that the data is being sent to the collectd server on the correct IP and port.</div><div><br></div><div>What I was expecting, is that the collected client data received on the collected server would be written to the "/var/lib/collectd/rdd/clientMachineName" directory as a separate entry from the "/var/lib/collectd/rdd/serverMachinename" directory.</div><div><br></div><div>Any ideas as to why this is not working as expected, would be appreciated. <br></div><div><br></div><div><br></div><div>Below are the /etc/collectd/collectd.conf file entries for the collectd server and collectd client:</div><div><br></div><div><br></div><div>==============> Server config:</div><div><br></div><div>LoadPlugin logfile<br>LoadPlugin syslog<br>#LoadPlugin log_logstash<br><br><Plugin logfile><br> LogLevel "info"<br> File STDOUT<br> Timestamp true<br> PrintSeverity false<br></Plugin><br><br><Plugin syslog><br> LogLevel info<br></Plugin></div><div><br></div><div><br>LoadPlugin cpu<br>LoadPlugin df<br>LoadPlugin disk<br>LoadPlugin entropy<br>LoadPlugin interface<br>LoadPlugin irq<br>LoadPlugin load<br>LoadPlugin memory<br>LoadPlugin network<br>LoadPlugin processes<br>LoadPlugin rrdtool<br>LoadPlugin swap<br>LoadPlugin users<br><br></div><div><Plugin network><br># # client setup:<br> <Listen "0.0.0.0" "25826"><br> </Listen><br></Plugin></div><div><br></div><div>==> server netstat:</div><div>udp 17408 0 <a href="http://0.0.0.0:25826" target="_blank">0.0.0.0:25826</a> 0.0.0.0:* 7223/collectd </div><div><br></div><div>===> server tcpcump <br></div><div>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>listening on ens3, link-type EN10MB (Ethernet), capture size 1500 bytes<br>19:41:56.652796 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1321<br>19:41:56.655302 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1316<br>19:41:56.656320 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1328<br>19:41:56.659259 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1289<br>19:42:06.642940 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1343<br><br></div><div><br></div><div>========> Client config is the same except for the network section below:</div><div><br></div><div>Plugin network><br># # client setup:<br> <Server "192.168.122.253" "25826"><br> </Server><br></Plugin> <br></div><div><br></div><div><br></div><div>==> client netstat:</div><div>udp 0 0 <a href="http://0.0.0.0:51442" target="_blank">0.0.0.0:51442</a> 0.0.0.0:* 7361/collectd </div><div><br></div><div>===> client tcpdump output below: <br></div><div>tcpdump -i ens3 -p -n -s 1500 udp port 25826<br>tcpdump: verbose output suppressed, use -v or -vv for full protocol decode<br>listening on ens3, link-type EN10MB (Ethernet), capture size 1500 bytes<br>19:40:46.658595 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1343<br>19:40:46.660715 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1331<br>19:40:46.662103 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1289<br>19:40:46.672435 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1341<br>19:40:56.656713 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1285<br>19:40:56.659586 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1344<br>19:40:56.660752 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1338<br>19:40:56.663490 IP 192.168.122.20.51442 > 192.168.122.253.25826: UDP, length 1323</div><div><br></div><div><br></div><div><br></div><div>Thanks!!<br></div></div>
</blockquote></div>