<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">On 19 Oct 2017, at 14:49, Norbert Kriegenburg <<a href="mailto:norbert.kriegenburg@de.ibm.com" class="">norbert.kriegenburg@de.ibm.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><p class=""><font size="2" class="">Yes,<br class="">that's what i checked at first. But i assume that also the info from the servers own client data are captured by the same client channel listener, and that obviously works.</font></p></div></div></blockquote><div>valid point</div><blockquote type="cite" class=""><div class=""><div class=""><p class=""><font size="2" class="">Nothing in the clientdata.log, even if i activate the DEBUG mode with a<br class="">kill -USR2 PID<br class=""><br class="">My clientdata section:<br class=""># The client back-end module. You need this if you are running the Xymon client on any system.</font><br class=""><font size="2" class="">[clientdata]</font><br class=""><font size="2" class="">        ENVFILE $XYMONSERVERHOME/etc/xymonserver.cfg</font><br class=""><font size="2" class="">        NEEDS xymond</font><br class=""><font size="2" class="">        CMD /home/xymon/server/bin/xymond_channel --channel=client \</font><br class=""><font size="2" class="">                --log=$XYMONSERVERLOGS/clientdata.log xymond_client \</font><br class=""><font size="2" class="">                --no-clear-files \</font><br class=""><font size="2" class="">                --no-clear-ports \</font><br class=""><font size="2" class="">                --no-port-listing \</font><br class=""><font size="2" class="">                --uptime-status</font><br class=""><font size="2" class="">        INTERVAL 2m</font></p></div></div></blockquote><div>The `INTERVAL` here is not im my and <a href="http://xymon.com" class="">xymon.com</a>’s-version of tasks.cfg— not sure if it does harm (it _may_ try to start a new channel every 2 minutes).</div><blockquote type="cite" class=""><div class=""><div class=""><p class=""><font size="2" class="">ps listing:</font><br class=""><font size="2" class="">$ ps -ef|grep "xymond_channel --channel=client"|grep -v grep</font><br class=""><font size="2" class="">xymon    18865 18705  0 05:13 ?        00:00:00 /home/xymon/server/bin/xymond_channel --channel=client --log=/home/xymon/server/logs/clientdata.log xymond_client --no-clear-files --no-clear-ports --no-port-listing --uptime-status</font><br class=""></p></div></div></blockquote><div>If this process does not change it should be fine; your xymon server was restarted 5:13 this morning?</div><blockquote type="cite" class=""><div class=""><div class=""><p class=""><font size="2" class="">I have a lot of TIME_WAITS from time to time, no idea why this goes up and down:</font><br class=""><br class=""><font size="2" class="">$ netstat -atn|grep 1984</font><br class=""><font size="2" class="">tcp        0      0 0.0.0.0:1984            0.0.0.0:*               LISTEN</font><br class=""><font size="2" class="">tcp        0      0 10.137.56.43:37752      10.137.56.43:1984       TIME_WAIT</font><br class=""><font size="2" class="">tcp        0      0 10.137.56.43:37822      10.137.56.43:1984       TIME_WAIT<br class="">...<br class=""></font><br class=""><font size="2" class="">10.137.56.43 is the Xymon server IP.</font><br class=""><font size="2" class=""><br class="">$ netstat -atn|grep 1984|wc -l</font><br class=""><font size="2" class="">165</font><br class=""><font size="2" class="">(sometimes much much more)<br class=""><br class="">(But goes down to 7 after some mins)</font><br class=""></p></div></div></blockquote><div>Looks like internal xymon-communication. As long as the TIME_WAIT-count does not go >20k  that should not be the cause.</div><div><br class=""></div><div>Thing’s I’d try from here:</div><div><br class=""></div><div>1. double-check the XYMSRV / XYMONSERVERS setting on the client(s), e.g. with:</div><div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space: pre;">             </span>xymoncmd /usr/bin/env | egrep -i 'xymsrv|xymonservers|bbdisp’</div><div class=""><div><br class=""></div><div>2. just to double-check: tcpdump on xymon server and a client to check for tcp/1984 communication</div><div><br class=""></div></div></div><div>3. run a channel-listener an the server to see if the client messages (other than the ones from the local client) make it </div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">              </span>xymoncmd xymond_channel --channel=client cat | grep ‘^client '</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>xymoncmd xymond_channel --channel=client cat</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">     </span>The latter might be very noisy — the former just prints the “header”/1st line of each connection.</div><div><span class="Apple-tab-span" style="white-space:pre">      </span>There should be one message for each client sending data every 5 minutes.</div><div><br class=""></div><div>HTH</div><div>Thomas</div><blockquote type="cite" class=""><div class=""><div class=""><p class=""><span id="cid:1__=4EBB0B2DDFD5DE758f9e8a93df938690918c4EB@"><graycol.gif></span><font size="2" color="#424282" class="">Thomas Eckert ---19/10/2017 11:14:56---Norbert, I assume your manual (BB way) is something like `xymon 1.2.3.4 “status example.com.test …”`</font><br class=""><br class=""><font size="2" color="#5F5F5F" class="">From:        </font><font size="2" class="">Thomas Eckert <<a href="mailto:thomas.eckert@it-eckert.de" class="">thomas.eckert@it-eckert.de</a>></font><br class=""><font size="2" color="#5F5F5F" class="">To:        </font><font size="2" class="">xymon <<a href="mailto:xymon@xymon.com" class="">xymon@xymon.com</a>></font><br class=""><font size="2" color="#5F5F5F" class="">Date:        </font><font size="2" class="">19/10/2017 11:14</font><br class=""><font size="2" color="#5F5F5F" class="">Subject:        </font><font size="2" class="">Re: [Xymon] no client results arrive, lot of TIME_WAIT at server</font><br class=""><font size="2" color="#5F5F5F" class="">Sent by:        </font><font size="2" class="">"Xymon" <<a href="mailto:xymon-bounces@xymon.com" class="">xymon-bounces@xymon.com</a>></font><br class=""></p><hr width="100%" size="2" align="left" noshade="" style="color:#8091A5; " class=""><br class=""><br class=""><br class="">Norbert,<br class=""><br class="">I assume your manual (BB way) is something like `xymon 1.2.3.4 “status example.com.test …”`.<br class=""><br class="">The xymon-client send `clientdata` that is processed by a “channel listener” and _that_ sends status-messages similar to above (a bit simplified).<br class=""><br class="">That channel-listener may not be running/crashing:<br class="">Check our `tasks.cfg` for the section `[clientdata]` and verify, if the `xymond_channel`-process is running (I suspect it’s not). Maybe the `clientdata.log` helps with debugging. You may also run the task manually to get further information.<br class=""><br class="">What’s your problem with the "lot of TIME_WAIT”? Are these just for tcp/1984-connections?<br class=""><br class="">Cheers<br class="">Thomas<br class="">
<ul class=""><ul class="">On 19 Oct 2017, at 07:30, Norbert Kriegenburg <<a href="mailto:norbert.kriegenburg@de.ibm.com" class=""><u class=""><font color="#0000FF" class="">norbert.kriegenburg@de.ibm.com</font></u></a>> wrote:<br class=""><p class=""><font size="2" face="Courier 10 Pitch" class="">experts,</font><br class=""><font size="2" face="Courier 10 Pitch" class=""><br class="">i have a new (not my first) Xymon installation (4.3.28 on RH 7.4, self compiled).<br class="">All looks good, but the clients only show the network tests (conn, ssh). Only the Xymon server itself shows everything (disk, cpu,...).<br class="">- all clients are RH 7.4, same install image used (i just copied over the client part with client config, create a cronjob for automatic start, so no root access nor extra install needed)<br class="">- nothing suspicious in server or client logs (even in debug mode)<br class="">- no ghosts<br class="">- if i send a test manually (the old BB way) this shows at Xymon immediately (so the client settings are ok)<br class="">- if i shutdown the xymond at server, the client logs complains:<br class=""><br class="">2017-10-19 05:09:18.051994 Whoops ! Failed to send message (Connection failed)<br class="">2017-10-19 05:09:18.052104 -> Could not connect to Xymon </font><a href="mailto:daemon@10.137.56.43" class=""><u class=""><font size="2" color="#0000FF" face="Courier 10 Pitch" class="">daemon@10.137.56.43</font></u></a><font size="2" face="Courier 10 Pitch" class="">:1984 (Connection refused)</font><br class=""><font size="2" face="Courier 10 Pitch" class=""><br class="">(so obviously they communicate)</font><br class=""><font size="2" face="Courier 10 Pitch" class=""><br class="">Querying the xymond shows:<br class="">xymon 127.0.0.1 "query clientname.ssh"<br class="">green <!-- [flags:OrdastLe] --> Thu Oct 19 05:21:29 2017 ssh ok<br class="">is ok, but<br class="">xymon 127.0.0.1 "query clientname.disk"<br class="">shows nothing</font><br class=""><font size="2" face="Courier 10 Pitch" class=""><br class="">Any ideas?</font><br class=""><font size="2" face="Courier 10 Pitch" class=""><br class="">Norbert</font></p><p class="">_______________________________________________<br class="">Xymon mailing list<u class=""><font color="#0000FF" class=""><br class=""></font></u><a href="mailto:Xymon@xymon.com" class=""><u class=""><font color="#0000FF" class="">Xymon@xymon.com</font></u></a><br class=""><a href="http://lists.xymon.com/mailman/listinfo/xymon" class="">http://lists.xymon.com/mailman/listinfo/xymon</a></p></ul></ul><tt class=""><font size="2" class="">_______________________________________________<br class="">Xymon mailing list<br class=""><a href="mailto:Xymon@xymon.com" class="">Xymon@xymon.com</a><br class=""></font></tt><tt class=""><font size="2" class=""><a href="http://lists.xymon.com/mailman/listinfo/xymon" class="">http://lists.xymon.com/mailman/listinfo/xymon</a></font></tt><tt class=""><font size="2" class=""><br class=""></font></tt><br class=""><br class=""><br class=""><br class="">
</div>
_______________________________________________<br class="">Xymon mailing list<br class=""><a href="mailto:Xymon@xymon.com" class="">Xymon@xymon.com</a><br class="">http://lists.xymon.com/mailman/listinfo/xymon<br class=""></div></blockquote></div><br class=""></body></html>