<p dir="ltr">Gavin</p>
<p dir="ltr">I fear you may have misunderstood the purpose of multihomed. It only suppresses a log message. It doesn't override access restrictions imposed by running xymond with "--status-senders".</p>
<p dir="ltr">On 26 Mar 2015 2:54 pm, "Gavin Stone-Tolcher" <<a href="mailto:g.stone-tolcher@its.uq.edu.au">g.stone-tolcher@its.uq.edu.au</a>> wrote:</p>
<p dir="ltr">>           By default, Xymon will warn if it sees data for one host coming from different</p>
<p dir="ltr">The man page you quoted says "warn" not "reject".</p>
<p dir="ltr">> 169 xmh_item_key[XMH_FLAG_MULTIHOMED]      = "MULTIHOMED";</p>
<p dir="ltr">> Is that looking for “MULTIHOMED” in CAPS, not “multihomed” lowercase?</p>
<p dir="ltr">Yes. But elsewhere is code that parses the hosts.cfg file to find multihomed and then set MULTIHOMED.</p>
<p dir="ltr">> Also, should line 170 have "XMH_FLAG_MULTIHOMED" rather than "XMH_MULTIHOMED"</p>
<p dir="ltr">No because it's setting the item name not the item key.</p>
<p dir="ltr">Xymon will be using some forms of the name as internal variable names and environment variables and so they might not mean what you think they mean.</p>
<p dir="ltr">> Doing a xymondborad query against a host with “multihome” produces no result for that field:</p>
<p dir="ltr">Is it "multihome" like you have here or is it "multihomed"?</p>
<p dir="ltr">> xymon localhost "xymondboard host=<a href="http://pf-parkingguide.pf.uq.edu.au">pf-parkingguide.pf.uq.edu.au</a> fields=XMH_FLAG_MULTIHOMED"</p>
<p dir="ltr">I think this should work. What do you get from "xymongrep multihomed"? What do you get from your xymondboard command if you don't specify "fields=..."?</p>
<p dir="ltr">> This section in xymond.c from line 1520 seems to be the code doing a check that XMH_FLAG_MULTIHOMED is NULL:</p>
<p dir="ltr">Yep. And you'll notice that it all boils down to whether or not to run this line:</p>
<p dir="ltr">>                         log_multisrc(log, sender);</p>
<p dir="ltr">> Any ideas on this one? Currently I have to add multihomed hosts to “--status-senders” otherwise.</p>
<p dir="ltr">You could disable --statussenders. Or you could add dummy host entries with the alternate IP addresses.</p>
<p dir="ltr">J<br>
</p>