<html><body><DIV>How does xymon handle graphing file system utilization.  However it does that thwn I would think you could do same thing as hists have many different numbers of filesystems or drive letters in the windows world.</DIV><DIV><BR></DIV><DIV><BR></DIV><DIV><DIV style="font-size:75%;color:#575757">Sent from my Verizon Wireless 4G LTE Smartphone</DIV></DIV> <BR><BR><BR>-------- Original message --------<BR>From: David Baldwin <david.baldwin@ausport.gov.au> <BR>Date:  <BR>To: Neil Simmonds <Neil.Simmonds@express-gifts.co.uk> <BR>Cc: xymon@xymon.com <BR>Subject: Re: [Xymon] rrd graphs in Xymon <BR> <BR><BR>
  
    
  
  
    <DIV>Neil,<BR>
    </DIV>
    
      
      
      
        
          
            
            <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>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Hi all,</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><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.</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><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.</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><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.</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
            </DIV>
          
    <BR>
    
            <DIV>
              <P><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,</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk0 : 1</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk1 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk2 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk3 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk4 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk5 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk6 : </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk7 :</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk8 :</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial">Disk9 :</SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><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. </SPAN></FONT></P>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><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?</SPAN></FONT></P>
            </DIV>
          
    <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>
    
    <PRE><SPAN><!--DEVMON RRD: dperf 0 0
<SPAN></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></SPAN>C 0:124800:0:124767
<SPAN></SPAN>D 0:0:0:0
<SPAN></SPAN>Total 0:124774:0:124767
<SPAN></SPAN>HarddiskVolume1 0:0:0:0
<SPAN></SPAN>--></SPAN><SPAN>
<SPAN>

