<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
    </div>
    <blockquote
cite="mid:CAJECa4rYcKfKhS+bL3d-Fwvnk_UoepPERX9PnxYCj7A7LjN_Eg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr">
        <div>
          <div>
            <div><br>
            </div>
            I think I may have identified a possible bug in xymon. I am
            currently running 4.3.12.<br>
            <br>
          </div>
          I am attempting to define a custom graph using the RRDPARAM
          variable to define the graph. The data that is "supplying" the
          graph is being generated by a custom check and it stores this
          data over several rrd files with a single value in each file.<br>
          <br>
        </div>
        <div>They key line in my graph definition is:<br>
          <br>
        </div>
        <div>DEF:p@RRDIDX@=@RRDFN@:@RRDPARAM@:AVERAGE<br>
          <br>
        </div>
        <div>What appears to be happening is that the different
          variables names that represent the different parameters for
          the graph are different lengths. It seems that what ends up
          being supplied to rdd on this line in the graph definition
          contains extra white space added into the @RRDPARAM@ part of
          the definition line and that these extra whitespaces
          correspond to the largest variable name length. It seems to me
          that the internal data structure is getting sized to the
          largest string length and then not reduced for subsequent
          smaller strings and it just pads the rest with whitespace. RRD
          then gets confused as it is looking for a variable named
          "variable1  ", while the rrd file actually contains a variable
          called "variable1".<br>
          <br>
        </div>
        <div>I would love to get the bug fixed as it is preventing some
          of my graphs working. Happy to also be told there is a better
          way to do this. I hope this makes sense. Happy to provide more
          info if required.<br>
          <br>
        </div>
      </div>
    </blockquote>
    This is not a bug, it is a feature. When making multi-graphs, and
    when using @RRDPARAM@ in de GPRINT-statement, the columns will
    neatly line up.<br>
    <br>
    The graph definition shows that you have a set RRD's, each
    containing a single DS with the same name as the file. Is it
    possible to give the DS a fixed name, for instance 'lambda'? If so,
    you can remove @RRDPARAM@ form the DEF-line.<br>
    <br>
    Regards,<br>
      Wim Nelis.<br>
  
<br>
<br>
<br>
<HR><font size=2 color="#00467F"><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>
</body>
</html>