<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <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>
  </body>
</html>