Hello all,
Does anyone know on which criteria disks are choosed following $MAXDISK parameter in nmonweb?
Hello all,
Does anyone know on which criteria disks are choosed following $MAXDISK parameter in nmonweb?
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!
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.
- BruceSpencer
- 2013-05-28T13:37:02Z
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.
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..
- SteveHicks
- 2013-05-30T10:13:35Z
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..
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.