</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>
    data myhost.trends<BR>
      [dperf.C.rrd]<BR>
    DS:qlen:GAUGE:600:0:U 0<BR>
    DS:bps:GAUGE:600:0:U 124800<BR>
    DS:rbps:GAUGE:600:0:U 0 <BR>
    DS:wbps:GAUGE:600:0:U 124767<BR>
    <BR>
    [dperf.D.rrd]<BR>
    DS:qlen:GAUGE:600:0:U 0<BR>
    
      DS:bps:GAUGE:600:0:U 0<BR>
    
      DS:rbps:GAUGE:600:0:U 0 <BR>
    
      DS:wbps:GAUGE:600:0:U 0<BR>
    
    <BR>
    ...<BR>
    <BR>
    The graph definitions:<BR>
    <BR>
    [dperf]<BR>
            FNPATTERN dperf.(.+).rrd<BR>
            TITLE Disk Performance<BR>
            YAXIS Bytes / sec<BR>
            DEF:qlen@RRDIDX@=@RRDFN@:qlen:AVERAGE<BR>
            DEF:bps@RRDIDX@=@RRDFN@:bps:AVERAGE<BR>
            DEF:rbps@RRDIDX@=@RRDFN@:rbps:AVERAGE<BR>
            DEF:wbps@RRDIDX@=@RRDFN@:wbps:AVERAGE<BR>
            LINE2:qlen@RRDIDX@#@COLOR@:@RRDPARAM@<BR>
            GPRINT:qlen@RRDIDX@:LAST:QLen  \: %5.1lf (cur)<BR>
            GPRINT:qlen@RRDIDX@:MAX: \: %5.1lf (max)<BR>
            GPRINT:qlen@RRDIDX@:MIN: \: %5.1lf (min)<BR>
            GPRINT:qlen@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n<BR>
            LINE2:bps@RRDIDX@#@COLOR@:@RRDPARAM@<BR>
            GPRINT:bps@RRDIDX@:LAST:TotalBPS    \: %5.1lf (cur)<BR>
            GPRINT:bps@RRDIDX@:MAX: \: %5.1lf (max)<BR>
            GPRINT:bps@RRDIDX@:MIN: \: %5.1lf (min)<BR>
            GPRINT:bps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n<BR>
            LINE2:rbps@RRDIDX@#@COLOR@:@RRDPARAM@<BR>
            GPRINT:rbps@RRDIDX@:LAST:ReadBPS    \: %5.1lf (cur)<BR>
            GPRINT:rbps@RRDIDX@:MAX: \: %5.1lf (max)<BR>
            GPRINT:rbps@RRDIDX@:MIN: \: %5.1lf (min)<BR>
            GPRINT:rbps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n<BR>
            LINE2:wbps@RRDIDX@#@COLOR@:@RRDPARAM@<BR>
            GPRINT:wbps@RRDIDX@:LAST:WriteBPS    \: %5.1lf
      (cur)<BR>
            GPRINT:wbps@RRDIDX@:MAX: \: %5.1lf (max)<BR>
            GPRINT:wbps@RRDIDX@:MIN: \: %5.1lf (min)<BR>
            GPRINT:wbps@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n<BR>
    <BR>
    [dperfqlen]<BR>
            FNPATTERN dperf.(.+).rrd<BR>
            TITLE Disk Load<BR>
            YAXIS Queue Length<BR>
            DEF:qlen@RRDIDX@=@RRDFN@:qlen:AVERAGE<BR>
            LINE2:qlen@RRDIDX@#@COLOR@:@RRDPARAM@ Queue Length<BR>
            GPRINT:qlen@RRDIDX@:LAST: \: %5.1lf (cur)<BR>
            GPRINT:qlen@RRDIDX@:MAX: \: %5.1lf (max)<BR>
            GPRINT:qlen@RRDIDX@:MIN: \: %5.1lf (min)<BR>
            GPRINT:qlen@RRDIDX@:AVERAGE: \: %5.1lf (avg)\n<BR>
    <BR>
    
            <DIV>
              <P><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;
                    font-family:Arial"> </SPAN></FONT></P>
              <P><B><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;font-family:Arial;color:black;font-weight:bold">Regards,</SPAN></FONT></B></P>
              <P><FONT face="Times New Roman" size="3"><SPAN style="font-size:
                    12.0pt"> </SPAN></FONT></P>
              <P><B><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;font-family:Arial;color:navy;font-weight:bold">Neil
                      Simmonds</SPAN></FONT></B></P>
              <P><B><FONT 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>)</SPAN></SPAN></FONT></B><B><FONT face="Arial" size="2"><SPAN style="font-size:10.0pt;font-family:Arial;
                      color:gray;font-weight:bold"><BR>
                    </SPAN></FONT></B><B><FONT 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></P>
              <P><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;font-family:Calibri;color:black">Express
                    House</SPAN></FONT></P>
              <P><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;font-family:Calibri;color:black">Clayton</SPAN></FONT><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;font-family:Calibri;
                    color:black"> Business
                    Park</SPAN></FONT></P>
              <P><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;
                          font-family:Calibri;color:black">Accrington</SPAN></FONT></P>
              <P><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;
                          font-family:Calibri;color:black">Lancashire</SPAN></FONT></P>
              <P><FONT face="Calibri" size="1"><SPAN style="font-size:8.0pt;font-family:Calibri;color:black">BB5
5JY
                    <BR>
                    T: 01254 303092 | E:
                        <A href="mailto:neil.simmonds@Express-Gifts.co.uk">neil.simmonds@Express-Gifts.co.uk</A>
                      </SPAN></FONT></P>
              <P><FONT face="Times New Roman" size="3"><SPAN style="font-size:12.0pt"> </SPAN></FONT></P>
              <P><FONT face="Times New Roman" size="3"><SPAN style="font-size:
                    12.0pt"> </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><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><SPAN style="font-size:9.0pt">Express
                Gifts Limited is authorised and regulated by the
                Financial Services Authority</SPAN></P>
            <HR>
            <P><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</SPAN></P>
            <P><SPAN style="font-size:9.0pt"> </SPAN></P>
            <BR>
            
            <BR>
            <PRE>_______________________________________________
Xymon mailing list
<A href="mailto:Xymon@xymon.com">Xymon@xymon.com</A>
<A href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</A>
</PRE>
          
    <BR>
    <BR>
    <PRE>-- 
David Baldwin - Senior Systems Administrator (Datacentres + Networks)
Information and Communication Technology Services
Australian Sports Commission          <A href="http://ausport.gov.au">http://ausport.gov.au</A>
Tel 02 62147830 Fax 02 62141830       PO Box 176 Belconnen ACT 2616
<A 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>