<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Neil,<br>
    </div>
    <blockquote
cite="mid:1BF7D566CC4F514288455EF3C9B7CF830BE9A222@EXSVIRTUAL.express.findel.co.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 11 (filtered
        medium)">
      <o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PlaceType">
        <o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="PlaceName">
          <o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place">
            <!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
            <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Bookman Old Style";
        panose-1:2 5 6 4 5 5 5 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
            <div class="Section1">
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Hi all,<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">I’ve got an unusual issue at the
                    moment with Graphs.<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">I’ve written a script to collect
                    Average Disk Queue
                    Length from Windows servers and am looking to add a
                    graph.<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">I’ve configured the data as NCV
                    in Xymonserver.cfg and
                    I’ve created the graph definitions. Unfortunately
                    because I have
                    different number of disks on each server it’s not
                    working unless the
                    server has exactly the number of disks that I have
                    set up in the graph
                    definition.<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
            </div>
          </o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
    <blockquote
cite="mid:1BF7D566CC4F514288455EF3C9B7CF830BE9A222@EXSVIRTUAL.express.findel.co.uk"
      type="cite"><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PlaceType"><o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="PlaceName"><o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place">
            <div class="Section1">
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">At the moment the only 2 ways I
                    can think of to get around
                    this is to either have a different column name for
                    each server (which would be
                    very messy) or to change my script so that it will
                    output lines for 10 disks
                    even if it only has 1, so for example I would have
                    this,<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial" lang="DA">Disk0 : 1<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial" lang="DA">Disk1 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial" lang="DA">Disk2 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial" lang="DA">Disk3 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial" lang="DA">Disk4 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Disk5 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Disk6 : <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Disk7 :<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Disk8 :<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Disk9 :<o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Not as messy as the different
                    columns but still a bit
                    untidy. <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial">Does anyone know a way to define
                    a graph so that it will
                    still work even if it doesn’t find data in the rrd
                    file for one or more
                    of the DEF statements in the graph definition?<o:p></o:p></span></font></p>
            </div>
          </o:smarttagtype></o:smarttagtype></o:smarttagtype></blockquote>
    <br>
    Only general/practical way to do this is to have an RRD for each
    disk. I have done the same thing you are trying to do using devmon
    and SNMP-Informant which exposes WMI data through SNMP. Then you can
    choose to display 1 graph per disk or group a number together.<br>
    <br>
    devmon sends its data via the status message as below:<br>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <pre id="line1"><span class="comment"><!--DEVMON RRD: dperf 0 0
<span id="line80"></span>DS:qlen:GAUGE:600:0:U DS:bps:GAUGE:600:0:U DS:rbps:GAUGE:600:0:U DS:wbps:GAUGE:600:0:U
<span id="line81"></span>C 0:124800:0:124767
<span id="line82"></span>D 0:0:0:0
<span id="line83"></span>Total 0:124774:0:124767
<span id="line84"></span>HarddiskVolume1 0:0:0:0
<span id="line85"></span>--></span><span>
<span id="line86">

