Hello Daniel, The comment in the script can probably help you to fix the problem ( it seem's necessary to tune the size of the table regarding the hardware configuration ) : ### Zero Sample Lists ### NOTE: Make sure each sample array has as many (device) sub-arrays as there are pcpmetrics being sampled ### NOTE: Sub-arrays are artificially sized at 4 disk devices...if you have more disk devices than 4, increase this size. lastSample = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]] currSample = [[0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]] Best regards. Christian.
----- Original Message ----- From: "Daniel Boone" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, May 25, 2007 10:58 AM Subject: [Ganglia-general] script for disk io not working > Hi > > I got the following error when I use the disk IO gmetric script > > Traceback (most recent call last): > File "./gmetric-disk.py", line 51, in <module> > currSample[x][deviceIndex] = int(result.group(2)) > IndexError: list assignment index out of range > > > Probably something changed in the versions of pcp > I'm using pcp 2.7.1-1-x64 > Somebody an idea? > > Thanks > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Ganglia-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-general > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

