<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:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* 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.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1004283769;
        mso-list-type:hybrid;
        mso-list-template-ids:1596515746 -203236620 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:\F06E;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;
        mso-fareast-font-family:Calibri;
        mso-bidi-font-family:"Times New Roman";}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:o;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:"Courier New";}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:\F0A7;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;
        font-family:Wingdings;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></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">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have a requirement that I capture events in Xymon and feed them into a database for uptime processing and eventual upload to feed graphics in Domo.  To capture the events I’m trying to use xymond_capture but I can’t get it to match anything
 more than a single host.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Task setup:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[domohistorydb]<o:p></o:p></p>
<p class="MsoNormal">        ENVFILE /etc/xymon/xymonserver.cfg<o:p></o:p></p>
<p class="MsoNormal">        NEEDS xymond<o:p></o:p></p>
<p class="MsoNormal">        CMD xymond_channel --channel=status xymond_capture --batch-command=/etc/xymon/bin/domohistlog.sh --hosts=test1.fqdn<o:p></o:p></p>
<p class="MsoNormal">        LOGFILE $XYMONSERVERLOGS/domo-historydb.log<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">That works for the single host.  I’ve also tried the following to extend it to multiple hosts:<o:p></o:p></p>
<p class="MsoNormal">--hosts=(BLANK), does nothing<o:p></o:p></p>
<p class="MsoNormal">--exhosts=(BLANK), does nothing<o:p></o:p></p>
<p class="MsoNormal">--hosts=%( test1.fqdn|test2.fqdn), does nothing<o:p></o:p></p>
<p class="MsoNormal">--hosts=^[ test1.fqdn|test2.fqdn], does nothing<o:p></o:p></p>
<p class="MsoNormal">And finally, without –hosts at all, but that also does nothing.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Adding debug shows that the module is receiving messages from Xymon, it’s just not doing anything with them.  Am I using the wrong regex?  Anyone have any working examples they can share?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p style="FONT-FAMILY: 'Arial Narrow'; LINE-HEIGHT: 14px" id="c1-id-6"><strong id="c1-id-7"><span style="FONT-SIZE: 9pt" id="c1-id-8">Scot Kreienkamp | Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br id="c1-id-9">
<span style="font-family:Calibri;" id="c1-id-10"><span style="FONT-SIZE: 8pt" id="c1-id-11">One La-Z-Boy Drive | Monroe, Michigan 48162  |<span style="FONT-SIZE: 10pt" id="c1-id-12"><span style="FONT-SIZE: 8pt" id="c1-id-13"></span> </span></span><span style="FONT-SIZE: 8pt" id="c1-id-14"><span style="FONT-SIZE: 10pt" id="c1-id-15"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; COLOR: black; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin" id="c1-id-16">(</span></span><span style="FONT-SIZE: 10pt" id="c1-id-17"> 734-384-6403</span></span><span style="FONT-SIZE: 8pt" id="c1-id-18"><span style="FONT-SIZE: 10pt" id="c1-id-19"><span style="FONT-SIZE: 8pt" id="c1-id-20"></span>
 | <font face="Tahoma" id="c1-id-21">|</font><span style="FONT-SIZE: 8pt" id="c1-id-22"><span style="FONT-FAMILY: Calibri" id="c1-id-23"></span></span><font face="Tahoma" id="c1-id-24">
</font><span style="FONT-SIZE: 9pt; FONT-FAMILY: Wingdings; COLOR: black; mso-bidi-font-family: Helvetica" id="c1-id-25">)</span><span style="FONT-SIZE: 8pt" id="c1-id-26"> <span style="FONT-SIZE: 9pt" id="c1-id-27">7349151444</span></span><span style="FONT-SIZE: 8pt" id="c1-id-28"></span></span></span></span><span style="FONT-SIZE: 8pt" id="c1-id-29"><span style="font-family:Calibri" id="c1-id-30"> </span>| <span style="FONT-FAMILY: Calibri" id="c1-id-31"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Wingdings; COLOR: black; mso-fareast-font-family: Calibri; mso-bidi-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-theme-font: minor-latin" id="c1-id-32">*</span></span>  </span><span style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri" id="c1-id-33"><a href="mailto:%7BE-mail%7D" id="c1-id-34">Scot.Kreienkamp@la-z-boy.com</a><br id="c1-id-35">
</span><span style="FONT-SIZE: 8pt" id="c1-id-36"><a href="http://www.la-z-boy.com/" id="c1-id-37">www</a></span><span style="FONT-FAMILY: Calibri" id="c1-id-38"><span style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'" id="c1-id-39"><a href="http://www.la-z-boy.com/" id="c1-id-40">.la-z-boy.com</a>
 | <a href="https://www.facebook.com/lazboy" id="c1-id-41">facebook.</a></span></span><span style="FONT-SIZE: 8pt" id="c1-id-42"><a href="https://www.facebook.com/lazboy" id="c1-id-43">com</a></span><span style="FONT-FAMILY: Calibri" id="c1-id-44"><span style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'" id="c1-id-45"><a href="https://www.facebook.com/lazboy" id="c1-id-46">/</a></span><span style="FONT-SIZE: 8pt" id="c1-id-47"><a href="http://facebook.com/lazboy" id="c1-id-48">lazboy</a></span><span style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'" id="c1-id-49"> | </span><span style="FONT-SIZE: 8pt" id="c1-id-50"><a href="https://twitter.com/lazboy" id="c1-id-51">twitter.com/lazboy</a>
 | <a href="https://www.youtube.com/user/lazboy" id="c1-id-52">youtube.com/</a></span><span style="FONT-SIZE: 8pt" id="c1-id-53"><a href="https://www.youtube.com/user/lazboy" id="c1-id-54">lazboy</a><br id="c1-id-55">
<br id="c1-id-56">
</span></span><img alt="" src="cid:lzbVertical_hres.jpg" id="c1-id-57">  </p>
<p style="FONT-FAMILY: 'Arial Narrow'; LINE-HEIGHT: 14px" id="c1-id-58"> </p>
<p id="c1-id-58" style="FONT-FAMILY: 'Arial Narrow'; LINE-HEIGHT: 14px"><span id="c1-id-59" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'"><span id="c1-id-60" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'">This
</span></span><span id="c1-id-61" style="FONT-SIZE: 8pt"><span id="c1-id-62" style="FONT-SIZE: 8pt">message</span><span id="c1-id-63" style="FONT-SIZE: 8pt"> is intended
</span></span><span id="c1-id-64" style="FONT-SIZE: 8pt"><span id="c1-id-65" style="FONT-SIZE: 8pt">only</span></span><span id="c1-id-66" style="FONT-SIZE: 8pt"><span id="c1-id-67" style="FONT-SIZE: 8pt"> for t</span></span><span id="c1-id-68" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'"><span id="c1-id-69" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'">he
 individual or entity to which it is addressed.  It may contain privileged, confidential information which is exempt from disclosure under applicable laws.  If you are not the intended recipient, you are strictly prohibited from disseminating or distributing
 this information (other than to the intended recipient) or copying this information.  If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.</span></span></p>
</body>
</html>