Main<div><br><br><div class="gmail_quote"><div dir="ltr">On Fri, 4 Nov 2016, 11:01 Maik Heinelt <<a href="mailto:maik@vegasystems.com">maik@vegasystems.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">We have some clients behind a firewall what are sending their Xymon logs<br class="gmail_msg">
to a Xymon server at the same subnet. The Xymon server is the only one<br class="gmail_msg">
machine what is able to send the client data somewwere else, so we would<br class="gmail_msg">
like to get this server sending the local client data to another Xymon<br class="gmail_msg">
server, too.<br class="gmail_msg">
<br class="gmail_msg">
Not all client data should be send, we would like to be able (if<br class="gmail_msg">
possible) to select the clients being send to the other server.<br class="gmail_msg"></blockquote></div></div><div><br></div><div>This is the difficulty - being selective. Perhaps you could send all client data but then just ignore the hosts you don't care about, or put them on a page that nobody looks at.</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I was reading about xymonproxy, but it sounds, it only can send all<br class="gmail_msg">
client data to another server?! </blockquote></div></div><div><br></div><div>Correct.</div><div><br></div><div>I wonder of it's practical to script up a kind of proxy. You could use the output of "$XYMON $XYMSRV xymondboard" to list all hosts that are tagged the way you want to select then (eg tag them with a NET parameter) and also list only those with client data.</div><div><br></div><div>Then with that list of hosts (or simply manage your own list in a text file), you grab the current client data with "$XYMON $XYMSRV clientlog" and send the output to "$XYMON $XYMSRV client" (with appropriate header).</div><div><br></div><div>Then sleep for 5 minutes and repeat.</div><div><br></div><div>Consideration should be given to detecting and suppressing stale client messages. Also, this technique may not be particularly efficient, so care should be taken if you have a lot of hosts to forward, and you may get bursts of high load on your intermediate xymon server.  And there could be up to 5 minutes delay, unless you poll more often and limit the client data accordingly.</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Also, there are almost no manuals or<br class="gmail_msg">
detailed information how to get xymonproxy setup.<br class="gmail_msg"></blockquote></div></div><div><br></div><div>Just the man page, but I think it's pretty good. Please ask any questions not answered by the man page.</div><div><br></div><div>Also, in the past there have been some discussions on this list about xymonproxy, so searching the archives might give done more hints.</div><div><br></div><div>J</div><div><br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It would be great to get some help to understand how to get it working.<br class="gmail_msg">
<br class="gmail_msg">
Thank you in advance<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
Maik Heinelt<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
..................................................................<br class="gmail_msg">
Heinelt Maik | Software Developer<br class="gmail_msg">
ハイネルト マイク<br class="gmail_msg">
愛知県一宮市富士2-2-22<br class="gmail_msg">
株式会社 ベガシステムズ<br class="gmail_msg">
TEL: 0586-71-3903 FAX: 0586-71-4071<br class="gmail_msg">
<a href="http://www.vegasystems.com" rel="noreferrer" class="gmail_msg" target="_blank">http://www.vegasystems.com</a><br class="gmail_msg">
Skype ID: daliose<br class="gmail_msg">
..................................................................<br class="gmail_msg">
DISCLAIMER: This information is confidential and is intended only for the use<br class="gmail_msg">
of the individual or entity named above. If the reader of this message is not<br class="gmail_msg">
the intended recipient, please disregard and destroy this email and its<br class="gmail_msg">
content. Thank you<br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Xymon mailing list<br class="gmail_msg">
<a href="mailto:Xymon@xymon.com" class="gmail_msg" target="_blank">Xymon@xymon.com</a><br class="gmail_msg">
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br class="gmail_msg">
</blockquote></div></div>