<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div style="-webkit-text-size-adjust: auto; ">Hi</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">I think you are right, issue is my graph are created with data/trends without any column.</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">I hope Henrik will provide a patch to handle this case :)</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; ">I found a thread on ML where Henrik replied about the step:</div><div style="-webkit-text-size-adjust: auto; "><br></div><div style="-webkit-text-size-adjust: auto; "><span style="font-family: '.HelveticaNeueUI'; font-size: 15px; line-height: 19px; white-space: nowrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; "><a href="http://lists.xymon.com/archive/2011-November/033057.html">http://lists.xymon.com/archive/2011-November/033057.html</a></span></div><div style="-webkit-text-size-adjust: auto; "><span style="font-family: '.HelveticaNeueUI'; font-size: 15px; line-height: 19px; white-space: nowrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; "><br></span></div><div style="-webkit-text-size-adjust: auto; "><span style="font-family: '.HelveticaNeueUI'; font-size: 15px; line-height: 19px; white-space: nowrap; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); -webkit-text-size-adjust: none; "><br></span></div><div><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">
The default for RRD-files generated by Xymon is to get updates in 5 
minute intervals.

To fix this you should define the RRD in the "rrddefinitions.cfg" file 
and specify a different update interval. If you update it once every 15 
minutes = 900 seconds, then you can copy most of the default setup in 
that file, and just change the interval. Like this: 
</span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">[sfap/900] </span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto; background-color: rgba(255, 255, 255, 0);">RRA:AVERAGE:0.5:1:576 </span></font><span style="background-color: rgba(255, 255, 255, 0); white-space: normal; -webkit-text-size-adjust: auto; font-family: Helvetica; "> RRA:AVERAGE:0.5:6:576
         RRA:AVERAGE:0.5:24:576
         RRA:AVERAGE:0.5:288:576</span></pre><pre><span style="background-color: rgba(255, 255, 255, 0); white-space: normal; -webkit-text-size-adjust: auto; font-family: Helvetica; "><br></span></pre><pre><span style="background-color: rgba(255, 255, 255, 0); white-space: normal; -webkit-text-size-adjust: auto; font-family: Helvetica; ">So, it seems that the -s is replaced by [column/step] at the end.</span></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto;">Going to try with NCV method...</span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto;">Thanks again.</span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto;">Cheers</span></font></pre><pre><font face="Helvetica"><span style="white-space: normal; -webkit-text-size-adjust: auto;">Nico</span></font></pre></div><div style="-webkit-text-size-adjust: auto; "><br>Le 08/02/2013 à 15:55, Michael Beatty <<a href="mailto:Michael.Beatty@sherwin.com">Michael.Beatty@sherwin.com</a>> a écrit :<br><br></div><blockquote type="cite" style="-webkit-text-size-adjust: auto; "><div>
  
    <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
  
  
    <blockquote cite="mid:5115118E.6030503@sherwin.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
      <div class="moz-cite-prefix">From the rrddef.cfg comments:<br>
        <b># Each section key is the column- or data-name reported from
          your<br>
          # client test.</b> Typically this is "cpu", "memory", "tcp",
        or some<br>
        # custom test you have created.<br>
        <br>
        In your original script:<br>
        <div>
          <div>[ buda ext]# cat httpd_threads.sh </div>
          <div>#!/bin/bash</div>
          <div>THREADS_HTTP=`ps -ef | grep -c [h]ttpd`</div>
          <div><b>LINE="data $MACHINE.<font color="#ff0000">trends</font></b></div>
          <div>[httpd_threads.rrd]</div>
          <div>DS:threads:GAUGE:5:U:U $THREADS_HTTP"</div>
          <div>$BB $BBDISP "$LINE"</div>
          <div><br>
            <br>
            it appears that your  data name is "trends".  This is what
            xymon is trying to match in rrddef.cvf.  The key you should
            be using in rrddef.cfg. <br>
            <br>
            [trends]<br>
                -s 5
            <div>    RRA:AVERAGE:0.5:60:576</div>
            <div>    RRA:AVERAGE:0.5:360:576</div>
            <div>    RRA:AVERAGE:0.5:1440:576</div>
            <div>    RRA:AVERAGE:0.5:17280:576</div>
            <br>
            With that said, "trends" is already a column heading... I'm
            not sure that using it for your rrd key won't cause other
            problems in xymon.  Maybe change it to "httpd_threads"?<br>
          </div>
        </div>
        <br>
        If that doesn't work, try putting the -s in the default section
        "[]", and see if that works.  You shouldn't leave it there as it
        will set all future graphs to a 5 second step, but it works
        there, then you know your problem is with your data name and
        key.<br>
      </div>
    </blockquote>
  

</div></blockquote></body></html>