</span></span></pre>
    The same thing can be done with a data message to trends
    pseudo-column (good idea to also send a status message to create a
    page with current data values) which I have done with various
    Powershell monitoring scripts - note 1 block per disk, but the RRD
    definitions are repeated:<br>
    <br>
    <tt>data myhost.trends<br>
      [dperf.C.rrd]</tt><tt><br>
    </tt><tt>DS:qlen:GAUGE:600:0:U 0</tt><tt><br>
    </tt><tt>DS:bps:GAUGE:600:0:U 124800</tt><tt><br>
    </tt><tt>DS:rbps:GAUGE:600:0:U 0 </tt><tt><br>
    </tt><tt>DS:wbps:GAUGE:600:0:U 124767</tt><tt><br>
    </tt><tt><br>
    </tt><tt>[dperf.D.rrd]</tt><tt><br>
    </tt><tt>DS:qlen:GAUGE:600:0:U 0</tt><tt><br>
    </tt><tt>
      DS:bps:GAUGE:600:0:U 0</tt><tt><br>
    </tt><tt>
      DS:rbps:GAUGE:600:0:U 0 </tt><tt><br>
    </tt><tt>
      DS:wbps:GAUGE:600:0:U 0</tt><tt><br>
    </tt><tt>
    </tt><tt><br>
    </tt><tt>...</tt><br>
    <br>
    The graph definitions:<br>
    <br>
    <tt>[dperf]</tt><tt><br>
    </tt><tt>        FNPATTERN dperf.(.+).rrd</tt><tt><br>
    </tt><tt>        TITLE Disk Performance</tt><tt><br>
    </tt><tt>        YAXIS Bytes / sec</tt><tt><br>
    </tt><tt>        DEF:qlen@RRDIDX@=@RRDFN@:qlen:AVERAGE</tt><tt><br>
    </tt><tt>        DEF:bps@RRDIDX@=@RRDFN@:bps:AVERAGE</tt><tt><br>
    </tt><tt>        DEF:rbps@RRDIDX@=@RRDFN@:rbps:AVERAGE</tt><tt><br>
    </tt><tt>        DEF:wbps@RRDIDX@=@RRDFN@:wbps:AVERAGE</tt><tt><br>
    </tt><tt>        LINE2:qlen@RRDIDX@#@COLOR@:@RRDPARAM@</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:LAST:QLen  \: %5.1lf (cur)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:MAX: \: %5.1lf (max)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:MIN: \: %5.1lf (min)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n</tt><tt><br>
    </tt><tt>        LINE2:bps@RRDIDX@#@COLOR@:@RRDPARAM@</tt><tt><br>
    </tt><tt>        GPRINT:bps@RRDIDX@:LAST:TotalBPS    \: %5.1lf (cur)</tt><tt><br>
    </tt><tt>        GPRINT:bps@RRDIDX@:MAX: \: %5.1lf (max)</tt><tt><br>
    </tt><tt>        GPRINT:bps@RRDIDX@:MIN: \: %5.1lf (min)</tt><tt><br>
    </tt><tt>        GPRINT:bps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n</tt><tt><br>
    </tt><tt>        LINE2:rbps@RRDIDX@#@COLOR@:@RRDPARAM@</tt><tt><br>
    </tt><tt>        GPRINT:rbps@RRDIDX@:LAST:ReadBPS    \: %5.1lf (cur)</tt><tt><br>
    </tt><tt>        GPRINT:rbps@RRDIDX@:MAX: \: %5.1lf (max)</tt><tt><br>
    </tt><tt>        GPRINT:rbps@RRDIDX@:MIN: \: %5.1lf (min)</tt><tt><br>
    </tt><tt>        GPRINT:rbps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n</tt><tt><br>
    </tt><tt>        LINE2:wbps@RRDIDX@#@COLOR@:@RRDPARAM@</tt><tt><br>
    </tt><tt>        GPRINT:wbps@RRDIDX@:LAST:WriteBPS    \: %5.1lf
      (cur)</tt><tt><br>
    </tt><tt>        GPRINT:wbps@RRDIDX@:MAX: \: %5.1lf (max)</tt><tt><br>
    </tt><tt>        GPRINT:wbps@RRDIDX@:MIN: \: %5.1lf (min)</tt><tt><br>
    </tt><tt>        GPRINT:wbps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n</tt><tt><br>
    </tt><tt><br>
    </tt><tt>[dperfqlen]</tt><tt><br>
    </tt><tt>        FNPATTERN dperf.(.+).rrd</tt><tt><br>
    </tt><tt>        TITLE Disk Load</tt><tt><br>
    </tt><tt>        YAXIS Queue Length</tt><tt><br>
    </tt><tt>        DEF:qlen@RRDIDX@=@RRDFN@:qlen:AVERAGE</tt><tt><br>
    </tt><tt>        LINE2:qlen@RRDIDX@#@COLOR@:@RRDPARAM@ Queue Length</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:LAST: \: %5.1lf (cur)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:MAX: \: %5.1lf (max)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:MIN: \: %5.1lf (min)</tt><tt><br>
    </tt><tt>        GPRINT:qlen@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n</tt><tt><br>
    </tt><br>
    <blockquote
