<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 9 May 2018 at 02:14, Rich Jones <span dir="ltr"><<a href="mailto:rich@corporationpop.co.uk" target="_blank">rich@corporationpop.co.uk</a>></span> wrote:<br><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"><font color="#000000" face="Helvetica">Hi all,<br><br>Another one of those things I keep meaning to ask but keep on forgetting...<br>I'm seeing under the xymond column the following:<br><br><div>Multi-source statuses</div><div>  xymon.url.com:cpu reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:disk reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:files reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:inode reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:memory reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:msgs reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:ports reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:procs reported by 127.0.0.1 and xx.xxx.226.227</div><div>  <span style="color:rgb(0,0,0);font-family:Helvetica;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><a href="http://xymon.url.com" target="_blank">xymon.url.com</a></span>:uptime reported by 127.0.0.1 and xx.xxx.226.227<br><br>Looking through the archive it makes sense, Xymon is receiving data from two sources, which I guess it is, however the two IPs are localhost and the server IP address.<br><br>I'm guessing this is likely to do with how the things are setup on the server rather than Xymon itself (eg in /etc/hosts)?<br><br>Can someone point me in the right direction to resolve this? I'm running Xymon 4.3.28<br></div></font></div></blockquote><div><br></div><div>It appears that the Xymon server is reporting to itself twice, using its network IP address and the loopback address. The Xymon client that generates the client data messages (from where these metrics come) will use the $XYMSRV environment variable, and send to whatever IP address is defined therein. Sometimes this is set to "0.0.0.0" which tells the Xymon client to look at $XYMSERVERS as a list of multiple destinations. I suspect you have XYMSERVERS="127.0.0.1 xx.xxx.226.227". On a Xymon server these variables are is set in xymonserver.cfg.</div><div><br></div><div>J</div><div><br></div></div></div></div>