<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Greg,<br>
      <br>
      The "config" command simply downloads a complete file, so "config
      client-local.cfg" should give you the complete file.<br>
      <br>
      The specific section of the file client-local.cfg is returned only
      when a client reports using the "client" command (not "status") -
      the section returned depends on the client name and OS it's
      running - if an exact match on name exists that section is
      returned, otherwise the section matching the client OS reported
      (e.g. win32, linux, etc).<br>
      <br>
      David.<br>
    </div>
    <blockquote cite="mid:COL131-DS2306A53F4707D54C79F191B9920@phx.gbl"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 12 (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;}
/* 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:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@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]-->
      <div class="WordSection1">
        <p class="MsoNormal">I’ve been doing research into the
          communications protocol used by Xymon and her clients.  I am
          using the Windows PowerShell client found here:  <a
            moz-do-not-send="true"
href="http://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/">http://sourceforge.net/p/xymon/code/HEAD/tree/sandbox/WinPSClient/</a><o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’ve read a man page for bb:  <a
            moz-do-not-send="true"
            href="http://manpages.ubuntu.com/manpages/hardy/man1/hobbit.1.html">http://manpages.ubuntu.com/manpages/hardy/man1/hobbit.1.html</a>
          <o:p></o:p></p>
        <p class="MsoNormal">QUOTE: <o:p></o:p></p>
        <p class="MsoNormal">" config FILENAME<o:p></o:p></p>
        <p class="MsoNormal">              Retrieve  one of the Hobbit
          configuration files from the server.<o:p></o:p></p>
        <p class="MsoNormal">              This command allows a client
          to pull files from the $BBHOME/etc/<o:p></o:p></p>
        <p class="MsoNormal">              directory  on the server,
          allowing for semi-automatic updates of<o:p></o:p></p>
        <p class="MsoNormal">              the client configuration. 
          Since  the  configuration  files  are<o:p></o:p></p>
        <p class="MsoNormal">              designed  to  have  a 
          common  file for the configuration of all<o:p></o:p></p>
        <p class="MsoNormal">              hosts in the system - and
          this is in fact the recommended way of<o:p></o:p></p>
        <p class="MsoNormal">              configuring  your  clients 
          -  this  makes it easier to keep the<o:p></o:p></p>
        <p class="MsoNormal">              configuration files
          synchronized.”<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Using this information, I was able to
          execute this command…<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal" style="text-indent:.5in">PS> XymonSend
          “config client-local.cfg” “<xymon_server_name>”<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">… on a Windows server, inside a PowerShell
          window, and the entire, unedited ‘client-local.cfg’ file was
          displayed on screen.  This is good.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Then I read the following in the
          Client-Local.cfg man page:  <a moz-do-not-send="true"
href="http://xymon.sourceforge.net/xymon/help/manpages/man5/client-local.cfg.5.html">http://xymon.sourceforge.net/xymon/help/manpages/man5/client-local.cfg.5.html</a><o:p></o:p></p>
        <p class="MsoNormal">QUOTE:<o:p></o:p></p>
        <p class="MsoNormal">“The client-local.cfg file resides on the
          Xymon server.  When clients connect to the Xymon server to
          send in their client data, they will receive part of this file
          back from the Xymon server. The configuration received by the
          client is then used the next time the client runs.“<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">It sounds like the Xymon server will accept
          a status message from the client, then parse the message for
          OS type, host name, etc…  then parse the client-local.cfg file
          and find the lines that are applicable to the client (based
          upon OS type, host name, etc.) and return those to the
          client.  None of my clients are receiving a response from the
          Xymon server containing configuration data.  I’ve tried to
          construct some messages to simulate an upload from a linux
          host, a win32 host, and a hp-ux hosts (all of which have
          entries in client-local.cfg), but I never get a reply
          containing configuration data from the Xymon server.  <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Can someone tell me what should be
          happening and how to simulate it?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thank you very much for your time and
          assistance.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">~Greg<o:p></o:p></p>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Xymon mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xymon@xymon.com">Xymon@xymon.com</a>
<a class="moz-txt-link-freetext" href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          <a class="moz-txt-link-freetext" href="http://ausport.gov.au">http://ausport.gov.au</a>
Tel 02 62147266 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
<a class="moz-txt-link-abbreviated" href="mailto:david.baldwin@ausport.gov.au">david.baldwin@ausport.gov.au</a>          1 Leverrier Street Bruce ACT 2617
Our Values: RESPECT + INTEGRITY + TEAMWORK + EXCELLENCE
</pre>
  <br>
<hr>
Keep up to date with what's happening in Australian sport visit <a href="http://www.ausport.gov.au">www.ausport.gov.au</a>
<br><br>
<font size="-2" face="arial">This message is intended for the addressee named and may contain confidential and privileged information.  If you are not the intended recipient please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful.  If you receive this message in error, please delete it and notify the sender.</font>
<hr>
</body>
</html>