Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
4 replies Latest Post - ‏2013-05-30T12:57:10Z by BruceSpencer
SteveHicks
SteveHicks
6 Posts
ACCEPTED ANSWER

Pinned topic Nmonweb and MAXDISK criteria

‏2013-05-16T10:39:24Z |

Hello all,

Does anyone know on which criteria disks are choosed following $MAXDISK parameter in nmonweb?

 

 

 

Updated on 2013-05-16T11:07:20Z at 2013-05-16T11:07:20Z by SteveHicks
  • SteveHicks
    SteveHicks
    6 Posts
    ACCEPTED ANSWER

    Re: Nmonweb and MAXDISK criteria

    ‏2013-05-28T12:01:26Z  in response to SteveHicks

     

    Hello,

    Is this question too stupid? :)

    nmonweb presents only details about the 25 disks (by default) which are the more active.. but how does it make it choice? more busy disks? more IOs? ..a combination?

     

    Thanks a lot!

     

     

    Updated on 2013-05-28T12:01:55Z at 2013-05-28T12:01:55Z by SteveHicks
  • BruceSpencer
    BruceSpencer
    297 Posts
    ACCEPTED ANSWER

    Re: Nmonweb and MAXDISK criteria

    ‏2013-05-28T13:37:02Z  in response to SteveHicks

    The comment in the nmon2web.pl script is incorrect.   It uses the first $MAXDISKs listed in the nmon.csv file.  It does not sort by activity.  For example, if MAXDISK=10, it would save "hdisk0,hdisk10,...,hdisk9" from the following output.

    DISKBUSY,Disk %Busy prd01,hdisk0,hdisk10,hdisk2,hdisk4,hdisk5,hdisk7,hdisk8,hdisk6,hdisk9,hdisk14,hdisk15,hdisk17,hdisk16,hdisk21,hdisk3,hdisk1
     

    PS I wrote this section 6+ years ago. As I recall, nmon ordered disks by activity (or may have excluded disks with no activity).  But that is no longer the case.  I'll change the description in the next release of nmon2web.pl script to reflect how it really works.

    • SteveHicks
      SteveHicks
      6 Posts
      ACCEPTED ANSWER

      Re: Nmonweb and MAXDISK criteria

      ‏2013-05-30T10:13:35Z  in response to BruceSpencer

      Hello Bruce,

      Thanks a lot for this quick -an very clear!- response

      This limits the interest to create/update disks nmonweb databases for configuration with more of MAXDISK disks..

       

       

      Updated on 2013-05-30T10:14:12Z at 2013-05-30T10:14:12Z by SteveHicks
      • BruceSpencer
        BruceSpencer
        297 Posts
        ACCEPTED ANSWER

        Re: Nmonweb and MAXDISK criteria

        ‏2013-05-30T12:57:10Z  in response to SteveHicks

        You can change MAXDISK to whatever size you need.  I added it to save disk space on my small B50 web server with a 9 GB drive.  :-) 

        The "cost" of increasing MAXDISK will be additional processing time for nmon2web.pl and extra disk space on your web server.  The rrdtool pre-allocates data files big enough to hold the ultimate data.  So the extra disk space could be 10's of GigaBytes per server, depending on the number of disks, sampling rate and retention time.