<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 14 (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;}
@font-face
        {font-family:Georgia;
        panose-1:2 4 5 2 5 4 5 2 3 3;}
/* 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;}
p
        {mso-style-priority:99;
        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-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'>Jeremy,<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tim was very good with the explanation.  I went and removed the previous configuration. I then configured it as a client: <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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>./configure.client<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>./configure --client was what I originally tried, but for some reason that did not find the pcre libraries. <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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I’m good now… I have one machine configured as the server, with the client information. My second machine is configured only with the client.<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks for all your help.<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><b><span style='font-size:9.0pt;font-family:"Georgia","serif";color:#17365D'>David Diep</span></b><span style='font-size:9.0pt;font-family:"Georgia","serif";color:#595959'> </span><span style='font-size:9.0pt;font-family:"Georgia","serif";color:red'><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><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"'> Jeremy Laidman [mailto:jlaidman@rebel-it.com.au] <br><b>Sent:</b> Tuesday, December 17, 2013 8:56 PM<br><b>To:</b> Diep, David (OCTO-Contractor)<br><b>Cc:</b> Tim McCloskey; xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] Client install gone wrong<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal>On 18 December 2013 10:47, Diep, David (OCTO-Contractor) <<a href="mailto:David.Diep@dc.gov" target="_blank">David.Diep@dc.gov</a>> wrote:<o:p></o:p></p></div><div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p style='margin-left:.5in'>“configure” is this local? Or do you have to specify “./configure --server” or “./configure --client” or “./configure”<o:p></o:p></p></blockquote><div><p class=MsoNormal>You can do any of these.  When you run "./configure" it simply  runs "./configure.server" for you.  If you run "./configure --server" it does the same thing also.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>If you run "./configure --client" then the configure script simply runs "./configure.client".<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>So there are several different ways to do the same two things.  Running "./configure --client" is the official way.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>You can also do the following, which ensures that it builds a client using server-side configuration, without being prompted about it:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>$ CONFTYPE=server ./configure --client<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p style='margin-left:.5in'><span style='font-family:Symbol'>·</span><span style='font-size:7.0pt'>         </span>“configure.server” allows for client configurations as well as server configuration all on one machine<o:p></o:p></p></blockquote><div><p class=MsoNormal>Yes. <o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p style='margin-left:.5in'><span style='font-family:Symbol'>·</span><span style='font-size:7.0pt'>         </span>“configure.client” this does not work very well<o:p></o:p></p></blockquote><div><p class=MsoNormal>This works fine, as long as you use "server configuration" (central configuration).  If you use "client configuration" (local configuration) then you run into the compile problem.<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><p>I did “./configure --server” on two machines. I see now that I only needed it on one machine and one machine only. All I need to do is update hosts.cfg, alerts.cfg, etc…<o:p></o:p></p></blockquote></div><p class=MsoNormal>Yes.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The server build also has a client build included (a Xymon server should also be a Xymon client, so that it can watch itself).  So another option is to manually copy the "xymon/client" directory from your server to any host you want to monitor, then just create the xymon user/group, make sure the "tmp" and "log" directories are writeable by this user, and create an init script to run the "runclient.sh" script.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Alternatively, after building (but not installing) the server code (./configure --server), you can do a client-only install:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>$ make install-client<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>This will copy only the client parts of the install.  You still need to create the xymon user/group and setup the init script for runclient.sh.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I agree that the main install doco is not as clear as it could be, and focuses almost exclusively on the server setup.  However, there's a README.CLIENT file in the source that is a much better guide for installing just the client "agent".<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>J<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div></div><SPAN style="FONT-FAMILY: 'Arial Narrow','sans-serif'; COLOR: red"><SPAN 
style="FONT-FAMILY: 'Arial Narrow','sans-serif'; COLOR: red"><FONT size=2><SPAN 
style="FONT-FAMILY: 'Arial Narrow','sans-serif'; COLOR: red">
<P style="MARGIN: 0in -49.5pt 0pt 0in" class=MsoNormal><FONT color=#0080ff 
face=Calibri><FONT size=3><STRONG> </STRONG></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><SPAN 
style="FONT-SIZE: 12pt"><FONT color=#000000>Look out for those in need this 
winter. When the temperature or wind chill is 32°F or below, the District issues 
a Hypothermia Alert. For assistance during an Alert, call the </FONT><A 
href="http://dhs.dc.gov/page/hypothermia-alert-plan"><FONT color=#0000ff>Shelter 
Hotline</FONT></A><FONT color=#000000> at <STRONG>1-800-535-7252</STRONG> or 
<STRONG>311</STRONG>.<o:p></o:p></FONT></SPAN></P></FONT></FONT></SPAN></FONT></SPAN></SPAN><br></body></html>