cite="mid:1BF7D566CC4F514288455EF3C9B7CF830BE9A222@EXSVIRTUAL.express.findel.co.uk"
      type="cite"><o:smarttagtype
        namespaceuri="urn:schemas-microsoft-com:office:smarttags"
        name="PlaceType"><o:smarttagtype
          namespaceuri="urn:schemas-microsoft-com:office:smarttags"
          name="PlaceName"><o:smarttagtype
            namespaceuri="urn:schemas-microsoft-com:office:smarttags"
            name="place">
            <div class="Section1">
              <p class="MsoNormal"><font face="Arial" size="2"><span
                    style="font-size:10.0pt;
                    font-family:Arial"><o:p> </o:p></span></font></p>
              <p class="MsoNormal"><b><font color="black" face="Arial"
                    size="2"><span
                      style="font-size:10.0pt;font-family:Arial;color:black;font-weight:bold">Regards,</span></font></b><o:p></o:p></p>
              <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                    style="font-size:
                    12.0pt"> <o:p></o:p></span></font></p>
              <p class="MsoNormal"><b><font color="navy" face="Arial"
                    size="2"><span
                      style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Neil
                      Simmonds</span></font></b><o:p></o:p></p>
              <p class="MsoNormal"><b><font color="gray" face="Calibri"
                    size="1"><span
                      style="font-size:8.0pt;font-family:Calibri;color:gray;font-weight:bold">Senior
Operations Analyst
                      (Operations Support Group<span class="grame">)</span></span></font></b><b><font
                    color="gray" face="Arial" size="2"><span
                      style="font-size:10.0pt;font-family:Arial;
                      color:gray;font-weight:bold"><br>
                    </span></font></b><b><font color="#cc9900"
                    face="Bookman Old Style" size="2"><span
                      style="font-size:10.0pt;font-family:"Bookman
                      Old Style";color:#CC9900;
                      font-weight:bold">Express Gifts Limited</span></font></b><o:p></o:p></p>
              <p class="MsoNormal"><font color="black" face="Calibri"
                  size="1"><span
                    style="font-size:8.0pt;font-family:Calibri;color:black">Express
                    House</span></font><o:p></o:p></p>
              <p class="MsoNormal"><u1:place style="BACKGROUND-IMAGE:
                  url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                  repeat-x; BACKGROUND-POSITION: left bottom"><u1:placename><st1:place><st1:placename><st1:place
                          w:st="on"><st1:placename w:st="on"><font
                              color="black" face="Calibri" size="1"><span
style="font-size:8.0pt;font-family:Calibri;color:black">Clayton</span></font></st1:placename></st1:place></st1:placename></st1:place></u1:placename></u1:place><font
                  color="black" face="Calibri" size="1"><span
                    style="font-size:8.0pt;font-family:Calibri;
                    color:black"> <u1:placename><st1:placename><st1:placename
                          w:st="on">Business</st1:placename></st1:placename></u1:placename>
                    <u1:placetype><st1:placetype><st1:placetype
                          w:st="on">Park</st1:placetype></st1:placetype></u1:placetype></span></font><o:p></o:p></p>
              <p class="MsoNormal"><u1:placetype><st1:placetype><st1:place></st1:place></st1:placetype></u1:placetype><st1:place><u1:place
                    style="BACKGROUND-IMAGE:
                    url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                    repeat-x; BACKGROUND-POSITION: left bottom"><st1:place
                      w:st="on"><font color="black" face="Calibri"
                        size="1"><span style="font-size:8.0pt;
                          font-family:Calibri;color:black">Accrington</span></font></st1:place></u1:place></st1:place><o:p></o:p></p>
              <p class="MsoNormal"><u1:place style="BACKGROUND-IMAGE:
                  url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                  repeat-x; BACKGROUND-POSITION: left bottom"><u1:placetype><st1:place></st1:place></u1:placetype></u1:place><st1:place><u1:place
                    style="BACKGROUND-IMAGE:
                    url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                    repeat-x; BACKGROUND-POSITION: left bottom"><st1:place
                      w:st="on"><font color="black" face="Calibri"
                        size="1"><span style="font-size:8.0pt;
                          font-family:Calibri;color:black">Lancashire</span></font></st1:place></u1:place></st1:place><o:p></o:p></p>
              <p class="MsoNormal"><font color="black" face="Calibri"
                  size="1"><span
                    style="font-size:8.0pt;font-family:Calibri;color:black"><u1:place
                      style="BACKGROUND-IMAGE:
                      url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                      repeat-x; BACKGROUND-POSITION: left bottom"><u1:placetype><st1:place></st1:place></u1:placetype></u1:place>BB5
