<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=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@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:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.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;}
--></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="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That functionality is built in.  No need for a custom test.  Check the help pages for analysis.cfg.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><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 [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>The Thanh Han<br>
<b>Sent:</b> Wednesday, June 29, 2016 9:23 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] best practices for custom check<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Hi,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">I would like to add some simple custom checks; most of them check if a port is being listened on a host.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Should I do that as a custom script on client, or on the server?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">thanks in advance,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thanh<o:p></o:p></p>
</div>
</div>
</div>
<p id="c1-id-6" style="FONT-FAMILY: Arial"><span id="c1-id-7" style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri; LETTER-SPACING: normal"><strong id="c1-id-39"><span id="c1-id-41" style="font-size:9pt">Scot Kreienkamp  | Senior Systems Engineer | La-Z-Boy Corporate</span></strong><br id="c1-id-8">
</span><span id="c1-id-9" style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri; LETTER-SPACING: normal">One La-Z-Boy Drive | Monroe, Michigan 48162 | Office: 734-384-6403 | | Mobile: 7349151444 | Email: Scot.Kreienkamp@la-z-boy.com</span></p>
<p id="c1-id-10" style="FONT-FAMILY: 'Arial Narrow'; LINE-HEIGHT: 14px"><span id="c1-id-11" style="FONT-FAMILY: Arial; COLOR: #000000"><span id="c1-id-12" style="FONT-SIZE: 8pt; LETTER-SPACING: normal"><span id="c1-id-13" style="FONT-SIZE: 8pt"><span id="c1-id-14" style="FONT-SIZE: 8pt">This
</span></span><span id="c1-id-15" style="FONT-SIZE: 8pt"><span id="c1-id-16" style="FONT-SIZE: 8pt">message</span><span id="c1-id-17" style="FONT-SIZE: 8pt"> is intended
</span></span><span id="c1-id-18" style="FONT-SIZE: 8pt"><span id="c1-id-19" style="FONT-SIZE: 8pt">only</span></span><span id="c1-id-20" style="FONT-SIZE: 8pt"><span id="c1-id-21" style="FONT-SIZE: 8pt"> for t</span></span><span id="c1-id-22" style="FONT-SIZE: 8pt"><span id="c1-id-23" style="FONT-SIZE: 8pt">he
 individual or entity to which it is addressed.  It may contain privileged, confi</span></span></span><span id="c1-id-24" style="FONT-SIZE: 8pt; LETTER-SPACING: normal"><span id="c1-id-25" style="FONT-SIZE: 8pt"><span id="c1-id-26" style="FONT-SIZE: 8pt">dential
 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 </span></span></span><span id="c1-id-27" style="FONT-SIZE: 8pt; LETTER-SPACING: normal"><span id="c1-id-28" style="FONT-SIZE: 8pt"><span id="c1-id-29" style="FONT-SIZE: 8pt">us</span></span></span><span id="c1-id-30" style="FONT-SIZE: 8pt; LETTER-SPACING: normal"><span id="c1-id-31" style="FONT-SIZE: 8pt"><span id="c1-id-32" style="FONT-SIZE: 8pt">
 immediately by e-mail or by telephone at the above number.</span></span></span><span id="c1-id-33" style="FONT-SIZE: 8pt; LETTER-SPACING: normal"><span id="c1-id-34" style="FONT-SIZE: 8pt"><span id="c1-id-35" style="FONT-SIZE: 8pt"> Thank you</span></span></span></span><span id="c1-id-36" style="FONT-SIZE: 8pt; FONT-FAMILY: Calibri; LETTER-SPACING: normal"><span id="c1-id-37" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'"><span id="c1-id-38" style="FONT-SIZE: 8pt; FONT-FAMILY: 'Arial Narrow'">.</span></span></span></p>
</body>
</html>