<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Sorry, yes, tests that I create with outside scripts.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">And that solution is exactly what I needed.  I had tried re-enabling xymon-proxy with xymond also running, with no luck.  I didn’t even think about setting up the second port as a listener.  Thank you so much
 for your help!<o:p></o:p></span></p>
<p class="MsoNormal"><a name="_MailEndCompose"><span style="color:#1F497D"><o:p> </o:p></span></a></p>
<span style="mso-bookmark:_MailEndCompose"></span>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Root, Paul T [mailto:Paul.Root@CenturyLink.com]
<br>
<b>Sent:</b> Friday, September 29, 2017 3:07 PM<br>
<b>To:</b> Ness, James E (JMD) <jness@jmd.usdoj.gov>; xymon@xymon.com<br>
<b>Subject:</b> RE: Forwarding custom status messages between Xymon servers<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">So by customer status messages, do you mean tests (columns) that you create with outside scripts or do you mean communications of existing tests?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">So what I do, is I have XYMON2 (to use your naming) as a proxy and a server.  The proxy listens on port 1984, and the server listens on 1985. Then the proxy forwards everything to port 1985 locally and to port
 1984 on XYMON1. You have to handle disabling and such a little carefully (cascade those from XYMON1 to XYMON2 port 1985) or a broadcast storm happens. But it works well otherwise.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">[xymond]<o:p></o:p></p>
<p class="MsoNormal">        ENVFILE /etc/xymon/xymonserver.cfg<o:p></o:p></p>
<p class="MsoNormal">        CMD xymond --listen=0.0.0.0:1985 --pidfile=$XYMONSERVERLOGS/xymond.pid --restart=$XYMONTMP/xymond.chk --checkpoint-file=$XYMONTMP/xymond.chk --checkpoint-interval=600 --log=$XYMONSERVERLOGS/xymond.log --admin-senders=127.0.0.1,$XYMONSERVERIP,XYMON1
 --store-clientlogs=!msgs<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[xymonproxy]<o:p></o:p></p>
<p class="MsoNormal">        ENVFILE /etc/xymon/xymonserver.cfg<o:p></o:p></p>
<p class="MsoNormal">       CMD $XYMONHOME/bin/xymonproxy --server=XYMON1,127.0.0.1:1985 --listen=0.0.0.0:1984 --report=$MACHINE.XYMON2 --no-daemon --pidfile=$XYMONSERVERLOGS/xymonproxy.pid<o:p></o:p></p>
<p class="MsoNormal">        LOGFILE $XYMONSERVERLOGS/xymonproxy.log<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[xymonfetch]<o:p></o:p></p>
<p class="MsoNormal">        ENVFILE /etc/xymon/xymonserver.cfg<o:p></o:p></p>
<p class="MsoNormal">        CMD XYMONDPORT=1984 $XYMONHOME/bin/xymonfetch --server=XYMON2 --no-daemon --log-interval=60 --id=1 --pidfile=$XYMONSERVERLOGS/xymonfetch.pid<o:p></o:p></p>
<p class="MsoNormal">        LOGFILE $XYMONSERVERLOGS/xymonfetch.log<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">At the alerts end, XYMON2 monitors XYMON1, and when it can’t see it, takes over by copying the alerts.cfg file in place. This is the rule:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">HOST=XYMON1 COLOR=red SERVICE=bbd,conn DURATION>2<o:p></o:p></p>
<p class="MsoNormal">        SCRIPT /usr/local/scripts/xymSecondaryTakeOver $NG-IM-ONCALL<o:p></o:p></p>
<p class="MsoNormal">        MAIL $NG-IM-ADMIN<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Then there is a fall back script:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">HOST=XYMON1 COLOR=red SERVICE=bbd,conn RECOVERED<o:p></o:p></p>
<p class="MsoNormal">    SCRIPT /usr/local/scripts/xymSecondaryRelease $NG-IM-ONCALL<o:p></o:p></p>
<p class="MsoNormal">    SCRIPT /usr/local/scripts/html_mail.pl $NG-IM-ADMIN<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Lastly, XYMON1 handling disables and acknowledgements inf tasks.cfg:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">[distribute]<o:p></o:p></p>
<p class="MsoNormal">#       DISABLED<o:p></o:p></p>
<p class="MsoNormal">        ENVFILE /usr/lib64/xymon/server/etc/xymonserver.cfg<o:p></o:p></p>
<p class="MsoNormal">        NEEDS xymond<o:p></o:p></p>
<p class="MsoNormal">        CMD xymond_channel --channel=enadis --log=$XYMONSERVERLOGS/distribute.log xymond_distribute \<o:p></o:p></p>
<p class="MsoNormal">                --peer=XYMON2:1985 --peer=XYMON3:1985<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Xymon [<a href="mailto:xymon-bounces@xymon.com">mailto:xymon-bounces@xymon.com</a>]
<b>On Behalf Of </b>Ness, James E (JMD)<br>
<b>Sent:</b> Friday, September 29, 2017 12:49 PM<br>
<b>To:</b> <a href="mailto:xymon@xymon.com">xymon@xymon.com</a><br>
<b>Subject:</b> [Xymon] Forwarding custom status messages between Xymon servers<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">To start out, my environment. Two Xymon servers, XYMON1 and XYMON2.  XYMON1 is the master, and XYMON2 is the servant.  At this time, there are a handful of machines using the Xymon client to report on themselves to XYMON2, which is dutifully
 forwarding that info on to XYMON1 (as expected).  The clients also provide some custom status messages, which are NOT being forwarded from XYMON2 to XYMON1.  I see they are picked up and properly processed by XYMON2, but that’s it. 
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Previously, I had set XYMON2 as just a proxy, and both the client data and the custom status messages were sent to XYMON1.  I can’t go back to that, because XYMON1 will be decommissioned in the near future, and I need XYMON2 to take over. 
 (I also have some other instances that I will eventually need to forward client data and status messages to XYMON2, but that is for later.)  I’ve looked through so many man pages and can’t find anything else that would point to what I might need to set to
 get this working, so I’m hoping someone on here can help me out.  Or is this functionality that is not meant to work, no matter what I do?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thank you in advance for your help.<o:p></o:p></p>
<p class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;font-family:"Times New Roman",serif">This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this
 communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments.<o:p></o:p></span></p>
</div>
</body>
</html>