5JY
                    <br>
                    T: 01254 303092 | <u1:place
                      style="BACKGROUND-IMAGE:
                      url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                      repeat-x; BACKGROUND-POSITION: left bottom"><u1:placename>E:
                        <a moz-do-not-send="true"
                          href="mailto:neil.simmonds@Express-Gifts.co.uk">neil.simmonds@Express-Gifts.co.uk</a>
                      </u1:placename></u1:place></span></font><o:p></o:p></p>
              <p class="MsoNormal"><u1:placetype><u1:place
                    style="BACKGROUND-IMAGE:
                    url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT:
                    repeat-x; BACKGROUND-POSITION: left bottom"><u1:placename></u1:placename></u1:place></u1:placetype><font
                  face="Times New Roman" size="3"><span
                    style="font-size:12.0pt"> <o:p></o:p></span></font></p>
              <p class="MsoNormal"><font face="Times New Roman" size="3"><span
                    style="font-size:
                    12.0pt"><o:p> </o:p></span></font></p>
            </div>
            <span
style="mso-ascii-font-family:Calibri;mso-hansi-font-family:Calibri;mso-bidi-font-family:Calibri;color:black"></span>
            <p class="MsoNormal"><span style="font-size:9.0pt">Name
                & Registered Office:
                EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE,
                ENGLAND, SK14 4TH, Company
                No. 00718151.</span></p>
            <p class="MsoNormal"
              style="border:none;mso-border-bottom-alt:solid windowtext
              1.5pt;
              padding:0cm;mso-padding-alt:0cm 0cm 1.0pt 0cm"><span
                style="font-size:9.0pt">Express
                Gifts Limited is authorised and regulated by the
                Financial Services Authority</span></p>
            <hr width="100%">
            <p class="MsoNormal"><span style="font-size:9.0pt">NOTE:
                This email and any
                information contained within or attached in a separate
                file is confidential and
                intended solely for the Individual to whom it is
                addressed. The information or
                data included is solely for the purpose indicated or
                previously agreed. Any
                information or data included with this e-mail remains
                the property of Findel
                PLC and the recipient will refrain from utilising the
                information for any
                purpose other than that indicated and upon request will
                destroy the information
                and remove it from their records. Any views or opinions
                presented are solely
                those of the author and do not necessarily represent
                those of Findel PLC. If
                you are not the intended recipient, be advised that you
                have received this
                email in error and that any use, dissemination,
                forwarding, printing, or
                copying of this email is strictly prohibited. No
                warranties or assurances are
                made in relation to the safety and content of this
                e-mail and any attachments.
                No liability is accepted for any consequences arising
                from it. Findel Plc
                reserves the right to monitor all e-mail communications
                through its internal
                and external networks. If you have received this email
                in error please notify
                our IT helpdesk on +44(0) 1254 303030<o:p></o:p></span></p>
            <p class="MsoNormal"><span style="font-size:9.0pt"><o:p> </o:p></span></p>
            <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>
          </o:smarttagtype></o:smarttagtype></o:smarttagtype></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 62147830 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>          Leverrier Street Bruce ACT 2617
</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>