<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 06-01-16 00:31, Thomas Leavitt
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABzasQtvfx7CG-4jdhMuc9pPBBqeLkm=DO8C5fYSHHEjwopFzA@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>Are folks actively using MAGMA? I'm been casting around for
          a practical application to refresh my coding fu with, and
          since I love Xymon and use it every day, I thought it might be
          useful / fun to play around with enhancing the existing code
          (since it is GPL).<br>
          <br>
        </div>
        <div>I'm also thinking about hacking out some kind of tool that
          will take a CSV formatted input file, and use it to generate a
          hosts.cfg or a series of files (one per host) to be put in an
          include directory... that would allow, for instance, the
          ability to maintain a list of hosts elsewhere, and then simply
          import them into Xymon, rather than having to manually keep
          the two in sync. I suspect some folks already have the
          equivalent in place, but I'm not seeing such.<br>
          <br>
        </div>
        <div>Reactions?<br>
        </div>
        <div><br>
        </div>
      </div>
    </blockquote>
    Information from other sources generally do not contain all the
    information needed to generate (a part of) the hosts.cfg. For
    instance the specific tests to run for a server and the layout will
    often not be found in a configuration database.<br>
    <br>
    I decided to use a database specifying the available servers,
    networking equipment, printers and so on to generate hosts.cfg. As a
    result, if a server is retired, it's state changes in the database
    and the configuration for that server is removed automatically from
    hosts.cfg.<br>
    <br>
    The additional information needed to generate hosts.cfg is taken
    from hosts.cfg itself. Thus I do edit hosts.cfg sometimes, such as
    adding an extra test for a server. The base is (perl) script
    xymon.pm, available at xymonton. (See
    <a class="moz-txt-link-freetext" href="https://wiki.xymonton.org/doku.php/addons:xymonconfigsync">https://wiki.xymonton.org/doku.php/addons:xymonconfigsync</a>)<br>
    <br>
    Regards,<br>
      Wim Nelis.<br>
  
<DIV><P><HR>
<br><br><br>
<hr>
<font color="#00467f" size="2"><i><span lang="EN-US">The NLR disclaimer is valid for NLR e-mail messages.</span></i> 
<p>This message is only meant for providing information. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of the sender.</p>
<p>This message may contain information that is not intended for you. If you are not the addressee or if this message was sent to you by mistake, you are requested to inform the sender and delete the message. Sender accepts no liability for damage of any kind resulting from the risks inherent in the electronic transmission of messages.<br></p></font>
<hr>
</P></DIV>
</body>
</html>